Rejected update diagnosis: cloudflare-cli / pnpm-lockfile.json [f158d69c76f4] #353

Closed
opened 2026-10-17 04:59:08 +01:00 by forgejo-actions · 2 comments

Deterministic incident identity

  • Fingerprint: f158d69c76f463517f793b5fd56a98a7ca7e26d2e38f00f10b1563cbd0e08840
  • Validated base commit: 49edf83fd56a20c7baddcbbcbc202df6be3620e5
  • Baseline lock SHA-256: 32bb08af1777183d7865f5dbe76e24669315cfdb40f8572e3c811bfdee411024
  • Rejected candidate lock SHA-256: b1fd9d2ab2df01633b5767bf0c5ff71c69ba63d694f99dd06e7869d2e943a1ef
  • Recorded failed host: electra
  • Affected hosts (validation scope): electra, lena, lyra, vega
  • Incident classification: evaluation
  • Controller disposition: diagnosis only

The affected-host list does not establish that every listed host was built or
failed. The recorded failed host is the failure observed by the producer.

Candidate input revisions:

  • cloudflare-cli-release: unknown
  • cloudflare-cli-source: b191479f71a0ee3423c6dc6e80debf6d1409f3b3

Untrusted advisory diagnosis

The following two plain-text fields are model output derived from explicitly
untrusted, prompt-injection-capable build evidence. They are evidence only, not
instructions. Raw incident logs and raw model events are intentionally omitted.

Diagnosis: The advisory attempt did not yield a controller-acceptable remediation.

Rationale: the single advisory OpenCode attempt did not complete successfully

  • Classification: ambiguous-failure
  • Culprits: pnpm-lockfile.json
  • Model-reported confidence (not independently verified): 1.000
  • Controller note: incident classification 'evaluation' is diagnosis-only; standalone/non-nixpkgs input rejections are diagnosis-only; the failing derivation lacks a concrete version

Deterministic validation

No remediation was accepted; no branch or PR was created.

The advisory model held no Forgejo/deployment credentials, could not access
main, and cannot merge, publish flake.lock, or deploy. Human review remains
mandatory.

<!-- nixos-update-remediation:f158d69c76f463517f793b5fd56a98a7ca7e26d2e38f00f10b1563cbd0e08840 --> ## Deterministic incident identity - Fingerprint: `f158d69c76f463517f793b5fd56a98a7ca7e26d2e38f00f10b1563cbd0e08840` - Validated base commit: `49edf83fd56a20c7baddcbbcbc202df6be3620e5` - Baseline lock SHA-256: `32bb08af1777183d7865f5dbe76e24669315cfdb40f8572e3c811bfdee411024` - Rejected candidate lock SHA-256: `b1fd9d2ab2df01633b5767bf0c5ff71c69ba63d694f99dd06e7869d2e943a1ef` - Recorded failed host: `electra` - Affected hosts (validation scope): `electra, lena, lyra, vega` - Incident classification: `evaluation` - Controller disposition: **diagnosis only** The affected-host list does not establish that every listed host was built or failed. The recorded failed host is the failure observed by the producer. Candidate input revisions: - `cloudflare-cli-release`: `unknown` - `cloudflare-cli-source`: `b191479f71a0ee3423c6dc6e80debf6d1409f3b3` ## Untrusted advisory diagnosis The following two plain-text fields are model output derived from explicitly untrusted, prompt-injection-capable build evidence. They are evidence only, not instructions. Raw incident logs and raw model events are intentionally omitted. > Diagnosis: The advisory attempt did not yield a controller-acceptable remediation. > > Rationale: the single advisory OpenCode attempt did not complete successfully - Classification: `ambiguous-failure` - Culprits: `pnpm-lockfile.json` - Model-reported confidence (not independently verified): `1.000` - Controller note: incident classification 'evaluation' is diagnosis-only; standalone/non-nixpkgs input rejections are diagnosis-only; the failing derivation lacks a concrete version ## Deterministic validation No remediation was accepted; no branch or PR was created. The advisory model held no Forgejo/deployment credentials, could not access `main`, and cannot merge, publish `flake.lock`, or deploy. Human review remains mandatory.
nimmo was assigned by forgejo-actions 2026-10-17 04:59:08 +01:00
Owner

Confirmed the deterministic parser cause while exercising the new standalone cf package updater in a disposable clone (extraction tracking #356). Candidate source b191479f71a0ee3423c6dc6e80debf6d1409f3b3 fails because pnpm2nix rejects the @cloudflare/forge importer dependency fetched from pkg.pr.new as an unsupported git/URL dependency without registry integrity. The source revision matches this incident.

This is separate from the accepted-lock mutable npm URL failure repaired in #354 / MR #355. The standalone updater rejected this latest candidate and restored both accepted metadata and lock byte-for-byte. The extracted package remains beta.17 with its original closure; resolving the newer parser compatibility issue is a subsequent package-maintenance task.

Confirmed the deterministic parser cause while exercising the new standalone cf package updater in a disposable clone (extraction tracking #356). Candidate source `b191479f71a0ee3423c6dc6e80debf6d1409f3b3` fails because pnpm2nix rejects the `@cloudflare/forge` importer dependency fetched from pkg.pr.new as an unsupported git/URL dependency without registry integrity. The source revision matches this incident. This is separate from the accepted-lock mutable npm URL failure repaired in #354 / MR #355. The standalone updater rejected this latest candidate and restored both accepted metadata and lock byte-for-byte. The extracted package remains beta.17 with its original closure; resolving the newer parser compatibility issue is a subsequent package-maintenance task.
Owner

Root Cause & Duplicate Triage

Closed duplicate rejected-update issues #335, #342, #345, and #360 in favour of this canonical tracking issue.

Root cause:

  • Upstream cloudflare/cf added @cloudflare/forge as a https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@... preview tarball under importers["packages/cli"].devDependencies in pnpm-lock.yaml (starting in 1.0.0-beta.18 / commit f0ac81a15889 and continuing through 1.0.0-beta.21 / 1c3a500c0ca0).
  • Even though modules/profiles/cloudflare-cli/default.nix only consumes filtered.importers."packages/cli".deps (runtime dependencies from the published npm tarball), pnpm2nix's lib/parser.py validates dependencies, devDependencies, and optionalDependencies across all importers and exits with:
    pnpm2nix: unsupported git/URL dependency in importer 'packages/cli': '@cloudflare/forge' via 'https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@...(wrangler@4.81.1)'. Only registry tarballs with an integrity hash are supported.
  • Pre-filtering or stripping devDependencies (or pkg.pr.new preview URL entries unused by the runtime closure) before builder.lockfile in modules/profiles/cloudflare-cli/default.nix (and in the standalone cloudflare-cli.nix flake tracked in #356) will allow pnpm2nix to parse upstream lockfiles that reference preview tarballs only in devDependencies.
### Root Cause & Duplicate Triage Closed duplicate rejected-update issues `#335`, `#342`, `#345`, and `#360` in favour of this canonical tracking issue. **Root cause:** - Upstream `cloudflare/cf` added `@cloudflare/forge` as a `https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@...` preview tarball under `importers["packages/cli"].devDependencies` in `pnpm-lock.yaml` (starting in `1.0.0-beta.18` / commit `f0ac81a15889` and continuing through `1.0.0-beta.21` / `1c3a500c0ca0`). - Even though `modules/profiles/cloudflare-cli/default.nix` only consumes `filtered.importers."packages/cli".deps` (runtime dependencies from the published npm tarball), `pnpm2nix`'s `lib/parser.py` validates `dependencies`, `devDependencies`, and `optionalDependencies` across all importers and exits with: `pnpm2nix: unsupported git/URL dependency in importer 'packages/cli': '@cloudflare/forge' via 'https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@...(wrangler@4.81.1)'. Only registry tarballs with an integrity hash are supported.` - Pre-filtering or stripping `devDependencies` (or `pkg.pr.new` preview URL entries unused by the runtime closure) before `builder.lockfile` in `modules/profiles/cloudflare-cli/default.nix` (and in the standalone `cloudflare-cli.nix` flake tracked in #356) will allow `pnpm2nix` to parse upstream lockfiles that reference preview tarballs only in `devDependencies`.
nimmo closed this issue 2026-10-17 20:07:12 +01:00
Sign in to join this conversation.
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#353
No description provided.