Skip to content

test(claimant): make Slice 1 checks hermetic - #10612

Merged
dezren39 merged 1 commit into
mainfrom
aster/8742-hermetic-claimant
Nov 16, 2026
Merged

dezren39 merged 1 commit into
mainfrom
aster/8742-hermetic-claimant

Conversation

@dezren39

@dezren39 dezren39 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Fixes #8742. Refs #10332 (the latest disappearance remains unattributed).

Replace both legacy Slice 1 shell entry points and the Make test aliases with the offline unit runner. A disposable home and empty inherited environment isolate mode, logs and credential/config overrides before imports; process/socket attempts fail the test even if a test stub catches the exception. Both entry points reject arguments and offer no live mode. Production claimant and explicit operator commands are unchanged.

Verified on head 16c2c05f1cca9dbba83c10b373827e2940610b47: 113 claimant/poll tests; 4 black-box safety tests (operator home unchanged on pass and forced failure, strict arguments, forbidden process/socket attempts); shell syntax and diff check passed. The negative control used scratch HOME, fake interpreter and dummy files, never the live claimant or a real queue.


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

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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 marked this pull request as ready for review November 16, 2026 05:25
@dezren39
dezren39 requested a review from a team as a code owner November 16, 2026 05:25
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T05:25:26.438065Z
We couldn’t complete this review. Comment @codex review to try again.
16c2c05 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 4974e7a into main Nov 16, 2026
1 check failed
@dezren39
dezren39 deleted the aster/8742-hermetic-claimant branch November 16, 2026 05:26
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.

opencode-claimant tests can switch the real installation into live mode

2 participants