Repository navigation
ci(lifecycle): the dispatched-ref lifecycle workflow uses no shared cache - #4531
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 20, 2026
Conversation
…ache Every job checks out the dispatched ref, so no job restores or saves a uv or npm cache that a default-branch run would later restore. A CI topology contract pins it. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 22:38
Daniel Meppiel (danielmeppiel)
merged commit Nov 20, 2026
4cf4a8e
into
train/0.37-final-2
3 checks passed
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-s29-journeys-no-shared-cache
branch
November 20, 2026 23:08
This was referenced Nov 21, 2026
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.
Description
lifecycle-journeys.ymlchecks out the dispatchedrefinput in every job. This change stops those jobs from restoring or saving a shared cache (setup-uvenable-cache: false, and the npm cache step for the pinned Codex CLI is removed), so code from a dispatched ref never writes a cache that a default-branch run later restores. A CI topology contract (test_dispatched_ref_lifecycle_workflow_uses_no_shared_cache) pins it. The dispatch input, job names, the pinned Codex install and the signal job are unchanged.Issue and approved scope
Issue: Refs #4092
Human scope-approval comment: approved by the 0.37 steward and program PM (release-train hardening item).
Does this PR complete the issue, or what remains? It adds one CI hardening item under the 0.37 trust and integrity umbrella; the umbrella stays open.
Type of change
Testing
pytest -p no:xdist tests/quality/test_ci_topology.py -k "dispatched_ref or codex or cache_full_matrix"(through the host guard): 3 passed.ruff check/ruff format --check(ruff 0.15.12) on the changed test file: clean. Full suite runs in CI.Changelog
## [Unreleased]inCHANGELOG.md:user-visible effect first, 25 words or fewer, ending with
(#PR);breaking changes only under upgrade notes; no Highlights; see
.github/instructions/changelog.instructions.md.Spec conformance (OpenAPM v0.1)
If this PR changes behaviour that an OpenAPM v0.1
req-XXXcovers,confirm the three-step ritual in the
development guide:
docs/src/content/docs/specs/openapm-v0.1.mdupdated(new/changed
<a id="req-XXX"></a>anchor + prose + Appendix Crow).
docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.ymlupdated.
@pytest.mark.req("req-XXX")test undertests/spec_conformance/added or extended.CONFORMANCE.{md,json}regenerated viauv run --extra dev python -m tests.spec_conformance.gen_statementand committed.