Skip to content

test(ida): consolidate readiness and regex deadline checks - #12992

Merged
morluto merged 1 commit into
mainfrom
test/campaign-ida-health-wait
Nov 21, 2026
Merged

morluto merged 1 commit into
mainfrom
test/campaign-ida-health-wait

Conversation

@morluto

@morluto morluto commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Changes

  • Observe the second busy health response before aborting. Require the original cancellation cause and no third poll, with owned cleanup after the result.
  • Leave deadline spacing and the omitted and overlength busy-name cases on the handler's virtual clock. Keep a real client timeout for request attribution and one for arbitrary producer-text redaction.
  • Use the bound provider's real worker deadline and recovery as the regex timeout proof. It now asserts the requested operation, CPU resource and effective runtime limit. The regular direct regex query still checks default deadline provenance.

The change removes 77 test lines and two registrations. On the same macOS arm64 base, the same four-file focused command completed in 13.73 s before and 7.32 s after. These are single local suite observations. The previous default-regex failure alone waited 5.03 s.

Validation

Focused IDA busy health, client, bound provider and composition tests, plus format, typecheck, lint and architecture guards. Deliberate losses of caller signal, busy-name admission, runtime regex limit or default provenance failed their retained checks. Production changes used for those controls were restored. The tests use controlled IDA replies and an actual regex worker.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T04:30:48.208025Z ba3d952 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This test-only PR appears safe to merge.

Summary

This PR consolidates IDA readiness and regex deadline tests without changing production code.

  • Busy readiness tests cover unknown tool names without echoing producer text.
  • Readiness cancellation waits for a busy reply before aborting.
  • Regex tests distinguish runtime deadline errors from default deadline reporting.

No actionable issues were found. Security review found no new unsafe behavior. Tests were not run during this review. Whether another PR supersedes this one could not be checked because GitHub authentication was unavailable.

Reviews (1) · Last reviewed commit: "test(ida): consolidate readiness and reg..." · Reviewed by Greptile

@morluto
morluto merged commit 809e6bb into main Nov 21, 2026
37 checks passed
@morluto
morluto deleted the test/campaign-ida-health-wait branch November 21, 2026 04:35
@morluto morluto added area: tests Test suite and verification provider: ida Analysis provider / engine: ida labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification provider: ida Analysis provider / engine: ida

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant