* Switch on supervised nightlies on the nightly-signer branch
* nightly-tests: check the Sonar gate shape the candidate contract admits
`packaging/nightly-release-tests.py` gains test_sonar_policy_keeps_the_shared_candidate_contract,
which mirrors the Sonar rules the pinned candidate contract() applies - non-empty issue scope,
accepted failures one-to-one with the issue types, one condition per gate metric, all six live gate
conditions, the reviewed A threshold and the A..E bound - so this tree refuses the shape before a
nightly run reaches admission.
* nightly: re-pin the shared workflow to the Windows and macOS registry rows
craft-common-actions main is now `fc7124a1defa96813aee060031dc8b4d2afa3652`: #370 admits this
app's Windows and macOS nightly registry rows, on top of #369 (shared helper checkouts kept out of
the app's clean-source check, and macOS on `macos-15`), which follows #364 and #363.
Both callers name it in `uses` and `tooling-revision`, the policy names it as
`producer_tooling_revision`, `signer_tooling_revision` and `producer_workflow_ref`, and the
activation notes record what the pin is.
Checked at that commit: the candidate `contract()` for this policy, `nightly_app.admit` on `main`
and on `nightly-signer`, all three platform targets with their release-ref plug-ins and
entrypoints, and this app's packaging suites.
* nightly: re-pin the shared workflow to the exact-analysis admission
craft-common-actions main is now `be00e5ccd18b68e950c8a08532f2230e7c3d0cba`: #371 admits a
candidate on the built commit's own Sonar analysis instead of main's latest, after #370 (the
Windows and macOS registry rows) and #369 (helper checkouts kept out of the clean-source check,
macOS on `macos-15`), which follow #364 and #363.
Both callers name it in `uses` and `tooling-revision`, the policy names it as
`producer_tooling_revision`, `signer_tooling_revision` and `producer_workflow_ref`, and the
activation notes record what the pin is.
Checked at that commit: the candidate `contract()` for this policy (its rules are unchanged by
#371), `nightly_app.admit` on `main` and on `nightly-signer`, all three platform targets with their
release-ref plug-ins and entrypoints, and this app's packaging suites.
* nightly-tests: read quoted flow keys, and state the signer-environment prerequisite
The trust-closure flow-mapping reader split its masked copy, so a quoted key (`{"environment":
release}`, `{'uses': ...}`) became `''` and the scan accepted a route it must refuse. It now splits
the original bracket-free mapping and keeps the mask only for the shape check. New cases cover a
double- and single-quoted `environment` key, a quoted `uses` key, and a harmless quoted key that
must still be read rather than masked.
The activation notes and the signer caller said the `release` environment already trusts
`nightly-signer`. It admits only `release` today, so both now state that the environment must
admit `nightly-signer` before the first dispatch.
* nightly: pin signer tooling, forward signing secrets, and fix macOS notice layout
---------
Co-authored-by: skylartaylor <hi@skylar.cc>
Review: a standalone Alt was read as its physical key and left to the browser;
a one-frame sequence was announced as a ZIP; an archive that could not be made
was announced as a success.
In a real browser (headless Chrome): a picked file with the name of an open
document was refused as already open; a PNG or SVG sequence lost most of its
frames to the browser's limit on a run of downloads (now one ZIP); F5, Ctrl+R
and other editor shortcuts were acted on by the browser (F5 reloaded the page).
The workspace version is already 0.3.0 (#349) and v0.3.0 was never tagged, so this
release is 0.3.0. Moves the Unreleased changelog under a 0.3.0 section and adds the
last merged changes (#633, #664, #665, #669, #672).
* ci: notify artcraft-services on release state changes
* ci: pass only the dispatch token to the notify-services workflow
secrets: inherit hands the called workflow every repository secret, including
the signing credentials. The reusable workflow only reads
ARTCRAFT_SERVICES_DISPATCH_TOKEN, so map just that one.
---------
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
forget_pictures cleared the queue and the cache under two separate locks, and the worker read the cache's clear count only after it had taken a batch from the queue. A batch taken before the queue was cleared could therefore read the count after the cache was cleared, and its pictures of the forgotten document were kept. The cache is now cleared while the queue is held, and the worker reads the count while it still holds the queue, so a batch taken before a clear always sees the older count.
Nightly launch fix under Skylar's Exec 454: the Launcher's trailing `--` no longer reaches the file list where that applied, and a refused launch no longer blocks on macOS (the reason goes to stderr and the app exits 2).
Renders the plain nightly tar's launcher from craft-common-actions' shared template.
Independent check: dylanmtaylor compared all 14 app launcher PRs byte for byte with the template rendered from the registry (https://github.com/storytold/craft-common-actions/pull/367#issuecomment-7172085284); this head was re-checked against craft-common-actions main 88148a5.
The red CodeQL Analyze (actions, javascript-typescript, python) checks are code-scanning upload failures from the repo's default-setup config, not required and not caused by this packaging-only change.