Skip to content

emit_host shell-exec witness: match Optional from first() instead of comparing to a string - #13619

Merged
briansrls merged 1 commit into
mainfrom
swift-bat-828/optional-cmp-fix
Oct 9, 2026
Merged

briansrls merged 1 commit into
mainfrom
swift-bat-828/optional-cmp-fix

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Fixes the floor refusal currently failing merge groups (runs 37882164000, 37882176272). In src/v2/test/claim/execution/emit_host_shell_exec_run_equals_eval_test.dag, shell_exec_run_eval_expected_octet compared skip(n).first(), which is an Optional<String>, directly with "bash" and "-s". The code is already on main; a merge group fails whenever its floor subject reaches this module.

This is the same correction #13549 carries for this function: match Present/Absent, where Absent is false. It's extracted into a one-file PR so the queue isn't held behind #13549's 43 files. It also adds import std.optional { Present, Absent }.

Not run locally: gunbc refuses to run on the remote builder without a cgroup memory limit. This PR's floor compiles the touched module, and that run is the verification.

🤖 Generated with Claude Code

… of comparing it to a string

shell_exec_run_eval_expected_octet compared skip(n).first(), an Optional<String>,
directly with "bash" and "-s". The type checker rejects that, and the refusal
is failing every merge group whose floor subject reaches this module (e.g. runs
37882164000, 37882176272). Same correction as the one inside #13549, extracted
so the queue isn't held behind that 43-file PR.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@gunbai-bot
gunbai-bot Bot added this pull request to the merge queue Oct 9, 2026
@briansrls
briansrls removed this pull request from the merge queue due to a manual request Oct 9, 2026
@briansrls
briansrls merged commit d0f2067 into main Oct 9, 2026
6 checks passed
@briansrls
briansrls deleted the swift-bat-828/optional-cmp-fix branch October 9, 2026 15:08
@gunbai-bot gunbai-bot Bot mentioned this pull request Oct 10, 2026
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