Repository navigation
Conversation
…p ci] JSON null appliedFingerprint/appliedAt is treated as unset, matching appliedMarkers(). An still-invalid desktopProfile is salvaged by dropping that field only, so one bad Claude Desktop marker cannot replace the operator config with defaults. Closes #4430
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughChangesDesktop profile configuration salvage
Priority: ⚪ Not assessed Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Invalid desktop profile markers and profiles now preserve the operator configuration, while intentionally unsalvageable claudeCode values retain the documented fallback behavior. No merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 16.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 6 functions across 4 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d643ddf153
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| /** Optional nested fields that can be dropped whole without changing the rest of the document. */ | ||
| const SALVAGEABLE_OPTIONAL_FIELDS: ReadonlyArray<readonly [string, string]> = [ | ||
| ["claudeCode", "desktopProfile"], |
There was a problem hiding this comment.
Update every mapped structure owner
This changes both src/config.ts and src/claude/, but updates only structure/config.md; structure/INDEX.md also maps src/config.ts to overview.md, runtime.md, and providers/openai-tiers.md, and maps src/claude/ to runtime.md and clients/claude-desktop.md. Update those mapped documents—or correct the ownership map if they no longer apply—so the architecture SSOT does not remain stale.
AGENTS.md reference: structure/AGENTS.md:L49-L50
Useful? React with 👍 / 👎.
리뷰 · 우선순위 76 / 80설명
우선순위 76은 설정 wipe라는 최악 사용자 피해를 막고, 수정이 파서·salvage로 매우 좁기 때문이다. tip
심볼 #4430 / 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Lane I2 of the contributor carry train: two reported defects with no source branch. #4430 (samwang0041-star) — 2.52.0 treated claudeCode.desktopProfile.appliedFingerprint=null as fatal and replaced the whole configuration with defaults. Accepting null is the immediate fix; the landing also narrows the reset path so one invalid field cannot destroy a user's providers. #4435 (ren-min-wan-sui) — a second Kiro account disappeared shortly after a successful login, because a leftover CLI profile ARN collapsed it onto the first. Cross-platform CI run 34745142783 concluded success on 002d6c1, the exact head merged here, which already contains a merge of origin/dev. #4479 carries no ci check of its own; its head commit carries [skip ci] by design and this cumulative tip run covers its content, under the owner-authorized tip-only CI economy for this batch. No Co-authored-by trailer: both links are ordinary implementations with no contributor branch behind them, and the reporters are credited in the pull request descriptions.
|
Landed on dev as part of lane I2. Closing manually rather than by GitHub automation: this branch's content merged inside tip #4482 (merge commit 990cd8c), and commit 7d660e8 is a verified ancestor of origin/dev. The branch head then moved one commit ahead with a further merge of origin/dev, which is why GitHub did not close it automatically; that commit contributes nothing of its own. Tip-only CI record: owner-authorized for this batch; Cross-platform CI run 34745142783 concluded success on 002d6c1, the exact head merged; this pull request's own ci check never ran, its head commit carrying [skip ci] by design. |
Lane I2 of the contributor carry train: two reported defects with no source branch. lidge-jun#4430 (samwang0041-star) — 2.52.0 treated claudeCode.desktopProfile.appliedFingerprint=null as fatal and replaced the whole configuration with defaults. Accepting null is the immediate fix; the landing also narrows the reset path so one invalid field cannot destroy a user's providers. lidge-jun#4435 (ren-min-wan-sui) — a second Kiro account disappeared shortly after a successful login, because a leftover CLI profile ARN collapsed it onto the first. Cross-platform CI run 34745142783 concluded success on 3238428, the exact head merged here, which already contains a merge of origin/dev. lidge-jun#4479 carries no ci check of its own; its head commit carries [skip ci] by design and this cumulative tip run covers its content, under the owner-authorized tip-only CI economy for this batch. No Co-authored-by trailer: both links are ordinary implementations with no contributor branch behind them, and the reporters are credited in the pull request descriptions.
Summary
claudeCode.desktopProfile.appliedFingerprint: null(andappliedAt: null) as a document-level parse failure, backed up the operator config, and replaced it withgetDefaultConfig()— one openai provider, Codex proxy injection gone.parseDesktopProfilenow treats JSONnulland any other non-string applied marker as unset, matchingappliedMarkers().claudeCode.desktopProfilethe same way it already drops a single badroutingProfiles/combosentry, so a still-invalid Desktop profile cannot destroy providers. AclaudeCodevalue that is not an object still fails the whole document, because there is no safe subtree to keep.Verification
bun test tests/clients/desktop-profile.test.ts tests/config/config-load-degrade.test.tsbun test tests/server/config.test.ts -t "independent section|Claude Desktop"bun run typecheckbun run structure:checkbun run privacy:scan[skip ci].Checklist
Summary by CodeRabbit
Bug Fixes
Documentation