Second commit on top of Dylan Taylor's #4154; his commits, names and files stay his.
The Nightly build refuses EFFECTCRAFT_CONFIG_DIR (its state root comes from the Launcher), so his
wrappers, which export that variable, would have been refused at startup. Every one of them now
passes the protocol instead - `--launch-profile nightly-v1 --profile-root <dir> --`:
- the deb/rpm GUI wrapper in packaging/linux/package.sh, plus a wrapper for its headless CLI;
- the AppImage AppRun (a script, not the stable symlink), and its CLI;
- the Flatpak wrapper in packaging/linux/flatpak-bundle.sh;
- the Arch launcher, with its test updated;
- and a new launcher inside the flat Nightly tar (packaging/linux/nightly-launch.sh), which stages
the GUI as `effectcraft-bin`; the archive helper allows and requires exactly that one extra member.
The profile folder is `${XDG_DATA_HOME:-$HOME/.local/share}/effectcraft-nightly` everywhere: outside
every stable boundary and inside the Nightly Flatpak's own sandbox home. Each launcher passes a
first-argument --version/-V, and an already-supplied --launch-profile, through unchanged, because
after the injected `--` both would be file names.
build.rs now reads EFFECTCRAFT_VERSION and falls back to EFFECTCRAFT_OVERRIDE_VERSION, which is what
this repo's packaging scripts export, so the binary reports the prepared identity and
nightly-common.sh's exact `EffectCraft <version> (nightly-v1)` check can pass.
profile_root accepts exactly the Nightly's own Flatpak instance (ai.storyteller.effectcraft.nightly)
and refuses every other, with a test; before, any FLATPAK_ID was refused and the Nightly Flatpak
could not start inside its own sandbox.
Cargo.lock's effectcraft entry names thiserror and winsafe, which the flavor added to the manifest,
so `cargo check --locked` resolves again.
With his enabled callers kept whole, the flavor's `.github/actionlint.yaml` (a suppression for a
`queue:` key his signer no longer sets) and its `packaging-lint.yml` path entry are gone; nothing in
the tree names `queue:` or the `macos-release` label.
Already right here: the window class matches the Nightly desktop entry's StartupWMClass, the
metainfo declares no mediatypes, the Nightly build needs no extra features, and
sonar.coverage.exclusions already covers packaging/**.
The flavor itself had three compile errors that only a real `cargo check` finds, fixed here: the
user-preset folder asked `effectcraft_host` for the profile root from a crate that does not depend on
it (the UI now carries the profile's `Presets` folder through `channel::set_profile_presets`, set from
`prepare_launch`), `channel::channel_label` was `const` while it reads a non-const atomic identity,
and a test built `"--launch-profile="` with `+` on `&str`s.
Tests: packaging/nightly-tests.py (71 suite tests plus the two Linux launcher argv tests),
bash -n over every changed script, rustfmt --edition 2024 --check on the changed Rust, and
`cargo check --locked -p effectcraft --tests` / `-p effectcraft-cli --tests`, both green locally (with
a check-only alsa.pc, because this host has no libasound outside the Nix dev shell). package.sh was
also rendered with stub binaries and a stub nfpm, and the installed deb tree read back.
Co-authored-by: dylanmtaylor <[email protected]>
Co-authored-by: skylartaylor <[email protected]>
- Remove unsupported `queue: max` key from `.github/workflows/nightly-sign.yml`
concurrency block and update `packaging/nightly-release-tests.py` to match.
- Normalize channel-only Nightly artifact basenames in `packaging/linux/package.sh`
so `EFFECTCRAFT_BUILD_CHANNEL=nightly-v1` builds always include `-nightly`
and match the AppImage zsync update pattern.
Reconcile main 991904888a and preserve the reviewed lifecycle, IME, rendering and lockfile changes.
Formatting, strict lint, layers, assets and WASM passed. Full CI retained 3,961 passes, 14 baseline-matching GPU failures and 31 ignored executions. The local review commit has explicit approval to retain these documented failures; native/browser acceptance and paired app performance remain open.
* Packaging: pin the Windows signing client and check its hash
* Packaging: pin appimagetool and check its hash
* Reject AppImage download for architectures without a pinned appimagetool
* Pin the AppImage runtime
Switch the bash packaging scripts from [ to [[ for conditional tests,
give positional parameters descriptive local names, and end the shared
env.sh helpers with an explicit return. No behaviour change: every
comparison is against a literal, and a bare return keeps the last
command's status.
* Release prep: bump to 0.8.0 and add a Linux riscv64 release build
- release.yml: new `linux-riscv64` job, ported from GridCraft. It cross-compiles on
ubuntu-24.04 against riscv64 libraries from ports.ubuntu.com (the Linux job's X11/Wayland/GL
-dev packages plus ALSA), ships effectcraft-<v>-linux-riscv64.tar.gz, and smoke-tests
effectcraft-cli under qemu-riscv64. The draft-release job now needs it, so its tarball is
uploaded and covered by SHA256SUMS.txt.
- packaging/linux/package.sh: cross-compiles when CROSS_ARCH/CROSS_TARGET/CROSS_COMPILE are set
(cargo --target, the cross strip, the EMULATOR smoke test), as GridCraft's does.
- Version 0.7.0 -> 0.8.0 (cargo xtask version set), Cargo.lock refreshed.
- README and docs/releasing.md list the riscv64 tarball.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Fix FreeBSD CI: pointer_wrap test harness, wasm32 target, clippy as_chunks
- pointer_wrap tests: the harnesses dropped run_ui's FullOutput with the font atlas upload still
in textures_delta, and epaint 0.36's drop check panics on that in debug builds. Every
pointer_wrap test failed on every platform; FreeBSD is the only CI that runs them. Clear the
delta, as the other UI tests do.
- freebsd.yml: install wasm32-unknown-unknown in the VM. Without it the host plug-in test's build
of examples/plugins/posterize-bands failed (E0463, no std) and the test skipped silently; now
it builds and runs.
- media/convert.rs: chunks_exact(2) -> as_chunks::<2>() (clippy chunks_exact_to_as_chunks,
new in Rust 1.99); same pairs, same dropped remainder.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
- release.yml: `freebsd` job (FreeBSD 14.3 VM, the freebsd.yml packages) running the new
packaging/freebsd/package.sh; `flatpak` matrix (x86_64 on ubuntu-24.04, aarch64 on
ubuntu-24.04-arm) repackaging the Linux tarball with packaging/linux/flatpak-bundle.sh and the
new ai.storyteller.effectcraft.bundle.yml; both added to the draft release's needs.
- AppImages embed gh-releases-zsync update information and ship a .zsync beside them; the Linux
job installs zsync and checks both.
- version, Linux and web jobs drop `environment: release` (they read no secrets), so a dispatch on
a branch is a full dry run of every unsigned job; the draft release still needs the signed jobs.
- Flatpak finish-args documented and shared by the bundle and Flathub manifests (lint checks they
match); audio, GPU, portals, xdg-pictures/videos/documents, network for the optional model
downloads. The Flathub manifest now also installs effectcraft-cli.
- packaging-lint runs the FreeBSD layout dry run.
- README: Downloads section (every file a release ships) and nav entry; docs/releasing.md updated.
Co-authored-by: Brandon Thomas <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>