Repository navigation
ci: pin the libcvc-deps action instead of tracking its master - #176
Merged
Merged
Conversation
fetch-libcvc-deps delegated to transfix/libcvc-deps/.github/actions/cvcpkg-install@master — the only `uses:` in this repo pointing at another repository, and it tracked a branch. Every libcvc-deps commit was therefore live in libcvc CI the moment it merged, unreviewed, and an old libcvc commit could not be re-run against the action it originally used. That went wrong on 2026-08-05. libcvc-deps merged an in-tree PEP 517 backend (its #448) to master at 06:16:53Z. The action's sparse checkout did not list the pep517-backend/ directory the new backend-path names, so `pip install ./_libcvc-deps` died before any C++ compiled: BackendUnavailable: Cannot find module 'cvcpkg_build_backend' in ['.../_libcvc-deps/pep517-backend'] Every package-* job on every open libcvc PR failed for the next 37 minutes, until libcvc-deps #462 added the directory at 06:53:34Z. The window is visible in this repo's own runs: #171 at 05:00Z passed, #173 at 06:25Z failed, #175 after the upstream fix passed again. No libcvc change was involved in any of it. Pin to a full-length SHA, which is what GitHub recommends for actions outside the repo and what makes a run reproducible. c5091347 is libcvc-deps master as of 07:15:32Z and contains #462. A tag would read better but is not usable yet: the newest libcvc-deps tag (cvcpkg-v2.0.0) predates the fix. All six lanes — linux, macOS, windows, and release — funnel through this one action, so the single pin covers them. Behaviour is unchanged today: the pinned SHA is what @master currently resolves to.
transfix
added a commit
that referenced
this pull request
Nov 16, 2026
…point scrubber, and a Pages demo (#1258) * cvc::nav arms: policies side by side, the Stats and Ledger, the run log and its replay Several navigation policies run side by side in cvc::nav, one sim_world each, on the same world from the same starts to the same goals, stepped in lockstep (arms_run). A retarget moves every arm's goals on the same tick and starts a leg. Each tick records, per arm and agent, the pose, size, drive telemetry, the books against U_nav (dU, drive, projection, context, dKE, residual) and the plant ledger, and per arm the wall time and the Stats row, into cvc::nav's run log (cvc.nav.run_log/v1, JSON lines, read back value for value). The Stats and Ledger windows are a shipped component (nav_lab_panels.ari), written from a run log at a tick by nav_panels (the live run at its last tick, a replay at its play head, so the cells are the same). pycvc binds the arms, the run log, the replay view and the plant ledger's items; pycvc_gl.nav_lab runs arms live and replays a run log; cvc nav log prints one. The behaviour is GRL-SNAM's live --arms and replay (CVC-Lab/GRL-SNAM#175, #176). docs/NAV_LAB.md. * run_log: a JSON-quoting helper named quoted() is ambiguous with std::quoted under libc++ (cherry picked from commit 74856dffb86aa26653eef739f6077dd60352bc31) * nav lab: a component file per unit named after it; finish() closes the streamed run log The shipped-component check (AriadneComponents.ShippedComponentsLoadClean) wants each file in src/cvc/ariadne/components to hold a unit named after it: nav_lab_panels.ari is now nav_lab_stats.ari (the Stats window) and nav_lab_ledger.ari (the Ledger), each in INDEX.ari, and the documents import both. arms_run::finish() now closes the file it streams the log to, so the log is whole and free to read, move or remove at once: Windows refused to remove it while the run still held it (NavArms.TheLogReadsBackValueForValue). * nav_arms_test: a fused multiply-add leaves dKE a last bit off zero on arm64; compare near * cvc::nav's checkpoint scrubber: every checkpoint of a training run deployed, k beside step 0 (#1259) * cvc::nav's checkpoint scrubber: every checkpoint of a training run deployed, k beside step 0 Watch a policy learn. read_training_history() reads a training history (cvc::nav's own coef_trainer history, cvc.nav.coef_train_history/v1, or GRL-SNAM's: JSON lines whose checkpoint records name a .cvcnav blob), and scrub() deploys every checkpoint on one scenario, headless, as a one-arm arms_run: the built-in blocks (a walled square of city blocks) or a recorded input trace's world. Each run is a run log cached at <history>.scrub/<blob sha16>-<scenario hash>.cvcrun, the hash covering the world, agents, settings, ticks and the versions. scrub_view shows checkpoint k beside step 0: the deployed metric against the step with step 0 dashed, the table, a curve from the history, and both runs' Stats and Ledger at the play head (three more units in nav_lab_panels.ari). cvc nav scrub HIST prints every checkpoint's metrics and writes a cvc.nav.scrub/v1 report; pycvc binds the scrubber, and pycvc_gl.nav_lab scrub draws it. One blob deployed twice is the same run, and checkpoint 0 deployed is the untrained policy's arm (nav_scrub_test). The behaviour is GRL-SNAM's ariadne scrub (CVC-Lab/GRL-SNAM#181). * nav_scrub_test: each test trains in a directory of its own (ctest runs them in parallel processes) * nav_scrub: the checkpoint scrubber in libcvc's demo gallery, training and deploying in the page (#1260) * nav_scrub: the checkpoint scrubber in libcvc's demo gallery, training and deploying in the page examples/ariadne/nav_scrub is a C++ Ariadne host for cvc::nav's scrubber. With no --history it trains cvc::nav's own coef_trainer for 60 steps on the built-in blocks' own map (in its frame, occupancy_scene), a checkpoint every 6, deploys every checkpoint there and shows nav_scrub.ari (the nav_lab_panels component's windows, written by cvc::nav::scrub_view), drawing the walls and the two runs' ghosts. It joins the gallery's _wasm_demos with its document and the component library preloaded, so in the browser the training, the deploys and the view run in the page: the same numbers as natively (under 3 s there). demos.json and deploy-pages.yml's live check list it. * nav_scrub: import the split nav lab components
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.
The outage is already over — this is the durable part
The
cvcpkg_build_backendfailure was fixed upstream before I started: libcvc-deps #462 landed at 06:53:34Z. Nothing in libcvc needed changing to recover, and #175's Linux jobs went green on their own. So this PR is not that fix; it is the part that stops the next one.What happened, precisely
fetch-libcvc-depsdelegated totransfix/libcvc-deps/.github/actions/cvcpkg-install@master— the onlyuses:in this repo pointing at another repository, and it tracked a branch.f8798acwires in an in-tree PEP 517 backend — on a branch, not master2607db6(its PR #448), putting the backend on master99bb1d7(#462) addspep517-backendto the sparse checkoutThe action sparse-checks-out libcvc-deps and listed only the paths needed to run cvcpkg, not to build it. The new
backend-path = pep517-backendmade that directory a build requirement, sopip install ./_libcvc-depsdied before any C++ compiled. A 37-minute window in which every open libcvc PR was red, caused entirely by a merge in another repo.I confirmed the branch-vs-master detail rather than assuming it —
f8798acis not an ancestor of0f60c22(05:33Z) but is of2607db6(06:16:53Z). That is what reconciles "#171 passed at 05:00Z" with "the backend landed at 01:56Z".The change
Pin to a full-length commit SHA. That is GitHub's recommendation for actions outside the repo, and it is what makes a libcvc run reproducible — re-running an old commit resolves the action it originally used, instead of whatever the other repo's master says today.
c5091347c596fcf09c697bc74c585370fce08ad9is libcvc-deps master as of 07:15:32Z and contains #462. Verified before pinning: the action at that SHA does listpep517-backendin its sparse checkout, and the SHA is onorigin/master.Behaviour is unchanged today — the pinned SHA is exactly what
@mastercurrently resolves to. All six lanes (linux, macOS, windows, release) funnel through this one action, so the single pin covers them.A tag would read better, but is not usable yet: the newest libcvc-deps tag is
cvcpkg-v2.0.0, which predates the fix. The comment says to prefer a tag once that series catches up.Bonus: the "workflow file may be broken" mystery
gh run rerun 30981321408 --failedreports:The workflow file is fine. The run is
status=queued, conclusion=null— not terminal — because its twopackage-macosjobs are still queued waiting for a macOS runner that never arrives. GitHub only re-runs completed runs; the CLI's message for a non-terminal run is just misleading.That is the same failure mode
publish-cvcpkg.ymlalready documents for the retiredmacos-13lane ("The run then never reaches a terminal state"). Worth knowing: while macOS is unschedulable, no affected run can be re-run, so a transient failure in any other lane is unrecoverable without pushing a new commit.Not addressed here
queued, across four different branches with per-ref concurrency groups (so they are not blocking each other). Only two self-hosted runners are registered, both CUDA —package-macosismacos-latest, GitHub-hosted. That points at account capacity or an Actions spending limit, which I cannot see or fix from here.uses:refs (actions/checkout@v4/@v5,Jimver/[email protected],softprops/action-gh-release@v2,codecov/codecov-action@v4) still track mutable major tags. Pinning those is the same argument for supply-chain reasons, but they did not cause this and it is a larger, separate sweep.