Skip to content

test(ida): consolidate worker release and retry checks - #12993

Merged
morluto merged 2 commits into
mainfrom
test/campaign-ida-release-retry
Nov 21, 2026
Merged

morluto merged 2 commits into
mainfrom
test/campaign-ida-release-retry

Conversation

@morluto

@morluto morluto commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Consolidate supervisor cleanup checks around the first release attempt and a successful retry. A failed close must keep the owned worker and workspace. Both an acknowledged close and a matching absent-session reply must trigger independent inventory verification, keep the workspace if that read fails, and avoid repeating the close.
  • Combine Hex-Rays lost-open-reply setup while preserving the difference between releasing an observed late lease and retaining an unresolved startup. Move unrelated-database checks into the unleased-inventory workflows. Each keeps a neighboring path with the same prefix in inventory after the private blocker disappears.
  • Preserve the independent foreign GUI, mismatched session identity, live peer, detached stdio and one-shot CLI checks.

The change removes 86 net test lines and six registrations. It changes no production code.

Validation

160 focused tests passed on macOS arm64, including the detached-stdio retry and packaged CLI exit. Format, typecheck, lint and architecture guards passed. The retained tests rejected six controlled regressions covering a duplicate close, assumed release after failed inventory, incorrect absent-session identity, dropped peer diagnostics, early release after unverified startup and lexical prefix matching. The production files were restored before final verification.

CI caught two stale registration titles in the lifecycle coverage inventory. The coverage check reproduced both failures locally. The catalog now points cleanup at the consolidated ownership-and-retry test and retry at the existing detached-stdio boundary. The lifecycle catalog, both changed adapter suites and the detached boundary passed together after the repair (114 tests), along with format, typecheck, lint and architecture guards.

The provider replies were controlled, including in the real stdio and packaged CLI tests. Real IDA and Windows were not exercised locally.

Author readiness

Human owner: @morluto

@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:41:58.530625Z fea56a5 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] The PR appears safe to merge; no blocking issues were found.

Summary

Consolidates IDA worker cleanup tests without changing production code.

  • Headless IDA tests group worker-release and inventory retries.
  • Hex-Rays tests group lost-open replies and nearby database paths.

Reviews (2) · Last reviewed commit: "test(ida): point lifecycle coverage at r..." · Reviewed by Greptile

@morluto
morluto enabled auto-merge (squash) November 21, 2026 04:43
@morluto
morluto disabled auto-merge November 21, 2026 04:44
@morluto
morluto enabled auto-merge (squash) November 21, 2026 04:48
@morluto
morluto merged commit 4df6b37 into main Nov 21, 2026
37 of 38 checks passed
@morluto
morluto deleted the test/campaign-ida-release-retry branch November 21, 2026 04:49
@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