Repository navigation
test(journeys): stable index of the 25 lifecycle journeys - #4152
Merged
Daniel Meppiel (danielmeppiel) merged 7 commits intoNov 20, 2026
Merged
Conversation
…ema test (#4110) tests/lifecycle/journeys/index.yaml transcribes the steward's journey model: oracles O1-O13, normalizers N1-N7 and 25 journeys with literal commands, argv for plain apm steps, exit expectations, key and forbidden lines, files and oracles. Docs paths are verified against docs/src/content/docs; moved pages are remapped and missing pages kept in docs_unresolved. tests/quality/test_journey_index.py pins the schema and runs in the ratchet job. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 08:51
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved findings allow malformed command arguments, make the approved consumer-only rollout fail CI, leave audit commands non-executable, and omit .gitignore from the commit required to produce a clean working tree.
4 open issues
What changed in this PR
This PR adds a stable catalogue of 25 lifecycle journeys for future journey-runner and release-acceptance tooling, supporting the test infrastructure work linked to #4110.
Changes:
- Defines consumer, producer, and enterprise journeys with commands, expected outcomes, oracles, and documentation references.
- Adds schema checks and mutation tests, plus a consistency check for future persona journey files.
- Includes the schema tests in CI's ratchet job and adds a changelog entry.
| File | Description |
|---|---|
tests/quality/test_journey_index.py |
Validates catalogue structure, identifiers, documentation paths, and persona-file consistency. |
tests/lifecycle/journeys/index.yaml |
Defines all 25 journeys, 13 oracles, and seven normalizers. |
CHANGELOG.md |
Records the new journey catalogue as an internal change. |
.github/workflows/ci.yml |
Adds the catalogue schema tests to the ratchet job. |
Review effort: Balanced
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
…field names key_lines/forbidden_lines/kind/argv from tests/lifecycle/journeys/index.yaml (#4152) normalize to the same record as devx-journeys.json. Co-authored-by: Copilot App <[email protected]>
5 of 10 tasks
…pages (#4110) Map each catalogue source page to the current page under docs/src/content/docs/ that documents the step (.md and .mdx). Only producer/releasing-from-any-ci.md has no page today and stays in docs_unresolved. A dedicated test requires every docs path on disk. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…y argv, persona-scoped completeness, stage .gitignore Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-journey-index
branch
November 20, 2026 11:41
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
This PR adds
tests/lifecycle/journeys/index.yaml, the stable catalogue of all 25 lifecycle journeys, transcribed from the steward's journey model. It also addstests/quality/test_journey_index.py, which pins the index's schema. The release-acceptance skill and the journey runner read this index.Schema.
schema_version: 1,oracles(O1-O13:name,invariant,check,applies),normalizers(N1-N7) andjourneys.id,persona,title,golden,tier,docs,fixturesandsteps.n,cmd(literal),argv(only whencmdis nothing but plainapminvocations),kind(apm|shell|edit|manual),exit(an int, or a string when conditional),key_lines(must print),forbidden_lines(must not print),filesandoracles.Docs paths. These were verified against
docs/src/content/docs/.integrations/ci-cd.md->consumer/run-in-ci.mdx;producer/versioning-strategies.md->producer/release-a-version.md;.md->.mdxrenames.docs_unresolved, and that journey getsdocs_missing: true.docs.Test.
^(J0[1-9]|J1[0-5]|P0[1-4]|E0[1-6])$.invariantfield covers, as the model does (for exampleI3).kindandargvrules; the index is ASCII only;oraclesis exactly O1-O13 andnormalizersexactly N1-N7.tests/lifecycle/journeys/{consumer,producer,enterprise}/*.yaml: same ids and step counts. It is skipped, with a stated reason, while no persona files exist. Once they exist it requires all 25.Issue and approved scope
Issue: Part of #4110
Human scope-approval comment: #4110 (comment)
Remaining work for #4110: the per-persona journey files, goldens, the journey runner and the regen tool.
Type of change
Testing
id: J01toJ16in the index;uv run --extra dev pytest -q tests/quality/test_journey_index.pybad journey id 'J16'-k mutateduv run --extra dev pytest -q tests/quality/test_journey_index.pyuv run --extra dev pytest -q tests/quality/test_ci_topology.py -k ratchetsrc/change)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)
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.