Skip to content

chore(deps): handlebars 4.7.9 → 4.7.10 in package-lock.json (Dependabot #85, #86) - #492

Merged
Alajmah merged 1 commit into
masterfrom
chore/deps-handlebars-4.7.10
Nov 22, 2026
Merged

Alajmah merged 1 commit into
masterfrom
chore/deps-handlebars-4.7.10

Conversation

@Alajmah

@Alajmah Alajmah commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Authorized lockfile-only update (1 of 2). Single commit on master bba0a08. Opened for review; not merged — merging needs a separate approval.

Closes Dependabot alerts #85 and #86: handlebars 4.7.9 → 4.7.10 in the root package-lock.json.

What changes

One entry in one file. Four lines:

Field Before After
version 4.7.9 4.7.10
resolved …/handlebars-4.7.9.tgz …/handlebars-4.7.10.tgz
integrity sha512-4E71E0… sha512-P5VJMV…
dependencies.minimist ^1.2.5 ^1.2.8

The locked minimist is already 1.2.8, so the wider range resolves to the version already in the tree. No package.json changes. No other lock entry changes — checked structurally against master, not only by line diff.

Why this package, and why it is safe

  • handlebars reaches the tree only through ts-jest@29.4.12, the TypeScript preprocessor of the dashboard's test runner. No package depends on it directly.
  • 4.7.10 is the first patched version and satisfies ts-jest's declared ^4.7.9.

How the entry was produced

npm update handlebars --package-lock-only was run on a scratch copy of the manifests, and its result was compared with master entry by entry. npm also rewrote one unrelated entry — the lock's mirror of packages/demo-dashboard (next 15.5.24 → 15.5.28). That rewrite is not included: it is a pre-existing drift outside this authorization, recorded below.

Validation

Check Result
npm audit --package-lock-only, master 18 findings: 17 moderate, 1 critical
npm audit --package-lock-only, this branch 17 findings: all moderate. handlebars gone; nothing added; no range changed
npm ls handlebars --package-lock-only ts-jest@29.4.12 → handlebars@4.7.10
npm ci --dry-run on a scratch copy accepted (exit 0)
Runtime smoke 4.7.10 loads and compiles the real ts-jest config template

Not run locally: npm ci and the test suites on Linux. CI's dashboard-tests job installs this lockfile and runs the dashboard suite through ts-jest, which is the only consumer of the package.

What this does not change

  • No production image. The docs image and the app, dashboard, bot, executor and plugin-sandbox images omit development dependencies, so none of them carries handlebars.
  • The pinned validator image is not rebuilt. It installs the development tree on purpose and keeps its baked-in copy of 4.7.9. Removing it there needs a rebuild and a new pinned digest — a separate change-controlled decision. This pull request does not touch it.

Outside this authorization — recorded, not fixed

  • The lock's mirror of packages/demo-dashboard records next 15.5.24, while packages/demo-dashboard/package.json declares 15.5.28 and the lock installs 15.5.28. It is the only workspace with such a drift, and it entered in 89d5e51 (PR fix(auth): remove stale query-param comment — limiter identity chain v9 #464 — a dependency bump in the manifest without the lock mirror). npm tolerates it; it is cosmetic today.

Triage record: issue #425, comment 7079168276.

#85, #86)

Lockfile-only. handlebars is a development transitive dependency of
web-dashboard (through ts-jest), and 4.7.9 is affected by two critical
advisories: GHSA-p8wg-vrv2-v86f (CVE-2026-106445) and GHSA-8r5x-fm3f-whwj
(CVE-2026-106446). 4.7.10 is the first patched version and lies inside
ts-jest's declared range ^4.7.9.

Exactly one lock entry changes: version, resolved, integrity, and the
minimist range (^1.2.5 → ^1.2.8; the locked minimist is already 1.2.8).

This changes no production image. The pinned validator image is not
rebuilt and keeps its baked-in copy until a separate change-controlled
rebuild.

Validation: lockfile audit goes from 18 findings (17 moderate, 1 critical)
to 17 (all moderate); only handlebars leaves the list. npm ci --dry-run
accepts the lockfile.

Signed-off-by: Alajmah <55954113+Alajmah@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-22T15:08:04.192769Z
We couldn’t complete this review. Comment @codex review to try again.
c5d4932 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@Alajmah

Alajmah commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Checks at head c5d4932a12e7b47b81c6b4cde243d0a740d8bdb4

Check Result
CI 19 checks pass; 2 skipped as on every pull request
Mergeable MERGEABLE / CLEAN

Not merged. Opened under the 2026-11-22 authorization to create two lockfile-only pull requests; merging needs a separate approval.

@Alajmah
Alajmah merged commit a1b3665 into master Nov 22, 2026
21 checks passed
@Alajmah

Alajmah commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

DEPLOYED — a1b36657b79d1e7eabd835530b9299f13e4f44ca is live

Merge

  • Merged at head c5d4932a12e7b47b81c6b4cde243d0a740d8bdb4, reconfirmed first: CLEAN, 19 checks pass, base bba0a08.
  • Squash commit a1b36657b79d1e7eabd835530b9299f13e4f44ca; tree identical to the PR head; DCO sign-off preserved. The merged lockfile holds handlebars 4.7.10.
  • Master CI 45041482864: success. CodeQL 45041482859: success.

Deployment 45042116742 — SUCCESS

Gate Result
/health.git_sha a1b36657b79d1e7eabd835530b9299f13e4f44ca — exact
Containers 10/10 up; 9 healthy, 0 unhealthy, plus the tunnel
PostgreSQL / Redis healthy / healthy
Migrations 49 applied
Release image identity app f86c11aa3e8e, executor c891d38d4dc3, dashboard 45842933a319: record reference = container's created-with reference = image ID
Rollback chain bba0a08, f7d3987, 88d6a7c: 3 references each, 0 missing
Validator already present locally; its only record …:recovered is identical before and after
Secondary pins gitwire-local/{bot,landing,docs,demo}:pre-immutable resolve to the same image IDs
webhook_ingress integrity coherent: evidence_reliable: true, overdue 0
Tunnel /health HTTP 200

Retention stage — second production run

[image-retention] protected refs: 13 (mandatory: 4); cleanup-eligible repos: 3
[image-retention] decision: kept=24 protected=13 mandatory_ok=true rollback=0 unmanaged_kept=0 remove=3
[image-retention] removal: 3 succeeded, 0 failed (failures visible — investigate if nonzero)
[image-retention] done; free space: 31G

0 lock-warning lines, 0 Permission denied, 0 emitted ::error::.

The inventory was captured before the merge and after the deployment. Removed — exactly the predicted set, the fourth-oldest release:

Release Service Digest
c94d636 app sha256:99f5fae46666aa5d446871ba118a4c33be6758fde0158279bf38dbd6aa2f4c9a
c94d636 executor-service sha256:d0bcbe1b3cb1c2dc4c7adf042d9768c3c28f09b6d28fd6b5f04e0588f9f72350
c94d636 dashboard sha256:0d29d0dbb25d97ce8c1ea6e73a7859f99e528dbd58abcd64953abaa62115beb3

Each no longer resolves by its full reference. 3 images removed, 3 added, 24 rows before and after.

Correction to the wording of this pull request

The description says "This changes no production image". That was imprecise. A merge to master publishes a release and rebuilds the release images (app, executor-service, dashboard), and this merge did. What the change does guarantee is narrower: the pinned validator image is not rebuilt and its digest is unchanged — shown above by the validator line of the deploy log and by the image record before and after.

Dependabot alerts #85 and #86 should close on Dependabot's next scan of the default branch; they are not confirmed closed by this comment.

@Alajmah

Alajmah commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Confirmed after the deploy: Dependabot alerts #85 and #86 both report fixed (fixed_at 2026-11-22T16:01:37Z). Alert #105 (vite) remains open, as expected — it has no lockfile-only fix.

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