- Both Linux launchers dispatch the Launcher's protocol and a bare version query before the
XDG_DATA_HOME/HOME guard, so neither is refused for a HOME it never reads.
- `nightly.ps1` builds into the `-TargetDir` its archive steps read.
- The writable probe retries on a leftover file with its name and removes only the file it created.
- The planted-record-link test writes at RECORD rather than a sibling name, so it exercises the
alias it plants.
- Put his nightly.yml, nightly-sign.yml and installed signing policy back byte
for byte (no `false &&`, his five manual actors, his 605d5876 pin), and drop
our dormant duplicates: nightly-dispatch.yml, the policy template and the
actionlint waiver that only hid the `queue:` key he removed.
- Adapt nightly-release-tests.py to the enabled pair: no schedule, his exact
context guards, the release managers in caller and policy, one pin, the
installed policy's fields and platforms, plus this branch's guards for the
committed Linux key and the Sonar fixture scope.
- cargo fmt --all (17 hunks in 7 files); clean under rustfmt 1.10 and 1.100.
- Flat nightly tar uses the kit layout: `gridcraft` is the launcher and
`gridcraft-bin` the GUI it starts, and the launcher never starts itself.
- docs: his go-live doc, one stale sentence corrected, plus a flavor section.
- Drop the unused GRIDCRAFT_CONFIG_DIR stable knob; an empty XDG_CONFIG_HOME
now falls back to ~/.config.
Dylan's ports keep the nightly identities but start the GUI directly, and a nightly build
refuses to start without --launch-profile nightly-v1 --profile-root <dir>. Ship the launcher
every Linux nightly format needs, so an installed, extracted or sandboxed nightly never runs
against the stable profile (his remaining re-review items close with it).
- deb/rpm: usr/bin/gridcraft-nightly is a launcher; the GUI moves to
usr/lib/gridcraft-nightly/gridcraft, which nfpm.yaml carries with mode 0755. A stable stage
has no such file, so the three-line entry is dropped and the rendered stable nfpm.yaml stays
byte-identical to his head.
- AppImage: AppRun is a script, not the usr/bin/gridcraft symlink, and usr/bin/gridcraft-nightly
is installed beside it; the desktop Exec/TryExec name the launcher.
- Arch handoff: nightly-arch-launch.sh passes the profile tokens instead of relocating the four
XDG folders (the profile holds settings, logs, the control token and the session record).
- Flatpak: bin/gridcraft-nightly is installed and is the manifest's command: and the desktop
entry's Exec/TryExec. profile_root now accepts that package's own id
(ai.storyteller.gridcraft.nightly) and still refuses the stable id and every other one.
- plain tarballs: bin/gridcraft-nightly in package.sh's tree and gridcraft-nightly in the flat
nightly.sh archive, which nightly-archive.py now requires.
The profile root is ${XDG_DATA_HOME:-$HOME/.local/share}/gridcraft-nightly/profile in every
format; it sits beside, never inside, the stable rows.
Also from the re-review: the nightly metainfo no longer lists mediatypes and names the launcher
as its binary, the nightly desktop file and metainfo are validated now that the tools are
present, and nightly-common.sh passes GRIDCRAFT_VERSION on the build command as well as
inheriting it and checks the exact identity the binary prints (with the output in the message).
packaging/linux/nightly-linux-launch-tests.py runs the launcher in both moved-tree layouts and
stages deb, tar and AppImage with stub nfpm/appimagetool/strip, so the wrappers are tested
without cargo; nightly-arch-tar-test.sh asserts the launcher argv.
Builds on dylanmtaylor's co-installable Linux packages (#4733, @dylanmtaylor).
skylartaylor <[email protected]>
Give GridCraft the isolated nightly-v1 channel from the nightlies-lead kit, rebased on
dylanmtaylor's #4733 head: his Linux tar, shared helpers, Arch wrapper and Flatpak/nfpm
changes stay his and are not re-authored here (thanks, Dylan). This commit adds the app
side, Windows and macOS packaging, and the dormant release registration.
App side:
- build.rs selects the channel (GRIDCRAFT_BUILD_CHANNEL), refuses any other value and
requires the prepared GRIDCRAFT_VERSION for a nightly, which becomes the PE
ProductVersion and the version the app reports.
- launch_profile.rs implements the Launcher protocol (--launch-profile nightly-v1
--profile-root <abs> -- files…, separate tokens only) and answers both --version forms
before any root, log, identity, IPC or window work.
- profile_root.rs fences every stable data root per OS (settings and logs, the control
token folder, both MSI install folders, the XDG folders plus the system installs and the
Flatpak row, the four macOS Library rows and the bundle), refuses GRIDCRAFT_CONFIG_DIR,
an inherited FLATPAK_ID, traversal and alias escapes, and proves the profile writable.
- app_dirs.rs is the single data-root resolver: validated profile, then GRIDCRAFT_CONFIG_DIR,
then the platform default; ui.json, prefs.json and logs follow it.
- nightly_session.rs keeps a lease and an unclean-exit record, finished in on_exit (the only
path macOS ⌘Q runs before AppKit ends the process).
- process_identity.rs sets the nightly Windows AUMID before any window; stable never does.
- A nightly skips the updater, the control server (and refuses --control), and the inherited
control variables; the control-token folder can be pointed at the profile.
- ui-egui gains the channel (app id, name, version, commit, window titles, stable-only
services), which About, File ▸ Account, window titles and the updater guard use. The
window keeps a Flatpak package's own id when FLATPAK_ID is set (#4733).
- gridcraft-cli refuses the Launcher profile flags with exit 2.
Packaging: packaging/windows/nightly.ps1 with package.ps1 -Nightly and sign.ps1
-Required/-CheckOnly/-CheckBuildEnvironment; macOS nightly.sh, nightly-lib.sh,
nightly-sign.sh, nightly-verify.sh and nightly_plist.py; the nightly icon set rendered
from a deeper-field vector master by packaging/nightly-icons.py, with provenance. The
Linux tar now stages that icon (one line changed in Dylan's script).
Release: dormant nightly.yml, nightly-sign.yml and nightly-dispatch.yml (literal false &&
everywhere), the v3 policy example with no authority, the stable Linux public key,
actionlint's queue suppression, the packaging-lint source-contract job, sonar.sources
plus the exact fixture scope, and packaging/nightly-release-tests.py. Dylan's enabled
callers, installed policy and shorter docs are superseded so the port lands switched off;
the policy content stays in his branch for the enable PR.
skylartaylor <[email protected]>
* packaging: Flatpak finds and prints to CUPS printers
The Print dialog listed no printers in the Flatpak: the runtime has libcups but not
lpstat/lp, the sandbox couldn't reach the CUPS socket, and driverless network printers
(lpstat -e) need Avahi. Bundle lpstat/lp/lpoptions from CUPS 2.4.20 (Apache-2.0,
statically linked, licence installed) and grant --socket=cups and
--system-talk-name=org.freedesktop.Avahi in both manifests.
* packaging: Flatpak reads the user's CUPS settings (~/.cups, read-only)
Review (CodeRabbit): without it the sandbox's lp/lpstat ignore the user's default
printer and saved options (lpoptions) and a print server named in their client.conf.
* packaging: Flatpak CUPS tools reach the host socket when client.conf names a custom path
Review: Flatpak mounts the host's CUPS socket at /var/run/cups/cups.sock whatever
path ~/.cups/client.conf or CUPS_SERVER names, so lp/lpstat/lpoptions now run through
a wrapper that points a socket path missing in the sandbox there. Server names
(remote servers) and sockets that exist are left alone. Tested in the sandbox:
CUPS_SERVER=/run/custom/cups.sock lists the host's printers through the wrapper and
none without it; a host name is passed through unchanged.
* packaging: redirect a custom CUPS socket only when it is the one Flatpak mounted
Review (CodeRabbit): Flatpak picks the socket it mounts at /var/run/cups/cups.sock
with stricter rules than CUPS (flatpak-run-cups.c: a socket CUPS_SERVER, else the
first line spelled exactly "ServerName /path" in ~/.cups/client.conf, else the
default), while CUPS reads the keyword in any case and takes the last ServerName. The
wrapper now redirects only when CUPS' socket is the one Flatpak chose, so a job can't
reach a different server; otherwise CUPS fails on the missing path.
* packaging: never redirect a CUPS_SERVER the sandbox was given
Review (CodeRabbit): Flatpak picks the socket it mounts from the host's CUPS_SERVER,
so one set by flatpak run --env or an override may not be what it mounted. The
wrapper now leaves any CUPS_SERVER alone and redirects only a client.conf socket that
matches Flatpak's choice; otherwise CUPS fails on the missing path instead of
reaching a different server.
* packaging: point CUPS at the mounted socket only when it is the one Flatpak chose, else fail
Review (CodeRabbit): with a custom socket listed first and the default last in
~/.cups/client.conf, Flatpak mounts the custom one at /var/run/cups/cups.sock while
CUPS picks the last line, finds that path, and talks to the custom server. The
wrapper now compares CUPS' socket with Flatpak's choice even when the path exists:
equal, CUPS is pointed at the mount; different, the tool fails with an error instead
of reaching another server.
* E37: migrate GridCraft to egui 0.37
Pin the reviewed fork and shared dependencies, adapt input and rendering to the
new frame lifecycle, and preserve bounded capture handling and font notices.
Add representative accessibility checks and meaningful control labels.
Validation: full repository CI passed all ten stages, with 2,249 tests passed,
zero failed and one existing timing test ignored. Native workflows and paired
performance qualification remain documented separately.
* egui037: record final published pins and local qualification
* M0.37: fix RTL clipping and preserve screenshot budgets
* test: share migrated GridCraft UI harness setup
* egui037: document migrated UI and regression contracts
* egui-037: align popup test fonts and avoid redundant tooltip probes
* Packaging: pin the Windows signing client and check its hash
* Packaging: pin appimagetool and check its hash
* Packaging: pin the AppImage runtime and stop clearly without a pinned tool
* Packaging: shellcheck-clean empty hashes
- Shell: [[ ]] for conditional tests, positional parameters copied into
named locals, explicit return at the end of the env.sh helpers.
- PowerShell: the desktop-shortcut smoke test writes its progress with
Write-Output instead of Write-Host.
- Web: the viewport no longer sets user-scalable=no, so people can zoom
the page.
GridCraft imports XLSB (#101) and ODS (#100) files, but the Linux desktop
entry, shared-mime-info file and AppStream metadata, and the Windows
"Open with" list only named .xlsx, .xlsm, .csv and .tsv. Add the two
import formats there.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Pin actions/checkout and upload-artifact to the SHAs the other jobs use
(v7.0.1, v7.0.2); add rust-cache; use the same version-override command.
- Run on ubuntu-24.04 (ubuntu-26.04 is not a known hosted label) and take the
ports suite from /etc/os-release; 22.04's riscv64 ports lag its amd64
updates and the multiarch install fails there.
- Add linux-riscv64 to the release job's needs so release-linux-riscv64 is
downloaded before the draft release is built.
- Drop the unused libasound2 dependency, the linker -L flags and the
qemu-static symlink; package.sh's emulator check is the smoke test
(QEMU_LD_PREFIX), and quote $EMULATOR there.
- Move the job above the FreeBSD comment; list riscv64 in docs/releasing.md.
Verified: the job's steps in an ubuntu:24.04 container build, package and
run gridcraft-cli --version under qemu-riscv64.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- AppImages embed gh-releases-zsync update information and ship a .zsync beside them;
the linux job installs zsync and checks both.
- New flatpak job (x86_64 on ubuntu-24.04, aarch64 on ubuntu-24.04-arm) repackages the
linux tarball with packaging/linux/flatpak-bundle.sh and the new bundle manifest; the
from-source manifest gets the same commented finish-args, and packaging-lint checks
that the two agree.
- Jobs that sign nothing (version, linux, flatpak, web, FreeBSD packaging) no longer use
the release environment, so a branch dispatch is a dry run; the draft-release job still
needs the signed jobs and only runs on the release branch.
- README: Downloads section listing every build.
Co-authored-by: Brandon Thomas <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>