Repository navigation
chore: release 1.3.1 - #1164
Merged
Merged
chore: release 1.3.1#1164
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
…leaks Pin two migrate_root_gitignore defects observed live on the sync-issues-action 1.3.0 deploy (vig-os/sync-issues-action#106, PR #108): a scaffold-committed .envrc entry migrated into .gitignore.project shadows the committed file and breaks direnv onboarding, and lines from a NON-detected language fragment (old Python template junk on a Node repo) migrate as if consumer-authored. Refs: #1145
…e lines migrate_root_gitignore (#1111) had two defects, observed live on the sync-issues-action 1.3.0 deploy (vig-os/sync-issues-action#106, PR #108): 1. It migrated entries that shadow scaffold-COMMITTED files: the old Python-template .gitignore shipped .envrc, and since .gitignore.project is appended to the regenerated root .gitignore (#1092), the migrated entry kept the scaffolded .envrc (#640) untracked and broke direnv onboarding on every clone. A never-migrate denylist of scaffold-committed file names (.envrc, .gitignore.project, flake.nix, flake.lock, justfile, justfile.project, .vig-os) now guards these; literal file names, so a plain literal line match suffices. 2. It treated stale devkit language-template lines as consumer-authored: the managed set covered only the DETECTED languages' fragments, so a repo that switched language templates inherited ~90 lines of cross-language junk in its consumer-owned file. The managed set is now built from ALL gitignore.d fragments — any line found in any devkit fragment is template material, never migrated. Order, dedup, idempotency, and append-only behavior are unchanged. Refs: #1145
…e lines (#1146) ## Summary The #1111 gitignore migration (`migrate_root_gitignore()` in `assets/init-workspace.sh`) copied consumer lines from the old root `.gitignore` into `.gitignore.project` with two defects, both observed live on the sync-issues-action 1.3.0 deploy (field report: vig-os/sync-issues-action#106, PR vig-os/sync-issues-action#108): 1. **It migrated entries that shadow scaffold-COMMITTED files.** The old Python-template `.gitignore` shipped `.envrc`; in direnv mode `.envrc` is scaffold-committed for nix-direnv onboarding (#640). Because `.gitignore.project` is appended to the regenerated root `.gitignore` (#1092), the migrated entry silently kept the scaffolded `.envrc` untracked and broke direnv onboarding on every clone. 2. **It migrated stale devkit language-template junk as if consumer-authored.** The `managed` set was built from the template base plus the DETECTED languages' fragments only, so a repo that switched language templates (old Python-flavored managed `.gitignore`, now a Node repo) got ~90 lines of `__pycache__/`/`.tox/`-style template material dumped into its consumer-owned file. ## Fix (two never-migrate rules) - **Rule 1 — scaffold-committed denylist:** entries whose pattern equals a file the scaffold itself commits never migrate: `.envrc`, `.gitignore.project`, `flake.nix`, `flake.lock`, `justfile`, `justfile.project`, `.vig-os`. These are literal file names, not glob patterns, so a plain literal line match suffices (commented in the code). - **Rule 2 — filter against ALL fragments:** the `managed` set now iterates every `gitignore.d/*.gitignore` fragment instead of only the detected languages'. The OLD root `.gitignore` was a devkit-managed template for whatever language set applied back then, so any line found in ANY devkit fragment is template material, never consumer-authored. Order, dedup, idempotency, and append-only behavior are unchanged; the function's header comment documents both rules. ## Test evidence (strict TDD) - RED: two new bats tests (`tests/bats/init-workspace.bats`, #1145 section) failed on the pre-fix code exactly at the leak assertions (`.envrc` and `__pycache__/` found in `.gitignore.project`), committed first. - GREEN: both #1145 tests pass post-fix; `.envrc` also verified untracked via `git check-ignore`. - No regression: the full `tests/bats/init-workspace.bats` file passes — 208/208 tests, including all #1111 / #1092 / #1117 gitignore tests. - `prek run --all-files`: all hooks green. ## Notes Closes #1145 Note: `Closes #N` does not auto-close on dev-targeted merges in this repo (main-only) — close #1145 manually on merge. Refs: #1145
## Description `render_codeql_matrix()` (`assets/init-workspace.sh`) rewrites the CodeQL `language:` matrix per detected language (#1025) but left the push-to-main trigger's `paths:` filter hardcoded to `**.py`. On a Node consumer, a push touching only TS/JS therefore never fired the post-merge CodeQL scan — only the unfiltered PR trigger caught it. And because `codeql.yml` is a managed file, consumer hand-fixes (e.g. commit-action's `**.ts` patch, vig-os/commit-action#67) were silently reverted on every devkit upgrade. ## Type of Change - [x] `fix` -- Bug fix ## Changes Made - Extend `render_codeql_matrix()` to build the push `paths:` list from the same language detection it already uses for the matrix: - python → `'**.py'` - node → `'**.ts'`, `'**.js'`, `'**.mjs'`, `'**.cjs'` - rust → no source globs (CodeQL ships no Rust analyzer) - the `'.github/workflows/**'` catch-all is always kept - marker-less repos get a workflows-only filter - Rewrite the `paths:` block with `awk` (the item count varies per language, so a single `sed` line-replace can't do it); the language matrix render is unchanged. - Regression bats tests for node / python / rust / marker-less consumers. ## Changelog Entry ### Fixed - **Render CodeQL push `paths:` filter per detected language** ([#1142](#1142)) - full entry in `CHANGELOG.md` under `## Unreleased`. ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details - `bats tests/bats/init-workspace.bats` → 212/212 pass (4 new #1142 tests + the existing #1025 matrix tests). - Scaffolded a throwaway Node consumer and confirmed the rendered `on.push.paths` block lists `**.ts`/`**.js`/`**.mjs`/`**.cjs` + `.github/workflows/**` with clean YAML indentation. - `shellcheck -x assets/init-workspace.sh` clean; full `prek run --all-files` green. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective - [x] New and existing unit tests pass locally with my changes ## Additional Notes Found during the sync-issues-action deploy recon — affects every JS-action consumer (commit-action today, sync-issues-action next). With this merged, deploys no longer need to re-patch `codeql.yml` by hand after each scaffold sync. Closes #1142 Refs: #1142
Grant the extension caller job in the scaffolded release.yml a documented GITHUB_TOKEN ceiling (packages/id-token/attestations write) so write-scoped extensions — provenance attestation, GHCR publish — work through the seam. A called reusable workflow can only downgrade the caller's token; with no caller grant the seam was capped read-only. Ceiling, not grant: the default no-op stays read-only and consumers opt in per job. Refs: #1144
## Description The scaffolded `release.yml` calls the consumer-owned `release-extension.yml` seam, but its `extension` caller job declared **no** `permissions:` block, so the called reusable workflow ran under the caller's workflow-level default (`contents: read, packages: read`). A called reusable workflow can only *downgrade* the caller's `GITHUB_TOKEN` — never elevate it — so any write-scoped extension step was silently denied: - `actions/attest-build-provenance` (needs `id-token: write` + `attestations: write`) — the flow that surfaced this during the sync-issues-action adoption (vig-os/sync-issues-action#106). - Even the **GHCR-publish example the docs already ship** (needs `packages: write`) — blocked by the same read-only ceiling. ## Type of Change - [x] `feat` -- New feature ## Changes Made Option A from the issue — raise the ceiling and document it: - **`assets/workspace/.github/workflows/release.yml`** — the `extension` caller job now declares a documented token **ceiling**: `contents: read`, `packages: write`, `id-token: write`, `attestations: write`. - **`assets/workspace/.github/workflows/release-extension.yml`** (seeded/consumer-owned) — header note explaining the ceiling and the per-job opt-in; the default no-op stays `contents: read`. - **`docs/DOWNSTREAM_RELEASE.md`** — new "Permission ceiling" subsection (scope table + deny-by-default explanation + when to use a consumer-owned tag-push workflow instead). **Ceiling, not grant.** It's the *maximum* the seam can reach; the shipped default no-op is read-only and deny-by-default is preserved — a consumer opts a job in by declaring the scopes it needs (up to the ceiling), e.g. a `actions/attest-build-provenance` job sets `permissions: { id-token: write, attestations: write }`. Scopes beyond the ceiling (e.g. `contents: write` to push a branch) still belong in a consumer-owned tag-push workflow — documented. Scope note: this is scaffold-only. Devkit's own `release.yml` is a bespoke upstream pipeline and does not use the `release-extension.yml` seam, so there's no dogfooding copy to change. ## Changelog Entry ### Changed - **Release extension seam gains a documented token ceiling** ([#1144](#1144)) - full entry in `CHANGELOG.md` under `## Unreleased`. ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details - New `tests/test_workflow_release_extension.py` (TDD, RED→GREEN): asserts the caller ceiling grants the four scopes **and** the default no-op stays read-only (ceiling ≠ grant). - `uv run pytest -k "workflow or scaffold or release or downstream or extension"` → **109 passed**; `actionlint` clean on the edited workflow (only the expected cross-tree reusable-path notes); full `prek run --all-files` **green**. - Manifest sync propagated the doc into `assets/workspace/docs/` (mirror test green). ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective - [x] New and existing unit tests pass locally with my changes ## Additional Notes Companion to #1147 (#1142); both surfaced during the sync-issues-action deploy recon. The workaround shipping there today (`attest-release.yml` on `push: tags: v*.*.*`) remains valid — this makes the in-seam path work too, so future consumers can keep provenance attestation inside `release-extension.yml`. Closes #1144 Refs: #1144
The Commit Messages job validated merge-base(base, head)..head, so a consumer's first release PR (release/X.Y.Z -> main) re-linted the entire pre-migration history and one non-compliant historical commit blocked the whole train. validate-commit-range gains --exclude-reachable REF and the scaffolded ci.yml passes origin/dev on non-dev PRs, dropping commits already gated (or grandfathered) on their way into trunk. No-op on dev PRs whose base is dev. Refs: #1149
…ranch The finalize job dispatched sync-issues.yml with no --ref, so GitHub ran the default-branch (pre-devkit) workflow, and both gh run list polls had no --branch filter, so a concurrent scheduled run could be mistaken for the dispatched one. On a consumer's first final release this timed out and rolled back. Pin --ref release/$VERSION on the dispatch, --branch release/$VERSION on both polls, and raise TIMEOUT 120 -> 600. Refs: #1150
promote-release.yml is workflow_dispatch, which GitHub only registers on the default branch; the release-PR merge that lands it there is what promote itself does, so a consumer's first promote 404s. Document the manual sequence (undraft Release, merge PR, RC cleanup) in MIGRATION.md, the non-resumable caveat, and a pointer to first-release floating tags. Docs-only: no test. Refs: #1151
…1153) ## Summary A freshly migrated consumer's **first** release PR (`release/X.Y.Z` → `main`) re-lints its entire pre-migration history: the `Commit Messages` job validates `merge-base(base, head)..head`, which reaches back to the last release — commits merged before the commit gate existed. One non-compliant historical commit (immutable, non-merge, human-authored → no exemption) permanently blocks the train at the worst possible moment. ## Fix (issue preference #1 — self-healing, no per-repo SHA list) - `validate-commit-range` gains a repeatable `--exclude-reachable REF` that appends `^REF` to the `git log` range. - Scaffolded `ci.yml` `commit-checks` fetches the trunk and passes `--exclude-reachable origin/dev` on non-dev PRs. Commits already reachable from trunk were gated (or grandfathered) on their way in and are not re-litigated. - **No-op on dev PRs** (base *is* dev); only tightens release/main ranges. ## Tests - `TestReadCommits` builds a main→dev→release topology and asserts a trunk-grandfathered commit is dropped with `--exclude-reachable` and kept without it. Full `validate-commit-range` suite green (36 passed). Closes #1149
## Summary A consumer's **first** release train can't dispatch `promote-release.yml`: `workflow_dispatch` only registers for a workflow present on the **default branch**, and the release-PR merge that lands `promote-release.yml` on `main` is what promote itself performs — so `gh workflow run promote-release.yml` 404s on the first release (chicken-and-egg registration). ## Fix (issue preference #1 — docs) `docs/MIGRATION.md` gains a **"First release after migrating to devkit"** section: - Why the first promote 404s and why every subsequent one works. - The non-resumable caveat: promote's validate hard-requires a still-draft Release + open approved PR, so a half-done manual promote can't be finished by the registered workflow. - **First-release manual promote runbook**: undraft the Release → merge the release PR → best-effort RC cleanup → (floating tags, tracked in #1152). - Cross-links `docs/DOWNSTREAM_RELEASE.md` for the steady-state flow. Docs-only; no code change. Closes #1151
The imported Tag ruleset bypasses only the Release App, so on a first release neither the (unregistered) promote workflow nor a human admin can move vX / vX.Y (422 Cannot update this protected ref) and the pin breaks. Add a First-release floating tags subsection to MIGRATION.md: temporarily grant a RepositoryRole admin bypass, move the tags to the peeled release commit, then revert the ruleset. Docs-only: no test. Refs: #1152
…ranch (#1154) ## Summary A consumer's first final `release.yml` run failed at finalize with `Timed out waiting for sync-issues workflow completion` and rolled back. Three stacked problems in `release-core.yml`'s `finalize` job: 1. **Dispatch ran the wrong workflow.** `gh workflow run sync-issues.yml` passed no `--ref`, so GitHub resolved the definition on the **default branch** — the pre-devkit workflow until the first devkit release merges. 2. **`TIMEOUT=120` too tight.** The devkit sync workflow's first release-branch run (no cutoff cache → self-heal) can take minutes. 3. **Polls raced.** Both `gh run list` calls omitted `--branch`, so a concurrent scheduled run could be mistaken for the dispatched one. ## Fix (adopts all three, validated live on the consumer workaround) - `--ref "release/$VERSION"` on the dispatch (correct on every run). - `--branch "release/$VERSION"` on both polls. - `TIMEOUT` 120 → 600. ## Tests `tests/test_release_core_sync_dispatch.py` pins the `--ref`, the two `--branch` filters, and the raised timeout. Release-shape suite green. Closes #1150
) ## Summary Companion to #1151. The imported **Tag ruleset bypasses only the Release App (Integration)** — correct for steady state, where `promote-release.yml` moves `<prefix>X` / `<prefix>X.Y` with the app token. But on a **first release** the promote workflow is not dispatchable (#1151) and **no human — not even an admin — can move the floating tags** (`422 Cannot update this protected ref`). The release then publishes with `<prefix>X` stale and `<prefix>X.Y` missing, silently breaking the advertised `uses: owner/repo@<prefix>X` pin. ## Fix (issue preference #1 — docs) Adds a **"First-release floating tags"** subsection under the first-release runbook in `docs/MIGRATION.md`: 1. Temporarily grant repository admins a bypass (`RepositoryRole` id `5`) on the Tag ruleset (UI + `gh api`). 2. Move `<prefix>X` / `<prefix>X.Y` to the **peeled** release commit — the same `move_tag` semantics as `promote-release.yml`. 3. **Revert** the ruleset so moves are Release-App-exclusive again. Notes the consumer-owned dispatch-workflow alternative. Wires step 4 of the #1151 runbook to this subsection. Docs-only; no code change. Closes #1152
A first-time floating-level create (POST /git/refs for a brand-new <prefix>X.Y) is denied 422 when the Tag ruleset does not bypass the Release App for the creation rule. Assert the move step surfaces a ::error:: annotation naming the ruleset root cause and the documented one-off remediation, instead of a cryptic "Reference does not exist". Refs: #1157
The floating-tag move step force-updates an existing <prefix>X/<prefix>X.Y via PATCH, but the first release of a new floating level must CREATE the ref (POST /git/refs). When the Tag ruleset restricts tag creation and the Release App is not a bypass actor for the ruleset's `creation` rule, the POST is denied as the opaque "Reference does not exist" (HTTP 422); `retry` then hammers the permanent denial and the job exits 1 with no actionable signal — even though publish + merge already succeeded, leaving the advertised `@<prefix>X.Y` pin silently missing. Guard the create call and, on failure, emit a `::error::` annotation that names the tag, the target commit, the ruleset root cause, and the one-off remediation (docs/MIGRATION.md#first-release-floating-tags) so the operator can fix it at a glance instead of decoding a bare gh error. Refs: #1157
Extend the first-release floating-tags remediation to the case #1157 reproduces: a live consumer cutting the first release of a NEW floating level, where promote must create (not move) the ref and the ruleset denies the app's creation. The workflow's ::error:: points here, so document the create trigger and note the create-call variant of the bypass-and-revert. Refs: #1157
…nial (#1158) ## Summary Fixes #1157. The floating-tag move step in `promote-release.yml` force-**updates** an existing `<prefix>X` / `<prefix>X.Y` via `PATCH`, but the **first** release of a **new** floating level must **create** the ref (`POST /git/refs`). When the repo Tag ruleset restricts tag creation and the Release App is not a bypass actor for the ruleset's `creation` rule, the create is denied as the opaque `Reference does not exist` (HTTP 422). `retry` then hammered the permanent denial and the job exited 1 with **no actionable signal** — even though publish + merge had already succeeded, leaving the advertised `@<prefix>X.Y` pin silently missing (observed live on vig-os/commit-action `v0.3.1`, run 29519580039: `v0` moved via PATCH, `v0.3` create failed). ## What changed - **`assets/workspace/.github/workflows/promote-release.yml`** — the create path in `move_tag()` is now guarded. On failure it emits a `::error::` annotation naming the tag, target commit, the **ruleset root cause**, and the one-off remediation, instead of a bare `gh` error. The job still fails loud (a missing floating tag is a real problem that needs human action — it breaks the advertised pin — not something to swallow with a warning). - **`docs/MIGRATION.md`** — the *First-release floating tags* section is extended to cover the steady-state trigger this issue reproduces: a live consumer cutting the first release of a **new** floating level, where promote must *create* (not move) the ref. Documents the create-call variant of the bypass-and-revert one-off. - **`tests/test_floating_tags.py`** — a workflow-shape test pins that the move step surfaces a `::error::` annotation naming the ruleset cause and the doc anchor. - **`CHANGELOG.md`** (+ mirror) — `Fixed` entry. ## Scope note The genuine *cure* (the managed Tag ruleset should bypass the Release App for its `creation` rule, or not restrict creation) lives in per-consumer onboarding / `org-config`, not this workflow — devkit ships no machine-managed ruleset here. This PR delivers the in-repo, in-scope half: a **diagnosable** failure plus the documented remediation (issue suggestion #2). Worth a follow-up issue to harden the onboarding ruleset so this never recurs. ## Testing - `just precommit` — full hook suite green (all files). - `uv run pytest tests/test_floating_tags.py tests/test_scaffold_lint.py` — 40 passed. - `bash -n` + `shellcheck` on the extracted move-step script — clean. - Full suite: 1044 passed; the 2 remaining failures (`test_image.py::test_manifest_files`, `test_integration.py::test_github_cli_authentication`) reproduce on clean `origin/dev` and are environmental (built-image manifest state / gh-auth in devcontainer), not from this change. Refs: #1157
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/codeql-action](https://redirect.github.com/github/codeql-action) ([changelog](https://redirect.github.com/github/codeql-action/compare/99df26d4f13ea111d4ec1a7dddef6063f76b97e9..7188fc363630916deb702c7fdcf4e481b751f97a)) | action | digest | `99df26d` → `7188fc3` | --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI2NS4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=-->
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/attest](https://redirect.github.com/actions/attest) | action | minor | `v4.1.1` → `v4.2.0` | | [vig-os/commit-action](https://redirect.github.com/vig-os/commit-action) | action | patch | `v0.3.0` → `v0.3.1` | | [vig-os/sync-issues-action](https://redirect.github.com/vig-os/sync-issues-action) | action | minor | `v0.2.2` → `v0.4.0` | --- ### Release Notes <details> <summary>actions/attest (actions/attest)</summary> ### [`v4.2.0`](https://redirect.github.com/actions/attest/releases/tag/v4.2.0) [Compare Source](https://redirect.github.com/actions/attest/compare/v4.1.1...v4.2.0) ##### What's Changed - fix: split checksums on any line ending so LF files parse on Windows by [@​bdehamer](https://redirect.github.com/bdehamer) in [#​443](https://redirect.github.com/actions/attest/pull/443) - Bump [@​actions/glob](https://redirect.github.com/actions/glob) from 0.6.1 to 0.7.0 in the npm-production group across 1 directory by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​435](https://redirect.github.com/actions/attest/pull/435) - Bump csv-parse from 6.2.1 to 7.0.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​437](https://redirect.github.com/actions/attest/pull/437) - Read subjects from GITHUB\_ARTIFACTS\_LIST by [@​bdehamer](https://redirect.github.com/bdehamer) in [#​447](https://redirect.github.com/actions/attest/pull/447) - Support SHA-2 subject digests by [@​bdehamer](https://redirect.github.com/bdehamer) in [#​446](https://redirect.github.com/actions/attest/pull/446) **Full Changelog**: <actions/attest@v4.1.1...v4.2.0> </details> <details> <summary>vig-os/commit-action (vig-os/commit-action)</summary> ### [`v0.3.1`](https://redirect.github.com/vig-os/commit-action/blob/HEAD/CHANGELOG.md#v031---2026-07-16) [Compare Source](https://redirect.github.com/vig-os/commit-action/compare/v0.3.0...v0.3.1) ##### Changed - **Renovate dependency update** ([#​98](https://redirect.github.com/vig-os/commit-action/pull/98)) - Update `cachix/install-nix-action` from `v31.10.7` to `v31.11.0` - Update `vig-os/commit-action` from `v0.2.0` to `v0.3.0` - Update `vig-os/sync-issues-action` from `v0.2.2` to `v0.3.0` ##### Fixed - The `e2e-smoke` and `published-tag-smoke` verify steps no longer flake on GitHub's read-after-write replication lag. Their "branch head points at the reported commit" assertion read the scratch-branch head via the REST API immediately after the action's `updateRef` returned, and could observe the stale pre-commit head — the action had committed correctly, but the check reported a mismatch. Both steps now poll the branch head for the reported `commit-sha` with a bounded retry (up to 5 attempts, 3s apart) before failing, while keeping the hard failure after the budget so a genuine no-op (the [#​58](https://redirect.github.com/vig-os/commit-action/issues/58) class of bug) is still caught (issue [#​96](https://redirect.github.com/vig-os/commit-action/issues/96)). </details> <details> <summary>vig-os/sync-issues-action (vig-os/sync-issues-action)</summary> ### [`v0.4.0`](https://redirect.github.com/vig-os/sync-issues-action/blob/HEAD/CHANGELOG.md#v040---2026-07-16) [Compare Source](https://redirect.github.com/vig-os/sync-issues-action/compare/v0.4.0...v0.4.0) ##### Added - **User-configurable formatting hook for generated markdown** ([#​17](https://redirect.github.com/vig-os/sync-issues-action/issues/17)) - New optional `format-command` input runs a shell command on the synced files after they are written and before outputs are set, so the downstream commit step picks up formatted files - Every `{files}` placeholder is replaced with the shell-quoted modified paths (e.g. `npx prettier --write {files}`); a failing command fails the action - **Fetch images and other attachments from issues and PRs** ([#​2](https://redirect.github.com/vig-os/sync-issues-action/issues/2)) - New optional `sync-attachments` input (default `false`) downloads attachments referenced in issue/PR bodies and comments to `<output-dir>/attachments/<uuid>.<ext>` and rewrites body URLs to relative paths, making the synced tree self-contained offline - Works for public and private repositories via the signed URLs GitHub embeds in the API's HTML body rendering; failed downloads keep the original URL and log a warning - Downloaded attachments are included in the `modified-files` output; `format-command` now only receives markdown files ##### Changed - **Renovate: update `ubuntu` from `22.04` to `24.04`** ([#​130](https://redirect.github.com/vig-os/sync-issues-action/pull/130)) - **Renovate dependency update** ([#​126](https://redirect.github.com/vig-os/sync-issues-action/pull/126)) - Update `@types/node` from `25.5.0` to `25.9.5` - Update `@typescript-eslint/eslint-plugin` from `8.57.2` to `8.64.0` - Update `@typescript-eslint/parser` from `8.57.2` to `8.64.0` - Update `@vercel/ncc` from `^0.38.1` to `^0.44.0` - Update `eslint` from `10.1.0` to `10.7.0` - Update `globals` from `17.4.0` to `17.7.0` - Update `jest` from `30.3.0` to `30.4.2` - Update `prettier` from `3.8.1` to `3.9.5` - Update `ts-jest` from `29.4.6` to `29.4.11` - Update `tsx` from `4.21.0` to `4.23.1` - Update `typescript-eslint` from `8.57.2` to `8.64.0` ##### Security - **Pin `@github/local-action` in the local integration test script** ([#​122](https://redirect.github.com/vig-os/sync-issues-action/issues/122)) - `test-local.sh` now installs a fixed version instead of the floating latest, resolving the OpenSSF Scorecard `PinnedDependenciesID` alert ### [`v0.4`](https://redirect.github.com/vig-os/sync-issues-action/blob/HEAD/CHANGELOG.md#v040---2026-07-16) [Compare Source](https://redirect.github.com/vig-os/sync-issues-action/compare/v0.3.0...v0.4.0) ##### Added - **User-configurable formatting hook for generated markdown** ([#​17](https://redirect.github.com/vig-os/sync-issues-action/issues/17)) - New optional `format-command` input runs a shell command on the synced files after they are written and before outputs are set, so the downstream commit step picks up formatted files - Every `{files}` placeholder is replaced with the shell-quoted modified paths (e.g. `npx prettier --write {files}`); a failing command fails the action - **Fetch images and other attachments from issues and PRs** ([#​2](https://redirect.github.com/vig-os/sync-issues-action/issues/2)) - New optional `sync-attachments` input (default `false`) downloads attachments referenced in issue/PR bodies and comments to `<output-dir>/attachments/<uuid>.<ext>` and rewrites body URLs to relative paths, making the synced tree self-contained offline - Works for public and private repositories via the signed URLs GitHub embeds in the API's HTML body rendering; failed downloads keep the original URL and log a warning - Downloaded attachments are included in the `modified-files` output; `format-command` now only receives markdown files ##### Changed - **Renovate: update `ubuntu` from `22.04` to `24.04`** ([#​130](https://redirect.github.com/vig-os/sync-issues-action/pull/130)) - **Renovate dependency update** ([#​126](https://redirect.github.com/vig-os/sync-issues-action/pull/126)) - Update `@types/node` from `25.5.0` to `25.9.5` - Update `@typescript-eslint/eslint-plugin` from `8.57.2` to `8.64.0` - Update `@typescript-eslint/parser` from `8.57.2` to `8.64.0` - Update `@vercel/ncc` from `^0.38.1` to `^0.44.0` - Update `eslint` from `10.1.0` to `10.7.0` - Update `globals` from `17.4.0` to `17.7.0` - Update `jest` from `30.3.0` to `30.4.2` - Update `prettier` from `3.8.1` to `3.9.5` - Update `ts-jest` from `29.4.6` to `29.4.11` - Update `tsx` from `4.21.0` to `4.23.1` - Update `typescript-eslint` from `8.57.2` to `8.64.0` ##### Security - **Pin `@github/local-action` in the local integration test script** ([#​122](https://redirect.github.com/vig-os/sync-issues-action/issues/122)) - `test-local.sh` now installs a fixed version instead of the floating latest, resolving the OpenSSF Scorecard `PinnedDependenciesID` alert ### [`v0.3.0`](https://redirect.github.com/vig-os/sync-issues-action/blob/HEAD/CHANGELOG.md#v030---2026-07-16) [Compare Source](https://redirect.github.com/vig-os/sync-issues-action/compare/v0.3.0...v0.3.0) ##### Added - **Sync specific issues/PRs by number or range** ([#​55](https://redirect.github.com/vig-os/sync-issues-action/issues/55)) - New optional `issues-filter` and `prs-filter` inputs accept comma-separated numbers and inclusive ranges (e.g. `1,5,10-20`) - When set, the action fetches only the requested items directly instead of paginating through all issues or pull requests ##### Changed - **Run the action on the Node.js 24 runtime** ([#​77](https://redirect.github.com/vig-os/sync-issues-action/issues/77)) - `action.yml` `runs.using` switched from `node20` to `node24` ahead of GitHub's June 2026 forced default - `.nvmrc` updated to 24, matching the flake dev-shell (node 24.16) the suite already runs on - **Adopt vigOS devkit 1.3.0 (direnv mode)** ([#​106](https://redirect.github.com/vig-os/sync-issues-action/issues/106)) - Replace the bespoke CI/release stack with the devkit scaffold (managed ci/release/promote workflows; native dist prep, tag prefix `v`, and floating `v0`/`v0.X` tags) - Nix flake dev-shell (direnv) with flake-generated pre-commit hooks replaces the devcontainer image and `scripts/setup-node.sh` provisioning - Keep the 8-scenario integration-test matrix (new PR-gate and published-tag-smoke callers); re-home provenance attestation in `attest-release.yml`; add Dist Check and JS Quality gates ported from commit-action - Retire the placeholder `security-scan.yml`, `CODEOWNERS`, the bespoke changelog/release helper scripts, and Dependabot (Renovate takes over) - **Adopt vigOS v0.3.5 devcontainer and realign project tooling to Node** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Provision Node via `scripts/setup-node.sh` and `just` recipes; run lint, build, and test inside the devcontainer - Adapt release workflows and label taxonomy to the standardized vigOS layout - Drop Python scaffolding and the legacy `setup-env`/`build-dist` composite actions - **`just test` runs the full local suite; add `just test-unit` for unit-only runs** - `just test` runs unit tests plus integration when a GitHub token is available; integration is skipped with a warning otherwise - `just test-unit` replaces the previous unit-only `just test` behavior and accepts Jest filter args - **Upgrade GitHub Actions toolkit to ESM-only releases** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Adopt `@actions/github` v9 (Octokit v7) and `@actions/core` v3 for current toolkit HTTP client and type support - Update TypeScript module resolution and Jest module mocks for ESM toolkit packages - **Stop committing tsc emit under dist/** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Only `dist/index.js` and `dist/licenses.txt` are tracked; `verify-dist` checks those files only - **Post-release replaced by PR-based main-to-dev sync** ([#​52](https://redirect.github.com/vig-os/sync-issues-action/issues/52)) - Remove `post-release.yml` workflow; add `sync-main-to-dev.yml` that opens a PR to sync `main` into `dev`, satisfying branch protection on both branches - Harden sync checks by failing clearly when `origin/main` or `origin/dev` is missing instead of silently treating branches as up to date - Fix `workflow_dispatch` hyphenated input access and conflict path robustness (`issues: write`, safer conflict label handling, clearer manual resolution commands) - Reduce duplicate/no-op sync PR risk by re-checking ahead/behind state inside the `sync` job and tightening existing-sync-PR detection (search + explicit list limit) - Split auth into explicit app tokens by responsibility: `COMMIT_APP_*` for checkout/ref operations and `RELEASE_APP_*` for PR/label operations requiring broader scopes - Generate `RELEASE_APP_*` only after re-check confirms sync work remains, reducing unnecessary broader-scope token issuance - **Sync workflow uses commit-scoped app secrets and manual output target** - Update `sync-issues.yml` to use `COMMIT_APP_ID`/`COMMIT_APP_PRIVATE_KEY` for both checkout token generation and action app auth inputs - Respect `workflow_dispatch` `output-dir` input in the action call, with `'docs'` as the default fallback - **Bound integration test runtime to a fixed subset** ([#​56](https://redirect.github.com/vig-os/sync-issues-action/issues/56)) - Integration test workflow and local test scripts now pass `issues-filter`/`prs-filter` so only a small, stable set of issues and PRs is synced - Keeps test duration bounded as the repository's issue/PR count grows ##### Fixed - **Retry transient GitHub 5xx errors and skip failing items during sync** ([#​96](https://redirect.github.com/vig-os/sync-issues-action/issues/96)) - Add `withRetry` helper with exponential backoff for 5xx, rate-limit, and network errors - Sanitize GitHub "Unicorn!" HTML error pages into concise messages - Skip individual issues/PRs that fail persistently instead of aborting the entire sync run ##### Security - **Bump bundled `undici` to 6.27.0** ([#​111](https://redirect.github.com/vig-os/sync-issues-action/issues/111)) - Clears the high-severity WebSocket DoS advisory (GHSA-vxpw-j846-p89q) and three related `undici` advisories flagged by dependency review, plus dev-only `@babel/core` and `js-yaml` audit findings - **Resolve npm audit vulnerabilities** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Upgrade `@actions/github` to v9 and `@actions/core` to v3, resolving high-severity `undici` advisories in the bundled action - Apply non-breaking audit fixes for dev/build-only dependencies (`handlebars`, `flatted`, `picomatch`, `brace-expansion`) ### [`v0.3`](https://redirect.github.com/vig-os/sync-issues-action/blob/HEAD/CHANGELOG.md#v030---2026-07-16) [Compare Source](https://redirect.github.com/vig-os/sync-issues-action/compare/v0.2.2...v0.3.0) ##### Added - **Sync specific issues/PRs by number or range** ([#​55](https://redirect.github.com/vig-os/sync-issues-action/issues/55)) - New optional `issues-filter` and `prs-filter` inputs accept comma-separated numbers and inclusive ranges (e.g. `1,5,10-20`) - When set, the action fetches only the requested items directly instead of paginating through all issues or pull requests ##### Changed - **Run the action on the Node.js 24 runtime** ([#​77](https://redirect.github.com/vig-os/sync-issues-action/issues/77)) - `action.yml` `runs.using` switched from `node20` to `node24` ahead of GitHub's June 2026 forced default - `.nvmrc` updated to 24, matching the flake dev-shell (node 24.16) the suite already runs on - **Adopt vigOS devkit 1.3.0 (direnv mode)** ([#​106](https://redirect.github.com/vig-os/sync-issues-action/issues/106)) - Replace the bespoke CI/release stack with the devkit scaffold (managed ci/release/promote workflows; native dist prep, tag prefix `v`, and floating `v0`/`v0.X` tags) - Nix flake dev-shell (direnv) with flake-generated pre-commit hooks replaces the devcontainer image and `scripts/setup-node.sh` provisioning - Keep the 8-scenario integration-test matrix (new PR-gate and published-tag-smoke callers); re-home provenance attestation in `attest-release.yml`; add Dist Check and JS Quality gates ported from commit-action - Retire the placeholder `security-scan.yml`, `CODEOWNERS`, the bespoke changelog/release helper scripts, and Dependabot (Renovate takes over) - **Adopt vigOS v0.3.5 devcontainer and realign project tooling to Node** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Provision Node via `scripts/setup-node.sh` and `just` recipes; run lint, build, and test inside the devcontainer - Adapt release workflows and label taxonomy to the standardized vigOS layout - Drop Python scaffolding and the legacy `setup-env`/`build-dist` composite actions - **`just test` runs the full local suite; add `just test-unit` for unit-only runs** - `just test` runs unit tests plus integration when a GitHub token is available; integration is skipped with a warning otherwise - `just test-unit` replaces the previous unit-only `just test` behavior and accepts Jest filter args - **Upgrade GitHub Actions toolkit to ESM-only releases** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Adopt `@actions/github` v9 (Octokit v7) and `@actions/core` v3 for current toolkit HTTP client and type support - Update TypeScript module resolution and Jest module mocks for ESM toolkit packages - **Stop committing tsc emit under dist/** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Only `dist/index.js` and `dist/licenses.txt` are tracked; `verify-dist` checks those files only - **Post-release replaced by PR-based main-to-dev sync** ([#​52](https://redirect.github.com/vig-os/sync-issues-action/issues/52)) - Remove `post-release.yml` workflow; add `sync-main-to-dev.yml` that opens a PR to sync `main` into `dev`, satisfying branch protection on both branches - Harden sync checks by failing clearly when `origin/main` or `origin/dev` is missing instead of silently treating branches as up to date - Fix `workflow_dispatch` hyphenated input access and conflict path robustness (`issues: write`, safer conflict label handling, clearer manual resolution commands) - Reduce duplicate/no-op sync PR risk by re-checking ahead/behind state inside the `sync` job and tightening existing-sync-PR detection (search + explicit list limit) - Split auth into explicit app tokens by responsibility: `COMMIT_APP_*` for checkout/ref operations and `RELEASE_APP_*` for PR/label operations requiring broader scopes - Generate `RELEASE_APP_*` only after re-check confirms sync work remains, reducing unnecessary broader-scope token issuance - **Sync workflow uses commit-scoped app secrets and manual output target** - Update `sync-issues.yml` to use `COMMIT_APP_ID`/`COMMIT_APP_PRIVATE_KEY` for both checkout token generation and action app auth inputs - Respect `workflow_dispatch` `output-dir` input in the action call, with `'docs'` as the default fallback - **Bound integration test runtime to a fixed subset** ([#​56](https://redirect.github.com/vig-os/sync-issues-action/issues/56)) - Integration test workflow and local test scripts now pass `issues-filter`/`prs-filter` so only a small, stable set of issues and PRs is synced - Keeps test duration bounded as the repository's issue/PR count grows ##### Fixed - **Retry transient GitHub 5xx errors and skip failing items during sync** ([#​96](https://redirect.github.com/vig-os/sync-issues-action/issues/96)) - Add `withRetry` helper with exponential backoff for 5xx, rate-limit, and network errors - Sanitize GitHub "Unicorn!" HTML error pages into concise messages - Skip individual issues/PRs that fail persistently instead of aborting the entire sync run ##### Security - **Bump bundled `undici` to 6.27.0** ([#​111](https://redirect.github.com/vig-os/sync-issues-action/issues/111)) - Clears the high-severity WebSocket DoS advisory (GHSA-vxpw-j846-p89q) and three related `undici` advisories flagged by dependency review, plus dev-only `@babel/core` and `js-yaml` audit findings - **Resolve npm audit vulnerabilities** ([#​6](https://redirect.github.com/vig-os/sync-issues-action/issues/6)) - Upgrade `@actions/github` to v9 and `@actions/core` to v3, resolving high-severity `undici` advisories in the bundled action - Apply non-breaking audit fixes for dev/build-only dependencies (`handlebars`, `flatted`, `picomatch`, `brace-expansion`) </details> --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI2NS4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=-->
## Summary `release-core.yml`'s finalize step passed the **whole `dist` directory** to `commit-action` (`FILE_PATHS: CHANGELOG.md,dist`) for bundle projects. `commit-action` walks a directory path on disk and force-adds **every** file it finds — it never consults `.gitignore` (`findFilesRecursively` in `commit-runner.ts` skips only `.git`) — so the gitignored tsc/ncc byproducts (`dist/src/**`, `*.tsbuildinfo`) were re-committed on every final release. This re-tracked them on `main`, on `dev` (via `sync-main-to-dev`), and in the tag tree, defeating the "ship only the bundle" invariant and making the sanctioned `git rm --cached` cleanup impossible to persist — it re-bit as a release-PR `Dist Check` failure whenever an ncc/tsc-affecting dep bump drifted the emit on the un-gated `dev` branch (what blocked `sync-issues-action` v0.4.0). ## Fix Scoped to `release-core.yml` (issue's option 1 — respect existing tracking, no hardcode). The `Build release artifact` step now computes the tracked-plus-untracked-but-not-ignored set under `dist` with: ``` git ls-files -co --exclude-standard -- dist ``` i.e. `git add`/`.gitignore` semantics — and exposes it as a step output. The finalize commit's `FILE_PATHS` threads that explicit list instead of the bare `dist` dir, so only the real bundle (`dist/index.js`, `dist/licenses.txt`) reaches the tag. `--exclude-standard` stops re-adding gitignored *untracked* emit, so once a consumer runs the documented `git rm --cached` cleanup it now **persists** across future finalize commits (already-tracked files still ship until cleaned up — no regression). A guard fails the build loud if the bundle recipe somehow produces no non-ignored files. ## Tests - `tests/test_release_core_dist_gitignore.py` — new workflow-shape test (RED→GREEN, TDD): FILE_PATHS no longer passes bare `dist`, the build step computes non-ignored paths via `git ls-files -co --exclude-standard`, and FILE_PATHS threads the computed output. - Full pre-commit suite green (incl. actionlint); 157 fast pytest cases pass. ## Related Distinct from #1157 (native promote floating-tag create 422); both surfaced on the same `sync-issues-action` v0.4.0 / `commit-action` v0.3.1 release trains. The more general `commit-action`-level fix (honor `.gitignore` for directory paths) remains available as a follow-up in that repo. Closes #1159
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI2NS4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=-->
Move Unreleased content to [1.3.1] - TBD and create fresh empty Unreleased section for continued development.
Regenerate the synced workspace mirror so assets/workspace/.devcontainer/CHANGELOG.md matches the frozen root CHANGELOG.md on the release branch.
c-vigo
marked this pull request as ready for review
July 17, 2026 07:12
c-vigo
approved these changes
Jul 17, 2026
Set release date to 2026-07-17 and regenerate release docs. Refs: #1164
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.
Release 1.3.1 - 2026-07-17
This PR prepares release 1.3.1 for merge to main.
1.3.1 - 2026-07-17
Added
promote-release.ymlis dispatched viaworkflow_dispatch, which GitHubonly registers for workflows present on the default branch — and the
release-PR merge that puts it there is what promote itself performs, so a
consumer's first promote 404s (chicken-and-egg).
docs/MIGRATION.mdgainsa "First release after migrating to devkit" section with the end-to-end
manual promote sequence (undraft the Release → merge the release PR → RC
cleanup), a note that the manual path cannot be resumed by the workflow
once the draft/PR preconditions are consumed, and a pointer to the
floating-tag handling. Every subsequent release promotes normally.
for steady state, where
promote-release.ymlmoves<prefix>X/<prefix>X.Ywith the app token — but on a first release the promoteworkflow is not dispatchable and no human (not even an admin) can move the
floating tags (
422 Cannot update this protected ref), so the releasepublishes with
<prefix>Xstale and<prefix>X.Ymissing, silentlybreaking the
uses: owner/repo@<prefix>Xpin.docs/MIGRATION.mdgains a"First-release floating tags" subsection: temporarily add a
RepositoryRole: adminbypass to the Tag ruleset, move the tags to thepeeled release commit (the same
move_tagsemantics aspromote-release.yml), then revert the ruleset.Changed
actions/attestfromv4.1.1tov4.2.0vig-os/commit-actionfromv0.3.0tov0.3.1vig-os/sync-issues-actionfromv0.2.2tov0.4.0github/codeql-actionfrom99df26dto7188fc3(#1160)extensioncaller job in the scaffoldedrelease.ymlnow grants therelease-extension.ymlseam a ceiling ofcontents: read,packages: write,id-token: write,attestations: write. A called reusable workflow can onlydowngrade the caller's
GITHUB_TOKEN, never elevate it, so with no callergrant the seam was capped read-only and write-scoped extensions
(
actions/attest-build-provenance, GHCR publish) were silently denied. Thisis a ceiling, not a grant: the shipped default no-op stays read-only and a
consumer opts a job in by declaring the scopes it needs, up to the ceiling.
Scopes beyond it (e.g.
contents: write) still belong in a consumer-ownedtag-push workflow. Documented in
docs/DOWNSTREAM_RELEASE.md.Fixed
dist/on release finalize (#1159)distdirectory tocommit-action(
FILE_PATHS: CHANGELOG.md,dist).commit-actionwalks a directory path ondisk and force-adds every file it finds — it never consults
.gitignore— so the gitignored tsc/ncc byproducts (dist/src/**,*.tsbuildinfo) were re-committed on every final release, re-tracking them onmain, ondev(viasync-main-to-dev), and in the tag tree, and making thesanctioned
git rm --cachedcleanup impossible to persist (it re-bit as arelease-PR
Dist Checkfailure after an ncc/tsc-affecting dep bump). Thebuild step now computes the tracked-plus-untracked-but-not-ignored set with
git ls-files -co --exclude-standard -- dist(i.e.git add/.gitignoresemantics) and the finalize commit ships only those explicit files, so the
real bundle (
dist/index.js,dist/licenses.txt) is committed without thegitignored emit.
promote-release.ymlforce-updates an existing<prefix>X/<prefix>X.YviaPATCH, but the first release of a new floating levelmust create the ref (
POST /git/refs). When the Tag ruleset restrictstag creation and the Release App is not a bypass actor for its
creationrule, the create is denied as the opaque
Reference does not exist(HTTP 422);
retrythen hammered the permanent denial and the job exited 1with no actionable signal — even though publish + merge had already
succeeded, leaving the advertised
@<prefix>X.Ypin silently missing. Themove step now guards the create and emits a
::error::annotation naming thetag, target commit, ruleset root cause, and the one-off remediation
(
docs/MIGRATION.md#first-release-floating-tags, extended to cover a newlevel introduced in steady state) instead of a bare
gherror.release/X.Y.Z→main), theCommit Messagesjob validatedmerge-base(base, head)..head,which spans the entire pre-migration history since the last release —
commits merged before the commit gate existed. A single non-compliant
historical commit permanently blocked the first release train (immutable
shared history, neither a merge nor bot-authored, so no exemption applied).
validate-commit-rangegains a repeatable--exclude-reachable REFoption,and the scaffolded
ci.ymlnow passes--exclude-reachable origin/devonnon-dev PRs: commits already reachable from the trunk branch were gated (or
grandfathered) on their way into trunk and are no longer re-litigated. The
exclusion is a no-op on a dev PR (whose base is dev), so it only tightens
release/main PR ranges.
finalizejob inrelease-core.ymldispatchedsync-issues.ymlwithno
--ref, so GitHub resolved the workflow on the default branch — thepre-devkit workflow until the first devkit release merges — and both
gh run listpolls omitted--branch, so a concurrent scheduled run couldbe mistaken for the dispatched one. On a consumer's first final release this
timed out at finalize and triggered the automatic rollback. The dispatch now
passes
--ref "release/$VERSION", both polls filter--branch "release/$VERSION", and the wait ceiling is raised from 120 s to 600 s(the first release-branch sync has no cutoff cache and self-heals up to
14 days of history).
paths:filter per detected language (#1142)codeql.ymlhardcoded the push-to-main trigger'spaths:filter to
**.py, so on a Node consumer a push touching only TS/JS neverfired the post-merge CodeQL scan (only the unfiltered PR trigger caught it).
init-workspace.shnow renders the filter from the same language detectionas the matrix: python →
**.py; node →**.ts/**.js/**.mjs/**.cjs;rust adds no source globs; the
.github/workflows/**catch-all is alwayskept. Because
codeql.ymlis a managed file, consumer hand-fixes are nolonger reverted on every devkit upgrade.
migration copied entries that shadow scaffold-COMMITTED files: the old
Python-template
.gitignoreshipped.envrc, and migrating that entryinto
.gitignore.projectsilently kept the scaffolded.envrc(#640) untracked, breaking
direnv onboarding on every clone (observed live on the sync-issues-action
1.3.0 deploy, [CHORE] Adopt vigOS devkit 1.3.0 (direnv) — replace bespoke CI/release stack sync-issues-action#106). Scaffold-committed file
names (
.envrc,.gitignore.project,flake.nix,flake.lock,justfile,justfile.project,.vig-os) now never migrate.the managed set was built from the DETECTED languages' fragments only, so
a repo that switched language templates (e.g. old Python-flavored managed
.gitignore, now a Node repo) got ~90 lines of__pycache__/-style junkdumped into its consumer-owned file. The managed set is now built from ALL
gitignore.d/fragments — any line found in any devkit fragment istemplate material, never migrated.