Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
05b43b8
chore(quest): claim splice-edges
kixelated Sep 29, 2026
76bf0d4
Merge remote-tracking branch 'origin/main' into quest/m1/splice-edges
kixelated Sep 29, 2026
06bcadd
fix(net): preserve splice boundary and warm-head state
kixelated Sep 29, 2026
ece7e57
chore(quest): one first-hop rule for anonymous and named fronts (#4498)
kixelated Sep 29, 2026
6a01640
fix(net): cancel an unwanted lite track still waiting on TRACK_INFO (…
kixelated Sep 29, 2026
82fd850
quest: plan per-program SI and TS PSI reassembly (#4507)
t0ms Sep 29, 2026
6b93b30
chore(quest): abandon the live-marker app quest (#4512)
kixelated Sep 29, 2026
395a92c
feat(mux): report every TS elementary stream's access units and quiet…
t0ms Sep 29, 2026
382513e
docs: flush quiet audio in the documented ffmpeg MPEG-TS line (#4514)
t0ms Sep 29, 2026
5786456
docs(relay): keep client grants off .internal for gossip (#4509)
kixelated Sep 29, 2026
2498784
fix(video): guard portal sessions during negotiation (#4492)
shermerL Sep 29, 2026
15239d6
fix(hang): summarize skipped groups once per catch-up (#4490)
kixelated Sep 29, 2026
18d7c25
test(ts): grade the byte schedule between PCRs (#4493)
t0ms Sep 29, 2026
dd50276
fix(ci): only save Rust caches after successful jobs (#4487)
kixelated Sep 29, 2026
1eca877
fix(gst): recover from leading deltas and timestamp rewinds (#4480)
kixelated Sep 29, 2026
9636204
fix(net): wake a parked read on its unstamped successor's first frame
kixelated Sep 29, 2026
434ab81
fix(net): align IETF object extension limits (#4475)
kixelated Sep 29, 2026
0c5489f
fix(net): preserve cached history for late relay subscribers (#4472)
kixelated Sep 29, 2026
ea66e93
fix(auth): align key ID length validation (#4470)
kixelated Sep 29, 2026
f50be98
fix(relay): pass packaged service config positionally (#4469)
kixelated Sep 29, 2026
bbeb133
test(json): prove the Rust snapshot gate measures the encoded delta (…
kixelated Sep 29, 2026
e77881a
feat(rtmp): let an RTMP listener refuse plaintext (#4452)
kixelated Sep 29, 2026
2e547af
fix(mux): LOC video groups end with the duration marker (#4450)
kixelated Sep 29, 2026
4206dad
Merge remote-tracking branch 'origin/main' into quest/m1/splice-edges
kixelated Sep 29, 2026
9a22225
fix(mux): rebind single-track FLV export to a better rendition before…
kixelated Sep 29, 2026
7efe9b5
fix(mux): follow the stream's reorder depth in TS export (#4500)
t0ms Sep 29, 2026
c2e7b58
feat(srt): log the TS importer's per-stream counters on ingest (#4506)
t0ms Sep 29, 2026
6543a7f
chore(quest): plan TR 101 290 monitoring (#4496)
t0ms Sep 29, 2026
24f622e
fix(video): list V4L2 cameras once with PipeWire (#4488)
kixelated Sep 29, 2026
1e08ef5
docs(hang): document the broadcast wall clock (#4461)
kixelated Sep 29, 2026
fbc94f1
chore(quest): replan strict-CSP worklets as opt-in hosted assets (#4516)
kixelated Sep 29, 2026
12f2381
test(ts): round-trip an open-GOP H.264 fixture (#4501)
t0ms Sep 29, 2026
db8ca6c
fix(moq-tokio): iroh honors the configured versions (#4448)
kixelated Sep 29, 2026
4a5e421
fix(watch): hold video frames and reject older decode groups (#4483)
kixelated Sep 29, 2026
f2515a0
fix(mux): publish the 48 kHz decoder rate for Opus imports (#4443)
kixelated Sep 29, 2026
a2cf479
fix(net): validate complete control message bodies (#4473)
kixelated Sep 29, 2026
877cf55
fix(rtc): redact WHIP and WHEP client URLs in logs (#4457)
kixelated Sep 29, 2026
16875d6
fix(rtmp): bound AMF0 nesting (#4471)
kixelated Sep 29, 2026
2709f98
chore(quest): drop the retired srt-import-stats link (#4530)
kixelated Sep 29, 2026
30826ff
fix(hang): write a zero dOps pre-skip when the track has no descripti…
kixelated Sep 29, 2026
59c0dc2
feat(ts): import one program of a multiplex, or each as its own broad…
t0ms Sep 29, 2026
684d3c7
fix(tokio): drive raw stream handshakes per connection (#4474)
kixelated Sep 29, 2026
0676be8
chore(quest): abandon sub-millisecond wall clock (#4449)
kixelated Sep 29, 2026
ec494f3
chore(quest): plan MessageChannel between worker and audio worklet (#…
kixelated Sep 29, 2026
1511f75
chore(quest): claim quest/m1/publish-codec-string
kixelated Sep 29, 2026
e24828a
fix(publish): advertise the codec string the video encoder reports
kixelated Sep 29, 2026
3bc1948
quest(m1): plan catalog estimate rate limiting and CI runner stalls (…
kixelated Sep 29, 2026
fe311b3
fix(publish): probe the reported codec string with a one-frame encode
kixelated Sep 29, 2026
a5bbf87
fix(net): a JS track's clean close ends at its own last group (#4522)
kixelated Sep 29, 2026
a16f8d0
fix(audio): conceal one Opus packet's length for a lost packet, not 1…
kixelated Sep 29, 2026
d34030c
ci: cut redundant platform and release builds, fix starved cache warm…
kixelated Sep 29, 2026
e6679ba
chore(quest): plan media stats as hang tracks and viewer feedback as …
kixelated Sep 29, 2026
4565110
test(json): shrink the snapshot overflow test with a small group budg…
kixelated Sep 29, 2026
7d4ec64
chore(quest): delete watch-decoder-recovery (#4521)
kixelated Sep 29, 2026
e925be8
test(tokio): isolate TLS root reload tests from shared /tmp (#4537)
kixelated Sep 29, 2026
66a60f4
fix(net): negotiate hidden namespace discovery for IETF peers (#4482)
kixelated Sep 29, 2026
56a5da4
quest(m1/js-fetch-cancel): claim
kixelated Sep 29, 2026
1e0a46f
quest(m1/js-ietf-reprice): claim
kixelated Sep 29, 2026
4a0c450
fix(moq-net): a group awaiting its FIN ack still expires and follows …
kixelated Sep 29, 2026
02f4172
feat(net): cancel a pending fetchGroup with an AbortSignal
kixelated Sep 29, 2026
570042f
feat(net): IETF publisher reprices a held namespace in place
kixelated Sep 29, 2026
e3caf5c
quest: datagrams are live-only; drop hls-linger; demo serve-hls rendi…
kixelated Sep 29, 2026
7db2ab9
quest: capture is a default feature
kixelated Sep 29, 2026
4767439
feat(ffi): Python, Go, and Dart print MoqError's Rust message (#4433)
kixelated Sep 29, 2026
7fac11b
docs(agents): a broadcast, track, or group name always means the same…
kixelated Sep 29, 2026
87c27c7
quest: check serve-hls resolutions in the master playlist
kixelated Sep 29, 2026
8b6abc0
fix(watch): park audio for a delay rise instead of flushing the ring …
kixelated Sep 29, 2026
87f41ef
chore(quest): fold exact scope into moq-lite announcement shapes (#4517)
kixelated Sep 29, 2026
e18b27b
feat(net): re-send NAMESPACE inline on a first-hop change, as Rust does
kixelated Sep 29, 2026
ffad8a2
Merge remote-tracking branch 'origin/main' into quest/m1/js-ietf-reprice
kixelated Sep 29, 2026
a9888e4
claim quest/m1/cluster-publisher-in-place
kixelated Sep 29, 2026
42a1fb5
feat(cli): linger export ts across a broadcast that leaves and return…
t0ms Sep 29, 2026
e86f00a
quest: data tracks stamp on the catalog's current clock
kixelated Sep 29, 2026
4e80822
fix(net): keep a refusal's identity only while the refusal stands
kixelated Sep 29, 2026
10f3f1c
fix(publish): probe with the frame rate and bitrate ceiling
kixelated Sep 29, 2026
bc7542d
fix(publish): keep the rendition advertised while it re-probes
kixelated Sep 29, 2026
c8bb7cf
Merge remote-tracking branch 'origin/main' into pr-4551
kixelated Sep 29, 2026
6d0a88d
test(auth): run the outage tests on a paused clock without sockets (#…
kixelated Sep 29, 2026
39b16cb
fix(net): a refused update's closed request doesn't end the announce …
kixelated Sep 29, 2026
bfe29e2
feat(net): a cluster publisher change updates the advertisement in place
kixelated Sep 29, 2026
f3577c9
fix(net): track tail hardening (#4533)
kixelated Sep 29, 2026
f8cf9e5
feat(net): an update from an unknown publisher is a new source
kixelated Sep 30, 2026
e4548ce
Merge remote-tracking branch 'origin/quest/m1/js-ietf-reprice' into q…
kixelated Sep 30, 2026
4885cbc
docs: correct dnf add repo syntax (#4503)
rc4 Sep 30, 2026
3edeb7e
revert: drop the hop-0 new-source rule in favor of stamping
kixelated Sep 30, 2026
6afea66
fix(rs): pass _select seeds to awk via ENVIRON for BSD awk
kixelated Sep 30, 2026
e7b7c60
feat(net): relays stamp an unknown publisher with a per-connection hop
kixelated Sep 30, 2026
b9398f7
fix(net): re-resolve a splice successor on every judgment
kixelated Sep 30, 2026
5b43339
quest: a datagram-flagged fetch object fails only its fetch
kixelated Sep 30, 2026
7fd935e
Merge pull request #4556 from moq-dev/claude/agents-immutable-names
kixelated Sep 30, 2026
e5bc9bb
Merge pull request #4551 from moq-dev/claude/plan-followups-main
kixelated Sep 30, 2026
ec0086e
Merge pull request #4538 from moq-dev/quest/m1/publish-codec-string
kixelated Sep 30, 2026
2d96757
Merge pull request #4546 from moq-dev/quest/m1/js-fetch-cancel
kixelated Sep 30, 2026
122856b
Merge pull request #4549 from moq-dev/quest/m1/js-ietf-reprice
kixelated Sep 30, 2026
f528118
feat(net): stamp an unknown publisher ahead of its 0
kixelated Sep 30, 2026
793b73a
Merge remote-tracking branch 'origin/main' into quest/m1/cluster-publ…
kixelated Sep 30, 2026
a8c50f3
Merge pull request #4484 from moq-dev/quest/m1/splice-edges
kixelated Sep 30, 2026
d3c73df
quest: plan relay hardening and IETF decode fixes (#4570)
kixelated Sep 30, 2026
94d9f0d
quest: plan the TS stats module move on dev (#4572)
kixelated Sep 30, 2026
3d585d4
Merge pull request #4561 from moq-dev/quest/m1/cluster-publisher-in-p…
kixelated Sep 30, 2026
6cbfddd
Merge pull request #4568 from moq-dev/fix/select-bsd-awk
kixelated Sep 30, 2026
fd3bb81
docs: add hand-drawn language icons to library table (#4563)
kixelated Sep 30, 2026
98ff05e
fix(rpm): sign every package so gpgcheck=1 installs work (#4571)
kixelated Sep 30, 2026
5f41798
fix(moq-mux): signal a new time base when the DTS reserve steps the P…
kixelated Sep 30, 2026
87a9177
feat(moq-mux): estimate the catalog framerate (#4576)
kixelated Sep 30, 2026
583aac6
test(moq-net): watch mesh_withdraw's cursor from its own task (#4564)
kixelated Sep 30, 2026
a0ccc88
docs(quest): cluster routing no longer waits on moq.pro workers (moq.…
kixelated Sep 30, 2026
7f5ae43
quest(m1): plan parked reads waking on evicted or aborted groups (#4575)
kixelated Sep 30, 2026
c15753e
fix(hls,auth): redact credentials from URLs in errors (#4536)
kixelated Sep 30, 2026
e523963
docs: one rpm repo command that works on DNF4 and DNF5 (#4567)
kixelated Sep 30, 2026
6f1a9e3
feat(srt): select a program of a multi-program feed (#4569)
kixelated Sep 30, 2026
59706a4
fix(net): send the AUTHORITY setup option from moqt:// clients (#4578)
thomshutt-fastly Sep 30, 2026
94cc9b0
quest: wt-close-upstream waits on the web-transport-moq release (#4520)
kixelated Sep 30, 2026
3e7313a
quest(m2): plan a Windows.Graphics.Capture backend (#4586)
kixelated Sep 30, 2026
146769e
quest: apply the 2026-09-30 audit (#4589)
kixelated Sep 30, 2026
cead1bd
quest(m1): drop the retired TS import shared shift (#4583)
kixelated Sep 30, 2026
a42a56d
feat(lite): moq-lite-07 switches to 64-bit leading-ones varints (#4455)
kixelated Sep 30, 2026
6dc9ec7
quest(m1): plan #4456, #4508, #4581, #4582 (#4587)
kixelated Sep 30, 2026
a0309f6
chore(tooling): thin justfiles and CI that calls them (#4038)
kixelated Sep 30, 2026
603b973
quest(m1): split cluster routing into child quests (#4592)
kixelated Sep 30, 2026
19cfa9b
chore(deps): bump urllib3 from 2.7.0 to 2.8.0 (#4593)
dependabot[bot] Sep 30, 2026
4033bfa
chore: release (#4320)
moq-bot[bot] Sep 30, 2026
2b58fcb
feat(audio): backend seams, surround layouts, and AAC encode (audio-c…
kixelated Sep 30, 2026
5124f81
quest(moxygen): Moxygen compatibility (#4253)
kixelated Sep 30, 2026
8c01e32
fix(moq-net): a stream reset with an unmapped code no longer ends an …
kixelated Sep 30, 2026
6469f20
fix(relay)!: remove cluster gossip discovery (#4601)
kixelated Sep 30, 2026
cb65fb0
fix(net): prune departed subscribers when registering a new one (#4604)
kixelated Sep 30, 2026
58ceaf7
quest(quic): hard-fork quinn in-tree as moq-quic (#4617)
kixelated Sep 30, 2026
c73f0b5
quest: drop relay memory benchmark (#4621)
kixelated Sep 30, 2026
d29985a
fix(nix): keep the packaged relay unit in moq-relay's source (#4622)
kixelated Sep 30, 2026
9157692
fix(demo): serve distinct HLS renditions (#4620)
kixelated Sep 30, 2026
d04baef
fix(net): prune departed subscribers only when the list would grow (#…
kixelated Sep 30, 2026
8af3855
fix(json): bound decoded snapshots and accumulated patches (#4632)
kixelated Sep 30, 2026
1bbbdbb
fix(net): prune departed subscribers on every aggregate wake (#4633)
kixelated Sep 30, 2026
400b89a
perf(net): share route ranking across announcement cursors (#4634)
kixelated Sep 30, 2026
e488e69
fix(moq-mux): keep the TS export hold across a rewind (#4618)
t0ms Sep 30, 2026
1b090d0
quest(m1): plan #4595, #4635, T-STD TS export, and Discord requests (…
kixelated Sep 30, 2026
e89fce1
quest: apply the wildcard/cluster audit (#4629)
kixelated Sep 30, 2026
ef2511e
fix(moq-net): hold route updates so a withdrawal retracts once (#4642)
kixelated Oct 1, 2026
472231a
fix(hls): an estimated framerate keeps the rendition (#4641)
kixelated Oct 1, 2026
4927a8a
chore: merge main into dev
kixelated Oct 1, 2026
d78b821
fix: adapt main's new tests to dev's APIs after the merge
kixelated Oct 1, 2026
70927aa
fix(net): take a group FETCH's retention from FETCH_OK
kixelated Oct 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .github/actions/just/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Install just
description: Install the pinned just for jobs outside the nix dev shell, which already provides it.

runs:
using: composite
steps:
# A checksum-verified prebuilt, so it costs seconds rather than a
# `cargo install`. Keep the version in step with nixpkgs' just in flake.lock.
- uses: taiki-e/install-action@4cef1412cce204788f482e778a0b9187f9626a29 # v2.87.21
with:
tool: just@1.58.0
2 changes: 2 additions & 0 deletions .github/actions/rust-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ inputs:
runs:
using: composite
steps:
# The pinned action saves in a post step guarded by success(), so failed
# builds cannot publish a cache even when dispatch saving is enabled.
- uses: jdx/mr-boxington-action@7234d3dd1a6ca8f6c381eea8e4dfb03f18fcf777 # v1.3.0
with:
version: 1.10.0
Expand Down
49 changes: 38 additions & 11 deletions .github/justfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
set fallback
set working-directory := '..'

# actionlint is skipped when absent locally; the root `_tools` preflight makes
# it a hard requirement under MOQ_STRICT, so CI can't skip it.

# Lint GitHub Actions workflows.
# Lint GitHub Actions workflows, their alert coverage, and that every step runs a recipe.
check:
python3 {{ source_directory() }}/scripts/install-formula.test.py
{{ source_directory() }}/scripts/release.test.sh
@if command -v nfpm >/dev/null 2>&1 && command -v envsubst >/dev/null 2>&1 && command -v dpkg-deb >/dev/null 2>&1 && command -v rpm >/dev/null 2>&1; then python3 {{ source_directory() }}/../rs/scripts/package-rename.test.py; fi
@if command -v actionlint >/dev/null 2>&1; then actionlint; fi
{{ source_directory() }}/scripts/alert.sh check-coverage
@if command -v rustc >/dev/null 2>&1; then {{ source_directory() }}/scripts/package-binary.test.sh; fi
actionlint
sh/gh/alert.sh check-coverage
bun sh/gh/check-runs.ts

# Tests of the release tooling itself; nightly, not on every pull request.
test:
python3 sh/gh/install-formula.test.py
sh/gh/release.test.sh
python3 sh/rs/package-rename.test.py
sh/go/publish-wrapper.test.sh
bash .claude/hooks/direnv.test.sh

# Release workflow helpers, e.g. `just gh release parse-version moq-cli`.
[positional-arguments]
release *args:
sh/gh/release.sh "$@"

# Post a failed run to Discord, or check that alert.yml covers every workflow.
[positional-arguments]
alert *args:
sh/gh/alert.sh "$@"

# Render a Homebrew formula template for a release.
[positional-arguments]
formula *args:
sh/gh/render-formula.sh "$@"

# Copy a rendered formula into a Homebrew tap checkout, migrating renamed formulae.
[positional-arguments]
install-formula *args:
python3 sh/gh/install-formula.py "$@"

# Trigger the apt-repo and rpm-repo workflows for a release tag.
[positional-arguments]
trigger-repo-publish *args:
sh/gh/trigger-repo-publish.sh "$@"
72 changes: 0 additions & 72 deletions .github/scripts/package-binary.test.sh

This file was deleted.

11 changes: 7 additions & 4 deletions .github/workflows/alert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ on:
# Android) are omitted so they don't spawn a skipped Alert run on every
# push to every PR. `just gh check` enforces both halves of that.
#
# Swift and Platform are here despite also running on pull requests: Swift
# warms its own Rust cache on `main`, and Platform compiles every merge to
# `main` and `dev`. Those push runs are nobody's check, so a break in them
# Swift, OBS, and Platform are here despite also running on pull requests:
# Swift warms its own Rust cache on `main`, and OBS and Platform build every
# merge to `main` and `dev`. Those push runs are nobody's check, so a break in them
# would otherwise go unseen. The cost is a skipped Alert run per pull
# request.
workflows:
Expand All @@ -37,6 +37,7 @@ on:
- moq-gst
- moq-relay
- Nightly
- OBS
- Platform
- release-brew
- Release Dart
Expand Down Expand Up @@ -80,6 +81,8 @@ jobs:
with:
persist-credentials: false

- uses: ./.github/actions/just

- name: Post to Discord
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
Expand All @@ -90,4 +93,4 @@ jobs:
RUN_REF: ${{ github.event.workflow_run.head_branch }}
RUN_TITLE: ${{ github.event.workflow_run.display_title }}
RUN_ACTOR: ${{ github.event.workflow_run.triggering_actor.login }}
run: .github/scripts/alert.sh discord
run: just gh alert discord
10 changes: 2 additions & 8 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ concurrency:

env:
CARGO_NDK_VERSION: 4.1.2
JUST_VERSION: 1.52.0

jobs:
android:
Expand All @@ -73,15 +72,10 @@ jobs:

# No Rust cache: this workflow only runs on pull requests, which may not
# save one, so it would have nothing to restore.
- uses: ./.github/actions/just

- name: Install cargo-ndk
run: cargo install --locked "cargo-ndk@$CARGO_NDK_VERSION"

# A checksummed release binary, where `cargo install` would spend ~2 minutes
# building just from source.
- name: Install just
uses: taiki-e/install-action@4cef1412cce204788f482e778a0b9187f9626a29 # v2.87.21
with:
tool: just@${{ env.JUST_VERSION }}

- name: Check
run: just rs android
5 changes: 3 additions & 2 deletions .github/workflows/apt-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
with:
persist-credentials: false

- uses: ./.github/actions/just

- name: Set up packaging tools
uses: ./.github/actions/setup-packaging

Expand All @@ -53,10 +55,9 @@ jobs:
- name: Publish to R2
shell: bash
env:
ARTIFACTS_DIR: artifacts
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
run: ./infra/apt/publish.sh
run: just infra apt publish "$GITHUB_WORKSPACE/artifacts"
7 changes: 5 additions & 2 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ on:
# Priming a cold cache by hand, e.g. after a toolchain bump rolls the key.
workflow_dispatch:

# Newest `main` wins; an older warm is worth less than the runner it holds.
# Queue rather than cancel. A warm takes 30-50 minutes and `main` merges more
# often than that, so cancelling meant no warm ever finished and every pull
# request restored a store hours stale. Actions keeps only the newest pending
# run per group, so merges that land mid-warm still coalesce into one.
concurrency:
group: cache-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: false

jobs:
warm:
Expand Down
39 changes: 5 additions & 34 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,7 @@ jobs:
# Full history so `just ci check` can diff against origin/$GITHUB_BASE_REF.
fetch-depth: 0

# Quests, agent config, and root Markdown compile nothing, so a diff of only
# those skips the disk cleanup and Rust cache that exist for the build.
- name: Scope
id: scope
run: |
base=$(git merge-base "origin/$GITHUB_BASE_REF" HEAD)
files=$(git diff --name-only "$base")
if grep -qvE '^(quest/|\.claude/|[^/]+\.md$)' <<< "$files"; then
echo build=true >> "$GITHUB_OUTPUT"
fi

- name: Free disk space
if: steps.scope.outputs.build
uses: jlumbroso/free-disk-space@ceedf095f4ec1a097402bc6bd80831f2e1a6fde6 # main
with:
tool-cache: false
Expand All @@ -75,20 +63,19 @@ jobs:
# scope such an entry to the PR's own branch anyway, where no later PR
# could read it while it ate the repository's 10 GB budget.
- name: Rust cache
if: steps.scope.outputs.build
uses: ./.github/actions/rust-cache

# The same recipe a developer runs locally. It diffs against
# origin/$GITHUB_BASE_REF and touches only the packages this PR changed
# plus their dependents, so a one-crate PR compiles one crate.
# plus their dependents, so a one-crate PR compiles one crate and a
# quest-only PR runs only the lints. sh/dispatch.sh's impact map is the one
# place that decides; the setup above always runs rather than keep a second
# path map here.
#
# MOQ_STRICT turns every "tool missing, skipping" guard into an error.
# Locally an absent formatter means less gets checked; here it would mean
# a green run that checked nothing, which is the failure mode worth
# spending a preflight on.
- name: Test direnv hook
run: bash .claude/hooks/direnv.test.sh

- name: Check
run: nix develop --command just ci check
env:
Expand All @@ -108,26 +95,12 @@ jobs:
# Full history so `just ci test` can diff against origin/$GITHUB_BASE_REF.
fetch-depth: 0

# Same scope as the `check` job. No test covers those files either, so the
# job skips everything and reports green instead of spending a minute of
# setup to run nothing.
- name: Scope
id: scope
run: |
base=$(git merge-base "origin/$GITHUB_BASE_REF" HEAD)
files=$(git diff --name-only "$base")
if grep -qvE '^(quest/|\.claude/|[^/]+\.md$)' <<< "$files"; then
echo build=true >> "$GITHUB_OUTPUT"
fi

- name: Free disk space
if: steps.scope.outputs.build
uses: jlumbroso/free-disk-space@ceedf095f4ec1a097402bc6bd80831f2e1a6fde6 # main
with:
tool-cache: false

- if: steps.scope.outputs.build
uses: DeterminateSystems/nix-installer-action@1d87d45818068401a10cf16bdc5f00b24994a83f # main
- uses: DeterminateSystems/nix-installer-action@1d87d45818068401a10cf16bdc5f00b24994a83f # main
with:
determinate: false
# Trust the flake's cachix substituter. `nixConfig` in flake.nix is
Expand All @@ -142,13 +115,11 @@ jobs:

# Restore only, same as the `check` job above.
- name: Rust cache
if: steps.scope.outputs.build
uses: ./.github/actions/rust-cache

# NEXTEST_PROFILE picks up the longer hang timeout in .config/nextest.toml;
# without it a runner under load could trip the local one.
- name: Test
if: steps.scope.outputs.build
run: nix develop --command just ci test
env:
MOQ_STRICT: 1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
with:
persist-credentials: false

- uses: ./.github/actions/just

- id: parse
env:
CRATE: ${{ inputs.package }}
Expand All @@ -58,7 +60,7 @@ jobs:
*) package="$crate" ;;
esac
echo "package=${package}" >> "$GITHUB_OUTPUT"
.github/scripts/release.sh parse-version "$crate"
just gh release parse-version "$crate"

build:
name: Build ${{ matrix.platform }}
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/interop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
- "test/justfile"
- "package.json"
# The Go client builds against the modules this script stages.
- "go/scripts/**"
- "sh/go/**"
- ".github/workflows/interop.yml"

concurrency:
Expand Down Expand Up @@ -74,7 +74,6 @@ jobs:
- name: Rust cache
uses: Swatinem/rust-cache@f0d9c3887740aee45f6153b24b3a6b815192ec16 # v2
with:
cache-on-failure: true
# A pull request's entry is scoped to its own branch, where no later
# run reads it, while it spends the budget the shared store needs.
save-if: ${{ github.event_name != 'pull_request' }}
Expand Down Expand Up @@ -129,6 +128,14 @@ jobs:
env:
MOQ_TEST_RUNS: ${{ runner.temp }}/moq-test-runs

# The same round-trip over an open-GOP clip: every leading picture after a
# recovery point must come back, in decode order.
- name: TS open GOP
run: nix develop --command just test ts --open-gop
shell: bash -leo pipefail {0}
env:
MOQ_TEST_RUNS: ${{ runner.temp }}/moq-test-runs

# Builds the sparse-EPG and pending-version fixtures and round-trips
# them, asserting the schedule survives and pending sections are dropped.
- name: EIT fixtures
Expand Down
Loading
Loading