Skip to content

feat(dev-env-setup): v26 — cancel superseded PR CI runs + pin skill sources - #34

Open
mickzijdel wants to merge 2 commits into
mainfrom
claude/eloquent-lamport-f5413v
Open

mickzijdel wants to merge 2 commits into
mainfrom
claude/eloquent-lamport-f5413v

Conversation

@mickzijdel

Copy link
Copy Markdown
Owner

Summary

Two independent commit-digest finds from nateberkopec/dotfiles, bundled into one PR because this session's branch is fixed to one per repo:

  • feat(dev-env-setup): v26 (dev-hooks plugin, minor) — dotfiles commit 96b0b84 ("Cancel superseded pull request CI runs") adds a concurrency: block so a stale push's CI run is canceled once a newer push on the same PR starts, instead of both runs burning runner minutes to completion. Neither this repo's own ci.yml nor any of the standard's five CI templates had this. Added a top-level concurrency: block (grouped by workflow + PR number, cancel-in-progress gated to the pull_request event only — a push to main is never canceled mid-run) to all five CI templates and to this repo's ci.yml, wired a matching has_ci_concurrency checker signal, bumped DEV_ENV_VERSION to 26 across the templates and this repo, and added the v25 → v26 upgrade-guide section plus test coverage.
  • fix(thinking-tools) (thinking-tools plugin, patch) — dotfiles PR #689 ("Remove code simplifier and pin skill upstream sources") switched Nate's adapted-skill source: front matter from tree/main links to blob/<sha> links, since main is a moving target. codebase-design, domain-modeling, and grill (merged from three of Nate's skills) had the same tree/main gap — pinned all four source links to mattpocock/skills' current HEAD commit.

Test plan

  • uv run pytest -q — 747 passed
  • bash plugins/dev-hooks/skills/dev-env-setup/scripts/dev_env_check.sh . reports status=compliant at v26 for this repo
  • YAML-validated every edited workflow/template file
  • bash -n on the edited checker script

🤖 Generated with Claude Code

https://claude.ai/code/session_016UwqgnJbX8hVF5RmRppVSr


Generated by Claude Code

commit-digest: nateberkopec/dotfiles PR #689 ("Remove code simplifier and
pin skill upstream sources") switched his adapted-skill front matter from
tree/main links to blob/<sha> links, since main is a moving target and a
"source" citation should point at the exact content it was adapted from.
dev-hooks has the same gap in codebase-design, domain-modeling, and grill
(itself merged from three of Nate's skills) — pin all four source links to
mattpocock/skills' current HEAD commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016UwqgnJbX8hVF5RmRppVSr
commit-digest: nateberkopec/dotfiles commit 96b0b84 ("Cancel superseded
pull request CI runs") added a concurrency block to his workflows so a
stale push's CI doesn't keep running once a newer push on the same PR has
started. Neither dev-hooks' own CI nor any of the standard's five CI
templates had this — every push to an open PR queued a full run to
completion even when a follow-up push had already superseded it.

Add a top-level `concurrency:` block (grouped by workflow + PR number,
cancel-in-progress gated to the pull_request event only, so a push to main
is never canceled mid-run) to all five CI templates and to this repo's own
ci.yml. Wire a matching `has_ci_concurrency` checker signal, bump
DEV_ENV_VERSION to 26 across the templates and this repo, and add the
v25 -> v26 upgrade-guide section plus test coverage (template content,
checker compliant/needs-upgrade cases).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016UwqgnJbX8hVF5RmRppVSr
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