fix(ci): repair managed worktree follow-up gates#100793
Conversation
64a9b07 to
b2ae6ec
Compare
This comment has been minimized.
This comment has been minimized.
e3ba9ba to
cbcfc62
Compare
cbcfc62 to
3a05124
Compare
|
@vincentkoc please stop rebasing or force-pushing this branch for now. The pushes at 09:58 and 10:02 UTC rewrote the same two commits and reset exact-head CI each time; this shared baseline repair is currently blocking four independent landing lanes. The current |
3a05124 to
8666549
Compare
|
acknowledged. The final rewrite at 10:05 UTC was required because #100805 merged the full Android locale commit, so I dropped that now-duplicate commit instead of carrying conflicts forward. The current exact head |
|
/review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Codex review: needs maintainer review before merge. Reviewed July 6, 2026, 6:17 AM ET / 10:17 UTC. Summary PR surface: Source +2. Total +2 across 1 file. Reproducibility: yes. from source inspection rather than local execution: current main imports the two type-only symbols but re-exports only the schemas, leaving the explicit public barrel inconsistent. The PR body and live CI also report the relevant prod-type and lint gates passing after the fix. Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land the focused type-export repair through the maintainer merge gate after required exact-head checks complete. Do we have a high-confidence way to reproduce the issue? Yes, from source inspection rather than local execution: current main imports the two type-only symbols but re-exports only the schemas, leaving the explicit public barrel inconsistent. The PR body and live CI also report the relevant prod-type and lint gates passing after the fix. Is this the best way to solve the issue? Yes, this is the best fix: the existing schemas and generated type aliases already exist, so adding the missing type exports beside their schemas is the narrowest maintainable repair. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 738654d20c7e. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +2. Total +2 across 1 file. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Merged via squash.
|
Follow-up to #100788.
What Problem This Solves
The managed-session-worktree merge left
SessionWorktreeInfoandSessionsCreateResultimported but not exported from the gateway protocol barrel, breaking production typechecking and lint onmain. Its Android action also added the English resource without the required matching key in all 21 locale resource files. The new documentation heading initially left the generated docs map stale; current main now contains that generated refresh.Why This Change Was Made
Export the two existing public result types beside their schemas, matching the barrel's established type/schema pairs. Add
new_chat_in_worktreeto every Android locale, reusing the matching reviewed Control UI translation where available and the Swedish equivalent for the remaining locale.User Impact
Restores green production type/lint/Android-i18n gates, makes the new
sessions.createworktree result types available from the public gateway-protocol entrypoint, and prevents the new Android action from falling out of locale resource alignment.Evidence
main:SessionWorktreeInfoandSessionsCreateResultfail both tsgo and oxlint as unused imports.node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json packages/gateway-protocol/src/index.ts— passed.node scripts/generate-docs-map.mjs --check— passed after canonical regeneration; the generated line subsequently landed on current main.node --import tsx scripts/android-app-i18n.ts check— all 26 keys aligned across all 21 locales.tbx_01kwvd238bg50e8jdpnr01xttq(run):pnpm test test/scripts/android-app-i18n.test.ts— 2 tests passed.node --import tsx scripts/native-app-i18n.ts check— inventory unchanged and current.oxfmt --checkandgit diff --check— passed.