Skip to content

Bound OpenCode claimant discovery and record safe failure phases (#13112) - #13117

Merged
dezren39 merged 1 commit into
mainfrom
aster/claimant-discovery-budget-20261123
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
aster/claimant-discovery-budget-20261123

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Refs #13112 and #3026. This is a diagnostic and fail-closed discovery slice, not a launch recovery or closure of #13112.

  • Enforce the existing worst-case gate bound as one deadline and progressively cap the poller's individual wait budgets inside it.
  • Distinguish a timeout or incomplete required session, broker or ledger snapshot using allowlisted phase, category and elapsed time. Never write captured stdout/stderr or request data to the new diagnostics.
  • Treat capped or explicitly short broker pages, missing or wrongly shaped broker rows arrays, and recurring or truthy non-string session continuation cursors as incomplete. This does not validate every item or every terminal cursor shape. Leave task selection, cap, locks, cadence, broker routing and launch ordering unchanged. No new query concurrency or extra endpoint requests.

Validation: 7 new hermetic regressions passed; 10 existing disposable Unix-socket transport fixtures passed; git diff --check passed. Broad guarded runner: 222 passing cases, 2 pre-existing Git-subprocess-audit harness errors reproduced separately at the base commit. No live test, claim, dispatch or deployment. Existing poll latency may still exceed the gate deadline: use the new phase evidence to target that latency separately. #3321 is not changed.

Remote Fleet GitHub Actions run 45144582853 passed all 17 focused checks for the exact reviewed head. No production rollout is included.


Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6b275d43-e673-4360-a5ad-92dc77e74e6e
Commits

Reviewing files that changed from the base of the PR and between 1d2cfed and 2341fc5.

Files selected for processing: 4

  • pm-stack/opencode-claimant/claimant.py
  • pm-stack/opencode-claimant/poll.py
  • pm-stack/opencode-claimant/test_claimant.py
  • pm-stack/opencode-claimant/test_poll.py
  • 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

@dezren39
dezren39 force-pushed the aster/claimant-discovery-budget-20261123 branch from 6c90c31 to 2341fc5 Compare November 23, 2026 09:09
@dezren39
dezren39 marked this pull request as ready for review November 23, 2026 09:26
@dezren39
dezren39 merged commit 175de3c into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the aster/claimant-discovery-budget-20261123 branch November 23, 2026 09:26
@chatgpt-codex-connector

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-23T09:27:25.185982Z 2341fc5 Draft marked ready
ℹ️ 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.

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