Repository navigation
build(devkit): adopt devkit 1.2.0 and declare the v tag scheme - #76
Merged
Merged
Conversation
Bump DEVKIT_VERSION to 1.2.0 and re-scaffold. 1.2.0 ships the two keys issue #62 was blocked on (vig-os/devkit#1044 DEVKIT_TAG_PREFIX and #1045 DEVKIT_FLOATING_TAGS), so declare the per-repo tag scheme in .vig-os: DEVKIT_TAG_PREFIX=v # restore v-prefixed pipeline tags (vX.Y.Z) DEVKIT_FLOATING_TAGS=major,minor # auto-move v0 / v0.X at promote Both were previously moved by hand. Bump the vigos flake input to 1.2.0 to match the scaffold image (they must move together, else the shipped JSONC provenance banner arrives without its check-json exclude and every commit fails). The 1.2.0 language-aware managed .gitignore (devkit#1024) dropped three ignores this Node + flake-hooks repo relies on. Restore them so the pre-commit suite and the dist-check gate stay green: - flake-generated .pre-commit-config.yaml (a /nix/store symlink from the hooks = { } opt-in) re-ignored in the managed root .gitignore, the only committed mechanism for a repo-root path; - dist/src/ tsc/ncc byproducts re-ignored via a new, upgrade-proof dist/.gitignore (nested, team-owned, survives scaffold upgrades). Add README pinning guidance (@v0 floating major, exact @vX.Y.Z, or SHA) and a changelog entry. Refs: #62
c-vigo
added a commit
that referenced
this pull request
Jul 15, 2026
## What & why Adopt vigOS devkit `1.2.1` to unblock the **0.3.0** release, which failed in the automated release workflow (**Fixes #79**). **Root cause:** the scaffolded `release-core.yml` applied the draft + approval gate to *every* release kind, so a `release_kind=candidate` dispatch aborted against its still-draft PR (`ERROR: PR #N is still in draft`). devkit `1.2.1` guards that gate behind `release_kind=final` — candidates gate on CI only, the `main`-protecting approval is re-enforced at promote (vig-os/devkit#1095). ## Changes - **`release-core.yml`** — regenerated from the 1.2.1 scaffold; the draft + approval gate is now `release_kind=final`-only (the #79 fix). - **`flake.nix` / `flake.lock` / `.vig-os`** — `vigos` input and `DEVKIT_VERSION` bumped to `1.2.1` (kept in sync per devkit#1093). - **Reconciled the #76 manual workarounds now fixed upstream (devkit#1092):** - Removed the bespoke `dist/.gitignore`; the managed `.gitignore` now ignores the `dist/src/` `tsc`/`ncc` declaration byproducts while keeping `dist/index.js` + `dist/package.json` tracked. - Moved the flake-generated `.pre-commit-config.yaml` symlink ignore to the new consumer-owned **`.gitignore.project`** (the #1092 auto-seed only fires when the store symlink resolves at scaffold time, which a direnv-mode container upgrade can't do). - **Restored the #62 tag scheme in `.vig-os`** — the 1.2.1 scaffold reset `DEVKIT_TAG_PREFIX` and `DEVKIT_FLOATING_TAGS` to defaults; restored `v` / `major,minor` so 0.3.0 still ships `vX.Y.Z` tags and moves `v0` / `v0.X`. - **CHANGELOG** — updated the `[0.3.0]` devkit bullet to reflect shipping on 1.2.1 and the #79 fix. ## Verification - `just precommit` (full `prek` suite) green locally, including `no-commit-to-branch`. - Bundle rebuilt with the pinned toolchain (`npm ci && npm run bundle`); `dist/index.js` did not drift — the only `dist/` change is the intentional `dist/.gitignore` removal (`dist-check` parity). ## Note `gh issue develop` generated a `build/79-…` branch name, which the enforced branch-naming hook rejects (`build/` isn't an allowed prefix; dots aren't valid in the slug). This PR uses the compliant `chore/79-adopt-devkit-1-2-1`; the empty `build/79-adopt-devkit-1.2.1` branch it left on the remote can be deleted.
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.
What & why
Adopt vigOS devkit
1.2.0and declare the per-repo release tag scheme that issue #62 was blocked on. 1.2.0 ships both blockers (DEVKIT_TAG_PREFIXvig-os/devkit#1044 andDEVKIT_FLOATING_TAGSvig-os/devkit#1045), so.vig-osnow declares:Both floating tags were previously moved by hand.
Deployment was broken out of the box — three regressions found & fixed
Re-scaffolding onto 1.2.0 surfaced three fresh breakages (not in the release notes), each caught by running the real hook suite:
typosscanned the vendored bundle. The language-aware managed.gitignore(devkit #1024) dropped this repo'sdist/handling, sotyposran overdist/index.jsand failed on typos inside undici/octokit. → Re-ignoreddist/src/byproducts via a new, upgrade-proof nesteddist/.gitignore.check-jsonrejected.vscode/settings.json. The scaffold added a JSONC provenance banner (#1053) but the compensatingcheck-jsonexclude ships via thevigosflake input, still pinned to 1.1.0 — a silent version skew. → Bumpedvigos.urlto?ref=1.2.0andnix flake update vigos..pre-commit-config.yaml(/nix/storesymlink) was no longer gitignored and would have been committed broken. → Re-ignored in the managed root.gitignore(the only committed mechanism for a repo-root path).Root causes filed upstream: vig-os/devkit#1092 (managed
.gitignoredrops consumer-required ignores) and vig-os/devkit#1093 (version skew ships the banner without its exclude).Also
@v0floating major, exact@vX.Y.Z, or SHA); the@mainnote was already dropped by [TASK] Pre-release housekeeping: reconcile dev with main, prune release/0.2.0, metadata fixes #63.CHANGELOG.mdUnreleased entry.Verification
just precommitsuite green;just lint/format-checkclean; 84/84 jest tests pass.dist-checkgate clean (bundle rebuild leavesgit status -- dist/empty).resolve-toolchain→release.yml/release-core.yml/release-publish.ymland the gatedfloating-tagsjob inpromote-release.yml.Caveats
.pre-commit-config.yamlignore lives in the managed root.gitignore, so the next scaffold upgrade will drop it again (that is [BUG] Managed .gitignore rewrite (#1024) drops consumer-required ignores with no durable committed extension point for repo-root paths devkit#1092); thedist/.gitignorefix is durable. Flagged inline.vX.Y.Z, movesv0/v0.X, continuous changelog heading) can only be verified when a real release runs; the driving config is in place and consistent.Refs: #62