Skip to content

osc: record the host build's commit in run metadata - #305

Merged
aq1018 merged 1 commit into
mainfrom
osc-host-sha
Oct 6, 2026
Merged

aq1018 merged 1 commit into
mainfrom
osc-host-sha

Conversation

@aq1018

@aq1018 aq1018 commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Run-directory meta.json recorded git_sha from the current working directory, so a bench run from the bringup repo stored that repo's HEAD. A build script now embeds the osc crate's own commit (OSC_HOST_GIT_SHA, "unknown" outside a checkout) and meta.json, the capture pilot envelope and the lut build source string record it as host_git_sha; the old git_sha key is dropped (nothing read it) and envelope.toml still accepts it on load. Test: a_verify_run_leaves_its_recording checks the key against the build constant; toml_round_trips loads an old envelope.

https://claude.ai/code/session_016NV5eybqhfjQPnesWHUCRs

@aq1018
aq1018 merged commit f030411 into main Oct 6, 2026
9 checks passed
@aq1018
aq1018 deleted the osc-host-sha branch October 6, 2026 21:57
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