Repository navigation
Fix non-exhaustive HostEffect match in fleet_converge_cli converge knob count - #6625
Merged
Merged
Conversation
gunbai-bot
Bot
force-pushed
the
session/sunny-bear-113-fix
branch
from
July 14, 2026 19:49
03388c7 to
aa7203c
Compare
This was referenced Jul 14, 2026
Contributor
Response to APPROVE (38049, claude-opus-4-7)Verdict acknowledged — no fix commit. PR operator-merged @ Verified on merged
No further action — duplicates #6633/#6634 should be closed if still open. Merge readiness (re-evaluated)
Stopping — operator merged manually. — sent from nimble-boar-198 |
Contributor
Response to APPROVE (38050, composer-2.5)Verdict acknowledged — no fix commit. PR operator-merged @ Verified on merged
Pairs with APPROVE 38049 (claude-opus-4-7) — both verified, no further commits. Merge readiness (re-evaluated)
Stopping — operator merged manually. Obsolete dupes #6633 / #6634 should close. — sent from nimble-boar-198 |
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Jul 14, 2026
…ous kind-path check Two independent floor reds, both blocking the queue, fixed together per operator request (single PR): 1. Batch-1 compile-clean (non-exhaustive match): #6587 added the Srv3InstallDiagnosticObserve and OsInstallActuatorToolchainEnsure HostEffect variants but did not update converge_cli_applied_knob_count (dag/gunbc/fleet_converge_cli.dag). Its explicit-arm match (no wildcard — #6604's fail-closed design) correctly rejected them at compile-clean. Add both arms => fallback, consistent with all non-ConvergePlan siblings; the match now covers all 18 HostEffect variants. (SetHostnameCas already landed on main via #6625.) 2. Batch-2 roster witness (ci_floor_optin_roster_witnesses): witness_entry_kind_path_agree demanded ExecutionWitnessKind entries live under src/v2/test/claim/execution/, colliding with the operator's 5s-rule (>5s witnesses live under long/), where the Gate-1 keystones correctly live. The check is vacuous (DESIGN §5 second-representation): scheduling partitions by w.kind (entry_kind_is_execution), discovery is dir-gated, and witness_kind_wins_over_path already pins kind as authoritative. Delete the cluster (execution_corpus_scope_prefix + the two agreement fns) and its two live consumers (witness_live_roster_kind_path_agree, witness_projected_ci_entries_kind_stamped). Verified by execution: whole-tree compile-clean 0 diagnostics; ci_floor_optin_roster_witnesses, commit_workflow_span_kind_witnesses, commit_workflow_witnesses all green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
briansrls
added a commit
that referenced
this pull request
Jul 14, 2026
…ous kind-path check (#6633) Two independent floor reds, both blocking the queue, fixed together per operator request (single PR): 1. Batch-1 compile-clean (non-exhaustive match): #6587 added the Srv3InstallDiagnosticObserve and OsInstallActuatorToolchainEnsure HostEffect variants but did not update converge_cli_applied_knob_count (dag/gunbc/fleet_converge_cli.dag). Its explicit-arm match (no wildcard — #6604's fail-closed design) correctly rejected them at compile-clean. Add both arms => fallback, consistent with all non-ConvergePlan siblings; the match now covers all 18 HostEffect variants. (SetHostnameCas already landed on main via #6625.) 2. Batch-2 roster witness (ci_floor_optin_roster_witnesses): witness_entry_kind_path_agree demanded ExecutionWitnessKind entries live under src/v2/test/claim/execution/, colliding with the operator's 5s-rule (>5s witnesses live under long/), where the Gate-1 keystones correctly live. The check is vacuous (DESIGN §5 second-representation): scheduling partitions by w.kind (entry_kind_is_execution), discovery is dir-gated, and witness_kind_wins_over_path already pins kind as authoritative. Delete the cluster (execution_corpus_scope_prefix + the two agreement fns) and its two live consumers (witness_live_roster_kind_path_agree, witness_projected_ci_entries_kind_stamped). Verified by execution: whole-tree compile-clean 0 diagnostics; ci_floor_optin_roster_witnesses, commit_workflow_span_kind_witnesses, commit_workflow_witnesses all green. Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
briansrls
added a commit
that referenced
this pull request
Jul 14, 2026
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
converge_cli_applied_knob_countmatches onintent.effect(HostEffect). After #6586 added twelve Srv3/DurableApproval variants and #6619 addedSetHostnameCas, the wildcard-only arm from #6604 compiled but hid future variant growth. This replaces_ => fallbackwith explicit arms for every non-ConvergePlanvariant so compile-clean fails closed whenHostEffectgrows again.Test plan
gunbc compile --source-root dag/gunbc --source-root dag --source-root src/v2 --dependency-pool-index primary-precedence --target dag— 0 diagnosticsgunbc run --source-root dag --source-root src/v2 --entry dag/test/claim/fleet_converge_cli_witness_test.dag --function fleet_converge_cli_witness_holds --claim-run—true