gate (ubuntu) failed on `app_dirs::tests::permanent_probe_does_not_replace_an_existing_entry`:
the write probe now takes a fresh name per attempt (so a probe left behind by an
interrupted launch cannot make a writable profile look unwritable), but the test
still planted the old fixed `.deckcraft-write-probe` and expected the check to
fail. The test now covers what the probe guarantees: an existing entry at the
probe's name is left byte-for-byte intact and the probe takes the next name, all
eight names taken is an error rather than a truncation, and a successful check
leaves nothing behind.
The tar launcher answers --version/--help before the data-folder check, so a
query is not turned into an error, and the recorder test covers it.
The write probe uses a fresh name per attempt, so a probe left behind by an
interrupted launch cannot make a writable profile look unwritable. The profile
validator also fences Dictionaries/user.dic, so a link there cannot append
words to the stable app's dictionary.
The exit-hook test runs in a child with DECKCRAFT_NO_PREFS=1, nightly.ps1
passes -TargetDir to Cargo, the Windows signing fixture derives its source
identity from the checkout, and the release tests reject a concurrency block
on the producer. The Flatpak bundler documents which of the two ids is the
bundle id and which is the window id.
nightly_compile_gui refuses signing configuration before cargo. The archive
header keeps the validated stage name, so a stage symlink cannot rename a
member.
docs/nightly-release-preparation.md records that the pinned shared producer
and signer admit only PhotoCraft, so that port is a go-live prerequisite.
The lint job shellchecks every packaging script and failed on SC2016 in
packaging/linux/nightly-launch-test.sh, which greps the launcher for the literal
`[ "$here" = /usr/bin ]`. The `$here` is text being searched for, not a variable
to expand, so disable SC2016 on that line with the same directive package.sh uses.
- rustfmt: module order in ui-egui; the dead app_dirs::is_override and the
Flatpak-id cmp_owned are gone, and `cargo fmt --check` is clean.
- ATTRIBUTION.md: rows for the nightly icons and their provenance file, so
`cargo xtask assets` matches every file under assets/.
- Every Linux format now starts through one packaging/linux/nightly-launch.sh:
the flat tar's `deckcraft` + `deckcraft-bin`, the nightly FHS tree's
bin/deckcraft-nightly + bin/deckcraft-bin, /usr/bin/deckcraft-nightly
reaching the fixed /usr/lib copy, the AppImage's AppRun and usr/bin copy,
the Arch handoff and the Flatpak's /app/bin. Version/help and an existing
--launch-profile pass through, a caller's `--` never becomes a file name,
and no parent-relative path is used. The heredoc copies and
nightly-arch-launch.sh are gone.
- The nightly Flatpak installs that launcher and the renamed GUI, starts
`command: deckcraft-nightly` and names it in the metainfo; the bundle step
now requires both members of the nightly tarball.
- Nightly never touches the stable updater: the launch identity is sampled
into the update runtime, Help > Check for Updates... answers "DeckCraft
Nightly is updated by ArtCraft Launcher", and tick/show/start_pending_update
are inert.
- Coverage: build_channel's tests compile into the app test target, the
entrypoint and build scripts leave the sonar coverage measurement, and new
tests cover the data-root decisions, the profile install/validate pair and
the CLI's refusal of the desktop protocol (plus no macOS-local exit test).
Checked: packaging/nightly-tests.py (48), both launcher recorder suites,
bash -n and sh -n, cargo fmt --check, cargo metadata --locked, and a stub
render of package.sh's nightly tar and deb plus the Flatpak manifest. No local
cargo check or clippy: the capacity gate never opened (load1 18-39).
Land on top of #2350 so the nightly package is co-installable in every format.
The deb/rpm wrapper, a new AppImage AppRun script, the Arch launcher, a new
bin/deckcraft-nightly launcher in the Flatpak tree (used by its desktop entry)
and a new deckcraft-nightly launcher inside the plain nightly tar all start the
app with --launch-profile nightly-v1 and a profile under
$XDG_DATA_HOME/deckcraft-nightly/launcher/profiles/deckcraft, beside the fenced
stable boundary. A bare --version is still a version query.
nightly-common.sh now checks the exact "DeckCraft <version> (nightly-v1)" line
the build prints. Nightly metainfo drops its mediatypes in the deb/rpm and
Flatpak trees, the Arch launcher test expects the profile arguments, and the
nightly archive policy allows and requires the launcher.
Found and fixed with one capped cargo check: begin_with_health is a Session
method, not a free function.
Bases on Dylan M. Taylor's #2350 (Linux nightly packaging, the callers, the
installed policy and its contract tests) instead of duplicating it.
Adds the Nightly app-side pieces: DECKCRAFT_BUILD_CHANNEL=nightly-v1 with the
prepared version, the ai.storyteller.deckcraft.nightly package/bundle id and the
nightly-v1 window/AUMID, the Launcher launch-profile protocol with the early
--version answer, and a validated profile root covering every piece of user
state (ui.json/prefs.json, logs, AutoRecover, the user dictionary and the
session lease/record) with no stable fallback. FLATPAK_ID is accepted only for
DeckCraft Nightly's own Flatpak instance.
Windows gains nightly.ps1 plus package.ps1 -Nightly/-BuildOnly and
sign.ps1 -Required/-CheckOnly/-CheckBuildEnvironment with their synthetic suites;
macOS gains the unsigned bundle, signer and verifier with their tests; both get
deeper-background icons and provenance. One line of Dylan's nightly-common.sh is
tightened to the exact version line the desktop now prints.
Ports Skylar's (@skylartaylor) storytold/photocraft#16594 (Enable nightly
for supervised manual runs) to DeckCraft:
- Add .github/nightly-signing-policy.json (v3 policy adapted for
storytold/deckcraft, repository_id 1408294296, ci.yml workflow 377160704,
storytold_deckcraft Sonar project, and reviewed manual_actors).
- Add .github/workflows/nightly.yml and .github/workflows/nightly-sign.yml
pinned to craft-common-actions @605d58766e8f536564da8fc81d3676ac86816dea
with exact context guards and manual dispatch only.
- Add docs/nightly-release-preparation.md and
packaging/nightly-release-tests.py adapted for DeckCraft.
Credit to Skylar (@skylartaylor) for the original implementation in
storytold/photocraft#16594.
Co-authored-by: skylartaylor <hi@skylar.cc>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.