Repository navigation
Tooling tests: fold fork-kit/golive/tests/switch.test.py - #1523
Merged
Merged
Conversation
The Round2 class is gone. Its tests move into the behaviour classes they belong to (Switch verify, Refusals, WayBack, Guard). Two that repeat other cases are deleted: the tamper-fails-at-once test (its time check joins the WayBack tamper case) and the boot-journal test (every guard case reads it). The two "guard cannot tell the boot" cases become one table. Round-history comments are dropped; git keeps that history. Part of #1493 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Part of #1493 (part 3:
fork-kit/golive/tests/switch.test.py). Nothing else of #1493 is in this PR.What changed
Round2class is gone and its entry leaves.github/fork-test-names.json. Its tests move into the classes for their behaviour: verify-record checks intoSwitch, the unreadable boot id intoRefusals, restage, stage and downgrade-environment cases intoWayBack, and the killed-W1 and reboot cases intoGuard.WayBacktamper case already covered it. Its check that verify fails at once (MIN_LIMIT 60, under 30 s on the real clock) moved into that case.facts['boot'] = bootremoved fromswitch.py, 7 of the 23Guardtests fail.reboot,no boot in the journal). Planted bug: with the boot check in_w1_needs_ownerforced to pass, both rows fail.Fork #422 round 2 (state minor 3),#557 lens A/B). Git keeps that history..github/fork-ci-tests.txtchanged from~109sto~105s.Before / after (same machine, one run each)
The machine was busy, so the run-time difference is close to noise.
Checks run
python3 fork-kit/golive/tests/switch.test.py: 108 OK before, 105 OK after.vpis not on this machine, sovp run check:changeddid not run. This PR changes Python only, no TypeScript.General vs project
General: these are the fork's own golive kit tests. Nothing project-specific.
🤖 Generated with Claude Code