Skip to content

fix(v5.1.0): pin tauri CLI to 2.12.4 for unsigned release builds - #399

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/pin-tauri-cli
Nov 27, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
fix/pin-tauri-cli

Conversation

@ohgeeceee

Copy link
Copy Markdown
Owner

What changed

  • @tauri-apps/cli pinned to exactly 2.12.4 (package.json + lock) — the version that shipped the unsigned v5.0.1 release.
  • release.yml comment updated with the full picture and restore steps.

Why

Run 45995338192 failed at Build and release on both platforms:

A public key has been found, but no private key. Make sure to set `TAURI_SIGNING_PRIVATE_KEY` environment variable.

tauri-cli 2.12.6 hard-fails when tauri.conf.json carries an updater pubkey and no usable private key — in both states (malformed secret: run 45990837771; no secret env: run 45995338192). CLI 2.12.4 warns and ships unsigned, which is exactly how v5.0.1 reached production (Signature not found for the updater JSON. Skipping upload...).

Verification

Follow-up

After merge, tag v5.1.0 moves to the new main HEAD and the release is re-dispatched (the tag's source must carry this pin). Restore path for signed updates is documented in release.yml and on #398.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: cc5e1f1d8ceedb9987a51c47bce400982bce85d1

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 3 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

tauri-cli 2.12.6 hard-fails the release build in both signing states:
malformed TAURI_SIGNING_PRIVATE_KEY ('Missing comment in secret key')
and no key at all ('A public key has been found, but no private key').
v5.0.1 shipped unsigned successfully on CLI 2.12.4, which warns and
continues. Pin the CLI to that exact version until the signing secret
is reset; see the comment in release.yml for the restore steps.
@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: cc5e1f1d8ceedb9987a51c47bce400982bce85d1

PR taxonomy review recommended (neutral)

Detected 3 PR taxonomy bucket(s): Security Evidence, Install Manifest Integrity, CI/CD Recommendation.

Scanned 3 changed file(s).

Roadmap taxonomy buckets:

Security Evidence

Security-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence.

Signals:

  • 1 security-sensitive path(s) changed

Paths:

  • .github/workflows/release.yml

Install Manifest Integrity

Install manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance.

Signals:

  • 2 install or manifest path(s) changed

Paths:

  • package-lock.json
  • package.json

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • CI workflow changes may ship without failure-mode evidence
  • 3 CI or workflow path(s) changed

Paths:

  • .github/workflows/release.yml
  • package-lock.json
  • package.json

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: cc5e1f1d8ceedb9987a51c47bce400982bce85d1

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 3 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: cc5e1f1d8ceedb9987a51c47bce400982bce85d1

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 3 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Config Audit

Commit: cc5e1f1d8ceedb9987a51c47bce400982bce85d1

No changed-config issues detected (success)

Scanned 1 config file(s) present at this commit across 1 changed config path(s) and found no issues in the supported security rules.

Changed config files:

  • .github/workflows/release.yml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Harness Audit

Commit: cc5e1f1d8ceedb9987a51c47bce400982bce85d1

No harness issues detected (success)

Scanned 1 changed config file(s) and found no harness issues.

Changed config files:

  • .github/workflows/release.yml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@github-actions
github-actions Bot merged commit f592694 into main Nov 27, 2026
17 checks passed
@github-actions
github-actions Bot deleted the fix/pin-tauri-cli branch November 27, 2026 12:23
github-actions Bot pushed a commit that referenced this pull request Nov 27, 2026
## What changed
- Fresh minisign keypair generated; private key stored in
`TAURI_SIGNING_PRIVATE_KEY` repo secret (passwordless;
`TAURI_SIGNING_PRIVATE_KEY_PASSWORD` set to empty).
- `src-tauri/tauri.conf.json`: updater pubkey replaced with the new
public key.
- `.github/workflows/release.yml`: signing env lines restored with an
explanatory comment.
- CLI pin reverted: `@tauri-apps/cli` back to `^2.12.6` (valid key makes
2.12.6 work).

## Root cause (fully confirmed)
The updater config is **new in the v5.1.0 cycle** — v5.0.1's
`tauri.conf.json` has no `plugins.updater` block at all, which is why it
shipped unsigned without errors. The matching private key was never in
repo secrets (the secrets API listed only `ANTHROPIC_API_KEY`).
tauri-cli refuses to build with a configured pubkey and no private key
in **both** 2.12.4 and 2.12.6, so neither dropping the env vars (#398)
nor pinning the CLI (#399) could work.

Rotating the pubkey is safe: no released install contains the old one.

## Verification
- Private key file validated as proper base64 minisign format before
upload; both secrets created via API (HTTP 201).
- JS suite: 1165 pass / 1 known local CRLF-only artifact (Cargo.lock
line endings; committed blob is LF, CI green on this check
historically).

## After merge
Move tag v5.1.0 to the merged commit and let the tag push run the
release. Expected: signed bundles (`.sig`), `latest.json` uploaded,
draft auto-published. This supersedes the unsigned-fallback tracking
comment on #398.
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