Files
Dylan M. Taylor 16141903a3 feat(linux-repos): support -nightly packages pointing at latest nightly releases (#418)
## Summary

Add support for `<app>-nightly` packages across the APT (`/apt`), RPM
(`/rpm`), and Arch (`/arch`) Linux repositories in
`artcraft-website-next`, always pointing at the newest published nightly
GitHub prerelease per repository regardless of its release tag.

## Changes

- **`crafting-app-releases.ts`**: Add `CraftNightlyRelease` and
`CRAFT_NIGHTLY_RELEASES` (initially `{}`).
- **`linux-repos.ts`**:
- Resolve `<pkg>-nightly-<version>-linux-<arch>.{deb,rpm,pkg.tar.zst}`
(and `.sig`/`.asc` signatures) against `CRAFT_NIGHTLY_RELEASES` using
each entry's exact GitHub release `tag`.
- Support `tagOverride` in `getShaSums`, `fetchValidatedSha256`,
`computePackageMetadata`, `durablePackageMetadata`,
`getLinuxPackageMetadata`, and `build{Deb,Rpm,Arch}Assets`.
- Emit `<app>-nightly` packages in `getLinuxRepoApps` (with
`ai.artcraft.app-nightly` / `ai.storyteller.<app>-nightly` for Pacman so
they install alongside stable).
- **`update-craft-release-versions.yml`**: Add a `latestNightlyRelease`
pass that scans each repo's published `prerelease: true` GitHub releases
(newest first, regardless of tag format) for `SHA256SUMS.txt` and
`<slug>-nightly-...` Linux packages, and updates
`CRAFT_NIGHTLY_RELEASES`.
- **`tests/linux-repos.spec.ts`**: Add unit test coverage for resolving
`-nightly` Linux package and signature URLs regardless of GitHub release
tag.

## Verification

- `next typegen && npm run typecheck` passed.
- `npx playwright test tests/linux-repos.spec.ts`: 28/29 passed (the 1
browser-based mobile tab test failed locally due to missing
`/opt/google/chrome/chrome` in this environment).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Nightly Linux packages are available for ArtCraft Studio, Craft
Launcher, and supported Crafting Apps when a matching release is
published.
* Packages are offered in Debian, RPM, and Arch formats where available,
with release-specific versions and checksums. Supported package
architectures include x86_64 and aarch64, with riscv64 also supported
for Debian and RPM packages.
* The catalog reflects the newest published nightly release with
compatible package assets; products without a matching release are not
listed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-23 11:54:06 -05:00
..
2026-04-07 00:43:21 -04:00
wip
2026-09-14 15:40:33 -04:00
2026-02-21 05:49:47 +07:00
2026-09-12 12:23:46 -04:00
2026-03-18 20:32:50 -04:00
2026-07-03 02:28:22 -04:00
2026-04-14 01:00:01 -04:00
2026-06-19 23:35:22 -04:00
2026-03-18 20:32:50 -04:00