Skip to content

test(lifecycle): J08/J09 follow #4005 (Claude instructions converge on AGENTS.md) - #4915

Merged
Daniel Meppiel (danielmeppiel) merged 2 commits into
mainfrom
ql/w2b-nightly-j08-j09
Nov 23, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 2 commits into
mainfrom
ql/w2b-nightly-j08-j09

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

The nightly Lifecycle Journeys run on main fails J08 and J09 step 3 on Linux, Windows and macOS (run 45068563849). Since #4005, a Claude ** instruction routes to AGENTS.md through compile, so apm install no longer writes .claude/rules/live.md. Both journeys still expect that file and the old cleaned-path counts.

This is W4's journey car f32346b, already folded into corpus train 6 (#4814), split out so the nightly goes green before the stacked train lands. The change is identical, so the later #4814 merge is clean. YAML only:

  • J08 step 3 no longer expects .claude/rules/live.md, cleans 3 paths and prints the compile hint.
  • J09 step 3 cleans 1 path.

Issue and approved scope

Issue: Refs #4549 (nightly lifecycle journeys)

Human scope-approval comment: QL lane on #4549 (nightly lifecycle journeys); the fix was verified by W4's scratch dispatch 45071701934 (J08 and J09 PASSED on ubuntu, windows and macos).

Does not close #4549: the issue closes when a scheduled nightly is green.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

CI only (host rule 17(g)). Scratch dispatch 45071701934 passed J08 and J09 on all three OS.

Changelog

  • One fragment per section, changelog.d/<pr>.<section>.md, holding
    one line: user-visible effect first, 25 words or fewer, ending with
    (#PR); breaking changes only under upgrade notes; no Highlights; no
    new lines under ## [Unreleased]. See changelog.d/README.md and
    .github/instructions/changelog.instructions.md.
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • Spec edit: docs/src/content/docs/specs/openapm-v0.1.md updated
    (new/changed <a id="req-XXX"></a> anchor + prose + Appendix C
    row).
  • Manifest edit: docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.yml
    updated.
  • Test edit: a @pytest.mark.req("req-XXX") test under
    tests/spec_conformance/ added or extended.
  • CONFORMANCE.{md,json} regenerated via
    uv run --extra dev python -m tests.spec_conformance.gen_statement
    and committed.
  • N/A -- this PR does not change OpenAPM-observable behaviour.

…n AGENTS.md)

#4005 stopped deploying .claude/rules/<name>.md, so prune and a dropped
claude target no longer clean it: J08 step 3 cleans 3 paths and prints
the compile hint, J09 step 3 cleans 1. Nightly dispatch 45068563849 (main
76be7b6) failed both journeys on all three OSes at step 3.

Co-authored-by: Copilot App <[email protected]>
(cherry picked from commit f32346b)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the lifecycle test expectation updates.

No open issues 🎉

What changed in this PR

Updates lifecycle journeys J08 and J09 to match #4005, which routes always-on Claude instructions through compilation to AGENTS.md rather than .claude/rules/. This corrects stale test expectations without changing production behavior.

Changes:

  • Removes .claude/rules/live.md from both journeys' expected changed-file lists.
  • Adjusts stale-path cleanup counts to reflect the new layout.
  • Adds J08's expected post-uninstall compile hint.
File Description
tests/​lifecycle/​journeys/​consumer/​J09-switch-harness.yaml Updates harness-switch file expectations and cleanup count to one path.
tests/​lifecycle/​journeys/​consumer/​J08-uninstall-cleanup.yaml Updates uninstall file expectations, cleanup count to three paths, and compile hint.

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the lifecycle journey expectation updates.

No open issues 🎉

Review effort: Balanced

@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 499ce6a into main Nov 23, 2026
49 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the ql/w2b-nightly-j08-j09 branch November 23, 2026 06:56
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.

[ci] Nightly lifecycle journeys are failing

2 participants