Repository navigation
[TS PBT] Run direct campaign controls from the existing CLI - #545
Open
CaelmBleidd wants to merge 1 commit into
Open
CaelmBleidd wants to merge 1 commit into
CaelmBleidd wants to merge 1 commit into
Conversation
This was referenced Oct 16, 2026
CaelmBleidd
force-pushed
the
caelmbleidd/pbt-campaign-cli
branch
from
October 16, 2026 16:47
0e32fa6 to
57897a2
Compare
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.
Expose the existing original-property campaign runner through
usvm-ts-fast-check --mode PBT_ONLY|SYMBOLIC_ONLY|SEQUENTIAL --artifact <file.json>. One selected property and source root produce one UTF-16-safePropertyCampaignArtifactsnapshot, printed to stdout and saved to the requested file; the campaign is executed once.The opt-in path reuses the existing seed, replay, explicit examples, run count, coverage options, total timeout and validation reserve. Exit code 1 preserves a confirmed violation even if later work reaches its deadline or fails; healthy completed controls return 0, and incomplete or unsupported outcomes return 2. A file write failure also returns 2 after retaining the actual result on stdout. Existing commands without
--modekeep their previous execution path and output.Stacked on #542 (
caelmbleidd/pbt-campaign-artifact). Refs #354; this exposes the current direct controls and does not claim to complete the broader experiment task. The artifact schema is unchanged, and process/service loading and artifact persistence remain outside the runner's recorded campaign execution timing.Validation:
:usvm-ts-fast-check:installDistpassed; the installed distribution ran all three modes in separate Java processes with exit 0, and stdout exactly matched each saved artifact.detektMainanddetektTestpassed with zero code smells (ignoreFailures=false).These are local checks; GitHub CI remains a separate check.