Repository navigation
Conversation
A turn that finishes with nobody reading never asks Codex for a next prompt, and showing the chat again only registers the reader. Co-authored-by: Cursor <[email protected]>
TypeScript rejects a direct Map cast to CodexSession because the test double only has the fields the sampler reads. Co-authored-by: Cursor <[email protected]>
A second show of the same remembered turn must not sample again, and a newer turn/started must drop a sample already in flight. Co-authored-by: Cursor <[email protected]>
queueMicrotask does not accept Promise's resolve callback under the node tsconfig. Co-authored-by: Cursor <[email protected]>
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd6249c155
ℹ️ 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".
| expect(request).toHaveBeenCalledTimes(1) | ||
| await vi.waitFor(() => expect(setPromptSuggestion).toHaveBeenCalledTimes(1)) | ||
| predictions.interestChanged(SESSION_ID, true) | ||
| expect(request).toHaveBeenCalledTimes(1) |
There was a problem hiding this comment.
Replace mock-only prediction tests with permitted validation
The new tests exclusively assert calls to the mocked connection and event sink, including this case whose only expectations are spy invocation counts. The root AGENTS.md explicitly prohibits tests of mock calls, and its linked test guidance also excludes assertions solely against mock-supplied values. Although state-machine invariants can justify tests, these cases still use the prohibited assertion pattern. Replace the mock-only coverage with runtime verification, or retain an allowed invariant test that checks a meaningful real outcome.
AGENTS.md reference: AGENTS.md:L13-L13
Useful? React with 👍 / 👎.
|
Unit full succeeded for cd6249c: https://github.com/bbingz/orca/actions/runs/46243197967. Closing this verification PR. The result is noted on stablyai#52380. |
CI verification for upstream stablyai#52380 at
cd6249c155b85b4b810dc118ab35d2ae1269951c.Performance
None; fork CI verification run.