Skip to content

docs(apt): say plainly what [trusted=yes] gives up - #39

Merged
vietanhdev merged 1 commit into
mainfrom
docs/apt-trust-note
Jul 20, 2026
Merged

docs(apt): say plainly what [trusted=yes] gives up#39
vietanhdev merged 1 commit into
mainfrom
docs/apt-trust-note

Conversation

@vietanhdev

Copy link
Copy Markdown
Owner

The download page hands users [trusted=yes] — which disables apt's signature verification entirely — next to a package that installs a root-invoked fan helper, with no indication that either fact is true.

Follow-up to #35, which added the signing machinery. Until a key is configured the repository really is unsigned, so the flag is still correct; it just shouldn't be silent.

  • States what the flag actually does
  • Offers the manual .deb path for anyone unwilling to take that trade (giving up automatic updates)
  • Links to the signing doc
  • Adds apt-signing to the Development sidebar — it shipped in security(apt): sign the published APT repository #35 but was reachable only by knowing the URL

The instructions revert to signed-by= on their own once a key exists: the release workflow generates that page from whichever form it actually published, so there's no second place to remember to update.

Docs build passes (vitepress fails on dead links, so the new sidebar link resolves).

The install instructions hand users a flag that disables apt's signature
verification, next to a package that installs a root-invoked helper, with
no indication that either fact is true.

States what the flag does, offers the manual .deb path for anyone not
willing to take that trade, and points at the signing doc. Also adds
apt-signing to the Development sidebar -- it shipped in #35 but was
reachable only by knowing the URL.

These instructions revert to signed-by= automatically once a signing key
is configured; the release workflow generates the page from whichever
form it actually published.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
thinkutils 9e60436 Jul 20 2026, 03:23 AM

@vietanhdev
vietanhdev merged commit f534208 into main Jul 20, 2026
9 of 10 checks passed
@vietanhdev
vietanhdev deleted the docs/apt-trust-note branch July 20, 2026 03:30
vietanhdev added a commit that referenced this pull request Jul 20, 2026
The concurrency block intended never to cancel on main -- the comment said
so -- and did the opposite:

  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

The expression renders to the STRING "false", and a non-empty string is
truthy in that position, so main was cancelled like any other ref. It
failed silently for exactly as long as nobody merged twice in quick
succession.

Four main runs were cancelled during this batch of merges (#36, #37, #39,
#32), each with ZERO jobs recorded -- so those commits have no evidence
they ever built. The runs that were supposed to be the record of what
shipped are the ones that got killed.

Encoding the rule in the concurrency GROUP is unambiguous: on main the SHA
gives every run its own group, so there is nothing to supersede; every
other ref keeps a per-ref group, so a force-push still cancels the old run.

tests/workflow_concurrency.rs guards both halves -- an expression-valued
cancel-in-progress, and a group that lost its per-SHA component (which
with cancel-in-progress: true would cancel main on every push, strictly
worse than the bug it replaced). Mutation-verified: restoring the original
two lines fails both.

118 tests.
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