Skip to content

bump-a2ui5: commit the prose --fix rewrites, and gate that it does - #273

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/peaceful-hopper-cylhj7
Oct 14, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/peaceful-hopper-cylhj7

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Why the bump left AGENTS.md behind

bump-a2ui5.yaml does run node scripts/check-pins.mjs --fix after moving the pin, and the script does rewrite the pin citation in AGENTS.md. The next step, peter-evans/create-pull-request, then commits only the paths in add-paths: A2UI5_PIN, abaplint.jsonc and .github/abaplint, none of the prose files. So the corrected AGENTS.md was thrown away. The bump to f9dc871a (#270) moved the pin but left AGENTS.md citing 2dd43637, and check_pins turned red on main as soon as it merged. #272 fixed the cell by hand.

The fix

  • bump-a2ui5.yaml: add-paths now lists the nine PROSE files that check-pins.mjs --fix can rewrite. A comment explains why they are there.
  • check-pins.mjs, new policy 7: every PROSE file that exists must appear in the bump workflow's add-paths. On the old workflow it reports all nine missing files; on this one it passes. The two lists are now kept in sync by the gate, so a file added to PROSE later cannot be dropped silently again.
  • tooling.test.mjs: a test for policy 7. The chore: bump the pinned abap2UI5 framework commit #270 shape fails, and listing the file makes it pass.

Checks

  • npm test: 64/64
  • node scripts/check-pins.mjs: ok (bump add-paths cover the 9 prose file(s) --fix can write)
  • The workflow YAML parses, and add-paths reads back as the 12 expected paths.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QYMKjK1h4aPzf4w4E7RCZW


Generated by Claude Code

The resolve step runs `check-pins.mjs --fix`, which rewrites the pin
citation in the prose files. create-pull-request then commits only the
paths in `add-paths` - A2UI5_PIN and the abaplint configs, none of the
prose - so the rewrite was thrown away. The bump to f9dc871a (#270) moved
the pin, left AGENTS.md citing 2dd43637, and turned check_pins red on main
the moment it merged (#272 fixed the cell by hand).

- bump-a2ui5.yaml: add-paths lists the nine PROSE files of
  check-pins.mjs, with a comment saying why they are there.
- check-pins.mjs policy 7: every PROSE file that exists must be in the
  bump's add-paths. On the old workflow it reports all nine; on this one
  it passes. The two lists are one list now, held together by the gate,
  so a file added to PROSE later cannot be silently dropped again.
- tooling.test.mjs: a case for policy 7 - the #270 shape fails, the
  listed file passes.

npm test: 64/64. node scripts/check-pins.mjs: ok.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QYMKjK1h4aPzf4w4E7RCZW
@oblomov-dev
oblomov-dev merged commit 73879a1 into main Oct 14, 2026
22 checks passed
@oblomov-dev
oblomov-dev deleted the claude/peaceful-hopper-cylhj7 branch October 14, 2026 13:42
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.

2 participants