feat: baseline.ref = "pr", a switch judged on and off in the PR's own build #95
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!95
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:feat/switch-baseline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
A PR whose change sits behind a runtime switch it adds doesn't need main at all. The fair test is the PR's own build with the switch on against the same build with it off. That isolates the switch, and nothing of main changes in between.
Note on what it saves: the PR is never built from scratch. It's a pack built over main's base (
dev_packs.py base, thenpack), so a base is needed either way.What changed
[baseline] ref = "pr". Both sides run the PR's build, the PR side with[matrix.pr_only]'s switches and the baseline side without. A switch that defaults on is tested off withRX_VK_X = ["0"].matrix = false(both sides would be the same),[timing](it times main's build), orschema< 6.Planand the coordinator'splan.pycheck alike, cross-checked by a good fixture and four refusals.bad-schema.tomlmoves to 7.JobPipeline):ref = "pr", when this PC's base (Workspace.BaseCommitOf) is the job's base or an ancestor of the PR head, it's reused with no main build. Its build record says so.RuntimeAsync(..., withPrPack: true),LayoutOf(..., withPrPack)), in its own folder, so neither side starts warmer.baseline_ref("main"or"pr"), checked by the coordinator.RX_…) and off; main is not built or run".[baseline], schema 6) and report-schema.md (baseline_ref).Tests
baseline_refvalidation.