The batch-2A review found two Rust bugs and one cleanup; all are fixed here.
- `prepare_launch` wired only `build_flavor::version_query`, so the Launcher's
`--launch-profile nightly-v1 --profile-root <abs> --version` fell into the profile
parser, opened the refusal dialog and exited 2 — the form `nightly-verify.sh`, the
shared smoke and the Launcher's own check ask — and the unused
`launch_profile::version_query` was dead code under `clippy -D warnings`. One
`version_query` predicate answers both forms, with a test.
- `crash_report::start` re-runs this binary with `--internal-crash-reporter` and no
profile tokens, which the Nightly flavor refused as a bare start on every launch (a
native dialog, a 3 s readiness timeout, no crash reporting). `main` answers
`crash_report::maybe_run` on the raw arguments first; `is_helper`/`helper_args` keep
the predicate and the spawn in step, with a test.
- Deleted our dormant `nightly-dispatch.yml` and the signing-policy example (and its
packaging-lint path); Dylan's enabled callers and the installed policy stay as he
wrote them.
Review nits: presets are joined once (`<profile>/Presets`, not `<profile>/Presets/Presets`),
`nightly-macos.yml` uses the producer's craft-fonts pin, and a previous session's
interruption is no longer overwritten by the launch guard's graphics notice.
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]>
Give EffectCraft the same isolated Nightly channel PhotoCraft has, switched off.
- Launch profile: `--launch-profile nightly-v1 --profile-root <abs> -- [files…]`, with the
Launcher's version query (`--version`, `-V`) answered before logging, the crash helper, fonts
or any settings, and `--launch-profile`/`--profile-root` refused by `effectcraft-cli`.
- Build channel: `EFFECTCRAFT_BUILD_CHANNEL=nightly-v1` compiles the flavor, requires the
prepared `EFFECTCRAFT_VERSION`/`_BUILD_SHA`/`_BUILD_DATE` identity, bakes it in, and sets the
nightly icon, `ProductName "EffectCraft Nightly"` and the exact `ProductVersion`.
- Private data root: one validated profile root overrides every data root — settings, logs,
crash reports, plug-ins, presets, window state, recovery sentinel and the disk/media caches —
fencing stable's folders, the install, portable layouts, `EFFECTCRAFT_CONFIG_DIR` and
`FLATPAK_ID`, and refusing aliases that leave the profile.
- Session health: a private lease and unclean-exit record, finished once in `on_exit` (macOS)
and after the event loop.
- Nightly packaging: `packaging/windows/nightly.ps1` plus the `package.ps1 -Nightly/-BuildOnly`
hook and `sign.ps1 -Required/-CheckOnly/-CheckBuildEnvironment`; `packaging/macos/nightly{,-lib,-sign,-verify}.sh`
and the plist writer; `packaging/linux/nightly.sh`; the shared `nightly-common.sh`, helpers and
the four synthetic suites.
- Dormant callers and policy template as in PhotoCraft #16459: `nightly.yml`, `nightly-sign.yml`,
`nightly-dispatch.yml`, `nightly-macos.yml`, actionlint config, the public Linux key, the
example policy, the preparation doc and the packaging-lint source-contract job. Every nightly
job is literally off (`false &&`), there is no schedule and no installed policy.
- Art: nightly icon derivatives (deeper background, unchanged figure and padding), their
provenance, attribution sidecars and `ATTRIBUTION.md` rows.
- `sonar-project.properties` now states `sonar.sources=.` beside `sonar.tests`, so enabling the
packaging fixtures cannot silently drop the production code from Sonar.
- 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.
Port Skylar's (@skylartaylor) supervised manual nightly workflow and v3
signing policy from storytold/photocraft#16594 to EffectCraft:
- Add `.github/nightly-signing-policy.json` (craft-nightly-release-policy/v3)
adapted for `storytold/effectcraft` (`repository_id: 1400136506`,
`ci.yml` workflow `380135792`, SonarCloud `storytold_effectcraft`).
`producer_workflow_id` is `null` until `nightly.yml` is registered on `main`.
- Add `.github/workflows/nightly.yml` and `.github/workflows/nightly-sign.yml`
pinned to `storytold/craft-common-actions@605d58766e8f536564da8fc81d3676ac86816dea`
for supervised manual `workflow_dispatch` runs by the release-managers list.
- Add `docs/nightly-release-preparation.md` documenting the policy values,
ownership, and manual dispatch procedure.
- Add `packaging/nightly-release-tests.py` local contract regression suite.
Credit: @skylartaylor (storytold/photocraft#16594)
Co-authored-by: skylartaylor <[email protected]>
release.yml also runs nightly on main with craft-common-actions' dry-run: every release build
except macOS, with nothing signed, pushed or drafted. Breakage that only the release build hits
(riscv64, Flatpak, FreeBSD, packaging) then shows up the next morning instead of on release
day, as it did on 11 Nov 2026.
Adds step-security/harden-runner (audit, pinned to v2.22.4 like
craft-common-actions) as the first step of each job that did not have it,
so every workflow in the org's public repos reports its egress to
StepSecurity. Audit, not block: block-mode allow lists come from each
job's observed traffic.
About > Contributors still showed an old snapshot, because nothing
regenerated contributors/contributors.json before a release. Opt in to
the shared refresh from craft-common-actions: a read-only credits job
regenerates the snapshot for the release commit, and the shared release
workflow installs it before every source build. The snapshot is not
committed back.
AGENTS.md (and CLAUDE.md where present) gets a CI workflows section: workflows only call
craft-common-actions at @main, with no other jobs; feature and fix PRs don't touch CI and
link or open a craft-common-actions issue (a PR only for a small fix that is safe for
every app and does not increase CI time); legacy jobs
aren't added to and move only as their own task, staying until a shared workflow runs them.
windows-arm64.yml moves from its SHA pin to @main. The pinned revision is on
craft-common-actions main and the workflow (and the actions it calls) is identical
there, so nothing changes in behaviour.
* security: move the release workflow's write permission to the job level (SonarCloud githubactions:S8233)
* release: the git-sources gate moves into craft-common-actions (storytold/craft-common-actions#78)
The check is shared at release.yml@main now; keep only the reusable call.
ci.yml is new: it calls the shared workflow (cached apt packages, nextest, main-only cache saves, Cargo.lock check). FreeBSD runs nightly and on pushes to release instead of on pull requests. Depends on storytold/craft-common-actions#69.
* Footage: use resolve_absolute for stored paths
* Lottie and models: use resolve_absolute for linked files
* CI: release only with git dependencies from storytold
* Use the shared git-sources check and pin checkout in release.yml
* Resolve a model's side files through resolve_absolute; report C:\x as invalid
* CI: parse cargo config, including the legacy .cargo/config, in the git-sources check
Calls storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
with secrets: inherit. Adds SonarCloud badge to README where missing and
removes the redundant sonar-project.properties (config now passed by the
reusable workflow).
Since the release workflow moved to storytold/craft-common-actions, it has
passed only the Apple and WINDOWS_CERTIFICATE secrets. The signing job reads
values from the release environment, but only for names the caller lists, so
the AZURE_* names that Trusted Signing uses came through empty and Windows
builds would ship unsigned. Same fix as storytold/craft-launcher#174.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci: refactor workflows to use reusable artcraft-common-actions
* ci: point reusable workflows to storytold/craft-common-actions
* ci: pin storytold/craft-common-actions to commit 27a978f and pass secrets explicitly
* ci: use @main (unpinned) for craft-common-actions with explanation comment
They ran on every push to main and on any PR touching Cargo.toml/Cargo.lock,
which is nearly every PR. See craftrules release/playbook.md §2.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* 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]>
test-msi.ps1 builds the MSI around stub binaries, validates it (ICE) and,
silently: installs into a folder with spaces and a non-ASCII name, upgrades
without naming a folder (it must stay there, one entry in Apps), repairs a
deleted file, uninstalls (files and App Paths gone), and installs to the
Program Files default. Run by a windows-latest job in packaging-lint.yml.
Merges land faster than the hour-long FreeBSD job, so every main run was
cancelled and main went unverified. Only PR pushes cancel now.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The DMG opened as a plain Finder window. It now shows the app icon's figure on
the EffectCraft colour, with EffectCraft.app and the Applications link side by
side.
- packaging/macos/dmg/: background.svg (source; text outlined, the figure an
<image> of assets/app-icon) and dmg-layout.DS_Store (Finder view settings:
window, icon size 128, positions, background), written by generate.py on any
OS, byte-for-byte reproducible, with nothing from the machine that ran it.
- package.sh renders the SVG with resvg (1x + 2x) into a HiDPI TIFF at package
time, so no bitmap is committed; release.yml installs resvg 0.48.1 (pinned,
--locked) on the macOS runner. The image is still built with hdiutil
makehybrid.
- The volume name drops the version: the layout finds the background through
an alias that includes the volume name. The DMG file name keeps the version.
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]>
Custom macOS larger runners in a runner group do not pick up jobs; the
built-in M2 Pro label does. Only release.yml uses it, and the
actions_macos_xl budget caps the monthly spend.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The standard macOS runners are shared with all CI and queue for an hour or
more. The macos-release runner (GitHub-hosted M2 Pro) is in a runner group
usable only by release.yml on the release branch, with a monthly spend cap
on the actions_macos_xl SKU.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Release builds add an arm64 MSI and portable zip, cross-compiled on the x64
runner (signing and WiX as for x64). package.ps1 checks each binary's PE
header before packaging: Machine must match -Arch, the app must be a GUI
program and the CLI a console program. It skips the CLI smoke run when an
ARM64 build can't run on the host. A new Windows ARM64 workflow packages the
ARM64 MSI, installs it on a Windows 11 ARM64 runner, checks both installed
exes are ARM64, runs the CLI, and uninstalls. Ported from printcraft#66.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The MSI Icon id had no .ico/.exe extension, which Windows Installer needs for
advertised shortcuts and ARPPRODUCTICON, so both showed a blank icon. Release
builds of the desktop app are now GUI-subsystem (no console window; the CLI stays
a console program), the shortcut/summary description names what EffectCraft does, and
packaging-lint rejects an Icon id without an extension. Found in printcraft#57.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
FreeBSD's CI VM (Mesa llvmpipe over GL) failed 22 effectcraft-gpu tests:
- Advanced 3D's camera-depth target was R32Float, which GLES can't render to without
EXT_color_buffer_float: create_render_pipeline failed validation (release builds only log
that and draw nothing). The target is now R32Uint holding the f32 bits (renderable on every
backend, lossless), and GpuContext checks the adapter's format features (render attachment,
blendable colour) and independent blending up front; when they're missing the render
pipelines are never built and Advanced 3D renders on the CPU.
- Signed `%` in the shaders: naga emits GLSL `%`, undefined for negative operands, which broke
the VR effects' horizontal wrap and Cell Pattern's tiling. A shared `imod` never takes `%` of
a negative number.
- asin/acos: Mesa's are coarse approximations (~1e-4 rad), visible in every lens/sphere/cylinder
mapping. `asin_p`/`acos_p` (Cephes' asinf polynomial) are f32-accurate on every backend.
- "Could not lock adapter context": the GL backend has one context lock per adapter with a
timeout, so tests driving devices concurrently panic. Every gpu test helper that hands out a
device holds one process-wide lock for the calling test; ui_web_job_gpu's two device tests
share a lock too.
- On GL, up to 1 % of pixels may flip across a decision boundary (division through a
reciprocal, unfused fma); the GPU-vs-CPU comparisons allow that there only.
Also adds the FreeBSD workflow (from the FreeBSD CI PR) so this branch is checked there.
Co-Authored-By: Claude Opus 5.5 <[email protected]>