Skip to content

build(npm): lock file maintenance - #109

Merged
c-vigo merged 1 commit into
devfrom
renovate/lock-file-maintenance
Jul 24, 2026
Merged

c-vigo merged 1 commit into
devfrom
renovate/lock-file-maintenance

Conversation

@renovate

@renovate renovate Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance branch from 5c5803c to 852f2eb Compare July 20, 2026 15:32
@c-vigo
c-vigo merged commit 1a978ab into dev Jul 24, 2026
14 checks passed
@c-vigo
c-vigo deleted the renovate/lock-file-maintenance branch July 24, 2026 16:57
c-vigo added a commit that referenced this pull request Aug 5, 2026
The Unreleased section stopped at devkit 1.4.0 while the scaffold had
advanced to 1.6.0, and three Renovate lock file maintenance PRs were
undocumented. Adds entries for #110 (1.4.1), #117 (1.4.2) and #121/#124
(1.6.0, which supersedes the abandoned 1.5.0-rc2 lane in #122), plus a
consolidated lock file maintenance line for #109, #116 and #120.

Also corrects two stale claims about the flake pin. The 1.4.0 entry said
the `?ref` pin moved in lockstep with the scaffold; it did so only through
the RC train, and was deliberately returned to the scaffold's floating
default at 1.4.0 final (86a14d6), the RC pins having been validation-only.
The 1.6.0 entry repeated the claim — corrected to record that the input is
still floating, which is what produces the devkit#1263 skew warning.

Refs: #110, #117, #121
c-vigo added a commit that referenced this pull request Aug 5, 2026
Changelog-only. `## Unreleased` stopped at devkit 1.4.0 while `.vig-os`
had advanced to `DEVKIT_VERSION=1.6.0`, leaving six merged PRs
undocumented.

## Added entries

- **devkit 1.4.1** (#110) — RC train rc2 → rc4 → final; scaffold diff vs
1.4.0 is pin-only plus the label-taxonomy header and the `DEVKIT_SYNC_*`
knobs.
- **devkit 1.4.2** (#117) — security-register patch; first consumer to
exercise the vig-os/devkit#1263 pin-lockstep fix.
- **devkit 1.6.0** (#121, #124) — `devkit-upgrade.yml`, the
scaffold-drift CI gate, the new `.vig-os` keys (all left empty), the
Renovate preset exclusion and `release-publish.yml` tombstone detection.
Notes that this lane jumped **1.4.2 → 1.6.0 directly**: 1.5.0 was never
finalized on consumers, so #122 was closed as stale rather than merged.
- **Lock file maintenance** (#109, #116, #120) — consolidated.
Transitive-only: `package.json` is untouched by all three and no direct
dependency range changed.

## Corrected entries

Two entries claimed the `vigos` flake `?ref` pin moved in lockstep with
the scaffold. That was true only through the RC trains — the pin was
deliberately returned to the scaffold's floating default at 1.4.0 final
(`86a14d6`), those RC pins having been validation-only.

The 1.6.0 entry now records the actual state: the input is still
floating, which is what produces the vig-os/devkit#1263 skew warning on
shell load (`.vig-os` at 1.6.0, the flake resolving whatever devkit
`main` is). Whether to pin it again is a separate decision and
deliberately not part of this PR.

## Scope

Documentation only — one file, `CHANGELOG.md`. No source, scaffold,
workflow or dependency change. `src/`, `dist/`, `action.yml`,
`package.json` and `README.md` remain byte-identical to `v0.3.1`.

Refs: #110, #117, #121
c-vigo added a commit that referenced this pull request Aug 5, 2026
…hangelog entry (#132)

## Description

Rebuilds the committed action bundle, which had drifted from `src/` plus
the
current `package-lock.json`, and corrects the changelog entry that
mis-described the drift's cause as harmless.

Found while preparing the v0.3.2 release: the release PR would have
failed its
required `Dist Check` gate.

## Type of Change

- [x] `build` -- Build system or dependency changes
- [x] `docs` -- Documentation only

### Modifiers

- [ ] Breaking change (`!`)

## Changes Made

**`dist/index.js` rebuilt** (`just sync && just bundle`), +146 / -15.
The diff is
entirely inlined dependency code — `src/` is untouched, and has been
since
`v0.3.1`. Two movements reach the bundle:

| Dependency | Movement | Reaches the bundle via | From |
| --- | --- | --- | --- |
| `undici` | `6.27.0` → `6.28.0` | `@actions/core` →
`@actions/http-client`, and `@actions/github` | #109, #116, #120 |
| `@octokit/request` | `10.0.11` → `10.0.13` | `@actions/github` | #129
|
| `@octokit/core` | `7.0.6` → `7.0.7` | `@actions/github` | #129 |

The `undici` delta is request-path hardening: header-value validation
before
coercion (rejecting values produced by a crafted `toString` /
`Symbol.toPrimitive`, and an invalid `content-type` derived from a blob
body),
plus `Content-Length`-mismatch detection on partial/ranged responses.

**Only `dist/index.js` is committed.** The `dist/src/**` declaration
byproducts
are gitignored, yet still tracked from the `v0.3.0` finalize commit (the
vig-os/devkit#1159 force-add bug, since fixed upstream), and they embed
an
absolute `sourceRoot` of
`/home/runner/work/commit-action/commit-action`. A
locally built copy rewrites that to the developer's home path and would
make
CI's `Dist Check` rebuild diff and fail. They were explicitly restored
before
staging.

**Changelog**: corrected the lock-file-maintenance bullet, which
asserted
*"Transitive dev-dependency movement only"* — false, as the table above
shows;
folded in #129, which had no entry at all; and added the `Fixed` entry.

## Changelog Entry

### Fixed

- **The committed action bundle is rebuilt and back in sync with its
lock file**
([#130](#130)).
`dist/index.js` — the artifact `action.yml` actually runs, and therefore
the only thing consumers of a released tag execute — still inlined
dependency versions the lock file had moved past. Nothing rebundled
after the lock-file maintenance PRs, and `dist-check.yml` triggers only
on pull requests to `release/**` and `main` while every dependency PR
targets `dev`, so the drift accumulated unseen. The refreshed bundle
carries `undici` `6.28.0` (header-value validation before coercion,
rejecting values produced by a crafted `toString`/`Symbol.toPrimitive`
and an invalid `content-type` derived from a blob body, plus
`Content-Length`-mismatch detection on partial responses) and
`@octokit/request` `10.0.13` / `@octokit/core` `7.0.7`.

Plus the correction to the existing `Changed` bullet (see diff).

## Testing

- [x] Tests pass locally (`just test`) — 84 passed, 3 suites
- [x] Manual testing performed

### Manual Testing Details

- `just lint` and `just format-check` clean
- Full `prek run --all-files` suite green
- `git status --porcelain -- dist/` clean after a post-commit rebuild,
i.e. the
  same assertion `Dist Check` makes
- Verified the staged set was `dist/index.js` alone, no `dist/src/` path

## 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
- [x] My changes generate no new warnings or errors
- [ ] I have added tests that prove my fix is effective — n/a, no source
change;
      `Dist Check` on this PR's base is the standing gate
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published

## Additional Notes

Two follow-ups this uncovered, both deliberately out of scope:

1. `dist-check.yml` never runs on `dev`, which is exactly why this went
unseen.
Its trigger is devkit-managed, so widening it needs an upstream change.
2. `dist/src/**` should not be tracked at all (it is already gitignored)
—
`git rm --cached dist/src` would end the absolute-path hazard
permanently.

Refs: #130
@vig-os-release-app vig-os-release-app Bot mentioned this pull request Aug 5, 2026
vig-os-release-app Bot added a commit that referenced this pull request Aug 5, 2026
# Release 0.3.2

This PR prepares release 0.3.2 for merge to main.

## [0.3.2] - TBD

### Changed

- **Renovate dependency update**
([#128](#128))
  - Update `globals` from `17.8.0` to `17.9.0`
  - Update `tsx` from `4.23.1` to `4.23.7`
  - Update `typescript-eslint` from `8.65.0` to `8.66.0`
- **Renovate: update `globals` from `17.7.0` to `17.8.0`**
([#119](#119))
- **Renovate: lock file maintenance**
([#109](#109),
[#116](#116),
[#120](#120),
[#129](#129)) — four
scheduled refreshes of `package-lock.json` to the latest resolvable
versions. `package.json` is untouched by all four and every direct
dependency range is unchanged, but the movement is **not**
dev-dependency-only: `undici` (`6.27.0` → `6.28.0`) and
`@octokit/request` / `@octokit/core` are transitive **runtime**
dependencies of `@actions/core` and `@actions/github`, so they ship
inside the bundled `dist/index.js`. See the bundle rebuild under _Fixed_
below.
- **Renovate dependency update**
([#114](#114))
  - Update `eslint` from `10.7.0` to `10.8.0`
  - Update `prettier` from `3.9.5` to `3.9.6`
  - Update `ts-jest` from `29.4.11` to `29.4.12`
  - Update `typescript-eslint` from `8.64.0` to `8.65.0`
- **Renovate: update `astral-sh/setup-uv` from `v8.3.2` to `v9.0.0`**
([#115](#115))
- **Renovate dependency update**
([#113](#113))
  - Update `actions/checkout` from `v7.0.0` to `v7.0.1`
  - Update `ossf/scorecard-action` from `v2.4.3` to `v2.4.4`
- **Renovate: update `github/codeql-action` from `7188fc3` to
`e4fba86`** ([#112](#112))
- **Adopt vigOS devkit 1.6.0**
([#121](#121),
[#124](#124))
- This lane jumps **1.4.2 → 1.6.0 directly**. devkit 1.5.0 was never
finalized on consumers, so the in-flight 1.5.0-rc2 adoption
([#122](#122)) was closed as
stale and superseded rather than merged; the features it carried arrive
here instead. `.vig-os` `DEVKIT_VERSION=1.6.0` with `flake.lock`
re-locked to suit. The `vigos` flake input stays on the scaffold's
floating default (no `?ref`, as of 1.4.0 final), so the dev-shell
toolchain tracks devkit's default branch rather than the pinned scaffold
version.
- **The flake pin was advanced to match**
([#126](#126)). The adoption
above was a pin-only edit, which left the floating `vigos` input locked
at `26e291d` (the 1.5.1 release): the dev shell ran the 1.5.1 toolchain
under the 1.6.0 scaffold, and the shell-entry version-skew warning
(vig-os/devkit#1263) fired on every entry. `nix flake update vigos`
advanced the lock to `ffa7a5f`, the 1.6.0 release commit. The 1.6.0
shell builds, the full hook suite is green, and the warning is gone — so
this release ships with pin and scaffold in lockstep.
- New `devkit-upgrade.yml`, a self-polling upgrade workflow on App-only
auth (vig-os/devkit#1296): it watches devkit's latest release and opens
the adoption PR when this repo's `DEVKIT_VERSION` falls behind.
- New scaffold-drift CI gate (vig-os/devkit#1295) — CI fails when a
managed file is hand-edited or `DEVKIT_VERSION` is bumped without a
matching re-scaffold.
- New `.vig-os` keys, **all left empty (defaults), so no behavior change
here**: `DEVKIT_FEATURES_DISABLED` and `DEVKIT_REFS_POLICY`
(vig-os/devkit#1282, #1284), plus `DEVKIT_AUTO_UPGRADE`,
`DEVKIT_UPGRADE_EXCLUDE`, `DEVKIT_DRIFT_CHECK`.
- The managed Renovate preset now excludes devkit-managed workflows and
actions (vig-os/devkit#1332), so scaffold-pinned action SHAs move by
re-scaffold instead of by Renovate PR.
- `release-publish.yml` gains tombstone (`GH013`) detection
(vig-os/devkit#1319).
- The scaffold re-seeds a `.github/CODEOWNERS` template. It contains
**no active rule** (every line is a comment), so it does not reinstate
the code-owner review requirement deliberately removed in
[#83](#83).
- **Adopt vigOS devkit 1.4.2**
([#117](#117))
- Security-register patch train: unbound CVE exceptions and openssl
block re-verification.
- First consumer to exercise the pin-lockstep fix (vig-os/devkit#1263) —
the upgrade advanced the `vigos` `flake.lock` input `d16541f5` (1.4.0) →
`b884b22b` (1.4.2) alongside the `.vig-os` pin, clearing the skew in
which the dev-shell toolchain lagged the scaffold it was supposed to
match.
- **Adopt vigOS devkit 1.4.1**
([#110](#110))
- Re-scaffold from 1.4.0, validated through the full RC train (rc2 → rc3
→ rc4 → final), each bump re-scaffolded with the RC image and CI-green
in this lane.
- The final scaffold diff vs 1.4.0 is pin-only plus two narrow
additions: a `.github/label-taxonomy.toml` header (vig-os/devkit#1254)
and the `DEVKIT_SYNC_TARGET` / `DEVKIT_SYNC_SCHEDULE` knobs
(vig-os/devkit#1228, both left empty). All other managed files render
unchanged.
- **Adopt vigOS devkit 1.4.0**
([#107](#107))
- Re-scaffold from devkit 1.3.1 to 1.4.0 in direnv mode; `.vig-os`
`DEVKIT_VERSION` and `flake.lock` move in lockstep. Delivery mode, tag
prefix (`v`), and floating tags (`major,minor`) are preserved from
`.vig-os`.
- The `vigos` flake input was pinned to each candidate during RC
validation (`?ref=1.4.0-rc2` → … → `?ref=1.4.0-rc6`) and deliberately
returned to the scaffold's floating default at 1.4.0 final (`86a14d6`),
those RC pins having been validation-only.
- The devkit-managed workflows are zizmor-audited (vig-os/devkit#1182):
`persist-credentials: false` is set on the read-only checkouts (CI,
`codeql.yml`, `renovate-changelog-build.yml`, `sync-issues.yml`), the
`sync-main-to-dev` cleanup step moves its release-app token into `env:`,
and a devkit-owned `zizmor.yml` baseline ships so this repo maintains no
baseline of its own.
- New optional `.vig-os` key `DEVKIT_CI_RUNNER` (vig-os/devkit#1173):
`resolve-toolchain` emits a `runner-json` output and the managed
`ci.yml` toolchain jobs route `runs-on` through it; absent (default)
keeps the hosted `ubuntu-24.04` runner.
- The direnv CI preamble now forwards the flake `shellHook` environment
to CI (vig-os/devkit#1180), and the base `justfile` ships a
`with-native-libs` helper for `uvx` tools with native wheels
(vig-os/devkit#1181).
- `pymarkdown` is packaged in the flake and promoted to a `language:
system` hook (vig-os/devkit#1170); opt-in-only additions (typst `docs`
module #1178, `gitleaks` hook #1172, nix-language support #1171) have no
effect here unless enabled.
- **Adopt vigOS devkit 1.3.1**
([#105](#105))
- Re-scaffold from devkit 1.2.1 to 1.3.1 in direnv mode; pins move in
lockstep (`.vig-os` `DEVKIT_VERSION=1.3.1`, `flake.nix` `?ref=1.3.1`,
`flake.lock` re-locked to the 1.3.1 revision).
- CodeQL push-path filter is now per-language (vig-os/devkit#1142): the
managed `codeql.yml` triggers on `**.ts`/`**.js`/`**.mjs`/`**.cjs` (plus
`.github/workflows/**`) instead of the stale `**.py`.
- The release orchestrator's `extension` caller job now declares the
consumer-seam token ceiling (vig-os/devkit#1144): `contents: read`,
`packages: write`, `id-token: write`, `attestations: write`.
- First upgrade across the 1.3.0 gitignore migration
(vig-os/devkit#1145): the consumer-owned `.gitignore.project` no longer
accretes scaffold-committed filenames or cross-language junk, and
scaffold-committed files stay tracked.
- Managed CI gains a `dependency-review` gate and the release/promote
workflows pick up mergeability and floating-tag-creation hardening; the
TypeScript-major Renovate hold (Refs #101) moves from the managed
`renovate-default.json` into the consumer-owned `renovate.json` so it
survives future re-scaffolds.

### Fixed

- **The committed action bundle is rebuilt and back in sync with its
lock file**
([#130](#130)).
`dist/index.js` — the artifact `action.yml` actually runs, and therefore
the only thing consumers of a released tag execute — still inlined
dependency versions the lock file had moved past. Nothing rebundled
after the lock-file maintenance PRs, and `dist-check.yml` triggers only
on pull requests to `release/**` and `main` while every dependency PR
targets `dev`, so the drift accumulated unseen. The refreshed bundle
carries `undici` `6.28.0` (header-value validation before coercion,
rejecting values produced by a crafted `toString`/`Symbol.toPrimitive`
and an invalid `content-type` derived from a blob body, plus
`Content-Length`-mismatch detection on partial responses) and
`@octokit/request` `10.0.13` / `@octokit/core` `7.0.7`.
- **`dist/` tracks only the shipped artifact again**
([#134](#134)). The
TypeScript declaration byproducts under `dist/src/` have been gitignored
since [#70](#70), but the
v0.3.0 finalize commit re-added them — the vig-os/devkit#1159 bug, in
which the release step walked a bare `dist` directory path and
force-added every file it found without consulting `.gitignore`. devkit
fixed that upstream, but the tracked residue survived here. Each
`.d.ts.map` embeds an absolute `sourceRoot` pointing at the CI runner's
checkout path, so a rebuild anywhere else reported six modified files
and the "deterministic across checkout locations" property that
`dist-check.yml` and `release-extension.yml` both rely on held only by
coincidence of build location. `git rm -r --cached dist/src` clears it:
`dist/index.js` and `dist/package.json` are once again the only tracked
paths, `just bundle` leaves a clean tree on any machine, and the
finalize commit no longer writes runner paths into each release tag.
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.

1 participant