Skip to content

fix(native-chat): repair main after the Codex async question move - #42835

Merged
brennanb2025 merged 2 commits into
mainfrom
brennanb2025/fix-codex-async-question-import
Nov 16, 2026
Merged

brennanb2025 merged 2 commits into
mainfrom
brennanb2025/fix-codex-async-question-import

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Problem

main fails CI after #42459 merged on top of #42620:

Change

  • Import from the moved path.
  • Fold the early attention return in projectStructuredAgentSessionStatus into its existing ternary. The logic is unchanged.

Verification

pnpm check:changed passed 26/27. The one failure was structured-session-cli-login-shell.test.ts, with store.listRecords is not a function in the shared bun runner. That test passes when run alone and doesn't touch either changed file.

Files Added Deleted Net
Test 0 0 0 0
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​7 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1

#42459 imported codex-async-question-input from its pre-#42620 path, which
breaks the orcad template build on main.
#42459's awaitsAnswer field took structured-agent-session-projection.ts to
301 lines; fold the attention early return into the status ternary.
@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The journal status-items module now imports CODEX_ASYNC_QUESTION_TOOL from the native-chat questions input module. The structured agent-session projection expresses status selection as a return expression. Pending prompts produce attention; otherwise, owed work produces working, or no owed work produces idle.

Merge Risk: Minimal · up to 93476

This change repairs a broken import path and keeps a status projection function within the lint limit without altering its behavior. It is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the native-chat area and the repair of main after the Codex async question module move. The changeset does exactly that: it updates the moved import in journal-sql-status-items.ts and …
Description check Passed The description follows the template's main problem-and-change structure. It explains the broken CI on main, the moved import path, the lint-limit fix in the status projection, and the verification ru…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the native-chat area and the repair of main after the Codex async question module move. The changeset does exactly that: it updates the moved import in journal-sql-status-items.ts and folds the attention early return in the status projection into a ternary. The title is conventional and specific, so it passes.

Full details: Description check

Explanation

The description follows the template's main problem-and-change structure. It explains the broken CI on main, the moved import path, the lint-limit fix in the status projection, and the verification run with its one unrelated failure. It omits several template sections: ELI5, Linked Issue (Fixes #), Visual Proof (or N/A with reason), Risk level and backout plan, and the Testing checklist. The Problem, Change, and Verification content covers the core intent, so the check passes with these gaps noted.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cb1706f2-bf4e-4f58-810e-800c237881a2
Commits

Reviewing files that changed from the base of the PR and between 15cbd71 and 9347639.

Files selected for processing: 2

  • src/main/native-chat/agent-session-journal/journal-sql-status-items.ts
  • src/shared/agent-session/view/structured-agent-session-projection.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

@brennanb2025
brennanb2025 merged commit 8152e7f into main Nov 16, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant