Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
601 commits
Select commit Hold shift + click to select a range
2053dc5
docs(cli): distributed-game skill for zones, facts and watches
patrickleet Oct 24, 2026
36054d8
feat(game): neighbours follow the player's view (observer Focus)
patrickleet Oct 24, 2026
da77ccb
refactor(game): opt into fact batches with one override
patrickleet Oct 24, 2026
7b9bef2
test(game): time Mob Pit room recovery after a celld crash
patrickleet Oct 24, 2026
a0d2051
feat(cell): run a fact batch under one command guard
patrickleet Oct 24, 2026
d909a0a
fix(game): never lose a fact to a cell without __batch
patrickleet Oct 24, 2026
1a27dda
feat(game): work counters for replication, facts and watches
patrickleet Oct 24, 2026
a61a9e0
feat(game): mobpit-load work lines and interleaved A/B runs
patrickleet Oct 24, 2026
310fdd5
Merge wsr/facts: one-override fact batches, batch replay test
patrickleet Oct 24, 2026
7c89cfe
feat(game): mobpit-load reports facts per request and deletes per fact
patrickleet Oct 24, 2026
682d93f
feat(game): negotiate protocol v2 with features and origin
patrickleet Oct 24, 2026
42def9e
feat(game): the SDK focuses placed neighbours from setPosition
patrickleet Oct 24, 2026
c9bc03b
Merge wsr/protocol: protocol v2 negotiation, placed auto focus
patrickleet Oct 24, 2026
2c6eea1
perf(game): no zone writes before a waking room's Welcome
patrickleet Oct 24, 2026
4548a8a
test(game): recovery bots rejoin as their room's own player
patrickleet Oct 24, 2026
2597bb6
Merge wsr/recovery: celld crash recovery harness, no writes before We…
patrickleet Oct 24, 2026
1168ad1
Merge wsr/counters: work counters, interleaved A/B, reconcile test
patrickleet Oct 24, 2026
e487715
fix(game): regenerate the Mob Pit client for hood/borough messages
patrickleet Oct 24, 2026
5a277a5
test(game): wait for each watched view in the bosses test
patrickleet Oct 24, 2026
01e000f
fix(game): regenerate the SvelteKit Mob Pit client too
patrickleet Oct 24, 2026
eccd9db
test(game): allow f32 rounding in the doorway jump bound
patrickleet Oct 24, 2026
45c922a
fix(game): retry a world push the zone could not take
patrickleet Oct 24, 2026
cd6f9bf
Merge #292 into its base (fold the game stack into #280)
patrickleet Oct 24, 2026
e8c5ec0
Merge #291 into its base (fold the game stack into #280)
patrickleet Oct 24, 2026
31069f5
Merge #290 into its base (fold the game stack into #280)
patrickleet Oct 24, 2026
256b938
Merge #289 into its base (fold the game stack into #280)
patrickleet Oct 24, 2026
d4345f8
Merge #288 into its base (fold the game stack into #280)
patrickleet Oct 24, 2026
891b733
Merge #287 into its base (fold the game stack into #280)
patrickleet Oct 24, 2026
6113314
Merge #285 into its base (fold the game stack into #280)
patrickleet Oct 24, 2026
b639b94
Merge feat/v5-game-runtime into fix/e2e-ui-login-v2-lanes
patrickleet Oct 24, 2026
5622c24
Merge #286 into feat/v5-game-runtime (fold into #280)
patrickleet Oct 25, 2026
006876a
feat(game): static colliders and one raycast for entities and walls
patrickleet Nov 1, 2026
834e7d3
Merge pull request #293 from hops-ops/feat/static-colliders
patrickleet Nov 1, 2026
08fe4e0
chore(hops): serve Mob Pit at mobpit.localhost
patrickleet Nov 1, 2026
31bbaaf
feat(game): ramps, slope walking and bouncing laser in Mob Pit
patrickleet Nov 1, 2026
7d75f3f
feat(game): heightfield terrain, laser beams and A-jump controls
patrickleet Nov 1, 2026
30a3bfb
feat(game): rolling terrain, platforms and deadly holes in rooms
patrickleet Nov 1, 2026
9923665
feat(game): draw terrain and holes; sweep moves against tunneling
patrickleet Nov 1, 2026
9ee0343
fix(game): wind terrain triangles up so the ground draws
patrickleet Nov 1, 2026
2d36cf7
feat(game): open room sides crossed anywhere along them
patrickleet Nov 1, 2026
3d2ada9
fix(game): keep the ground level round obstacles
patrickleet Nov 1, 2026
e7efe78
feat(game): zone-to-zone messages with verified principals
patrickleet Nov 1, 2026
fbd4cbb
feat(mobpit): lasers and chasing mobs cross room boundaries
patrickleet Nov 1, 2026
96ea9fb
feat(mobpit): skip updates for entities off screen
patrickleet Nov 1, 2026
b0b048d
fix(game): keep celld zones with pending work ticking
patrickleet Nov 1, 2026
2ee3d1a
fix(mobpit): keep crossing mobs, aggro shot mobs across rooms
patrickleet Nov 1, 2026
680f820
fix(mobpit): drape slam warnings, stand obstacles on hills
patrickleet Nov 2, 2026
1ab7b4c
feat(mobpit): three levels of detail for props and round mobs
patrickleet Nov 2, 2026
2a09783
feat(mobpit): coyote time, jump buffer and ground grip
patrickleet Nov 2, 2026
7a550dc
feat(mobpit): hit stop, trauma shake, easing and effect pools
patrickleet Nov 2, 2026
815614a
fix(mobpit): stop lasers at walls at every height
patrickleet Nov 2, 2026
63fb050
fix(mobpit): never hand a shot that hit a wall to the next room
patrickleet Nov 2, 2026
3489434
feat(game): entity leases between zones, trace stop and exit
patrickleet Nov 3, 2026
39cabc1
refactor(mobpit): cross rooms on framework leases and trace helpers
patrickleet Nov 3, 2026
fce2b2e
docs(game): ramps, terrain, bounces, leases and Mob Pit mechanics
patrickleet Nov 3, 2026
d5e592a
fix(mobpit): keep a crossing mob through a home room restart
patrickleet Nov 3, 2026
f88c8e0
test(mobpit): run four headless test files at a time
patrickleet Nov 4, 2026
24cd422
fix(mobpit): fire on a click, not on a camera drag
patrickleet Nov 5, 2026
6668cc6
chore(mobpit): pass extra worker vars through the Hops chart
patrickleet Nov 5, 2026
cb1f9a7
chore(mobpit): run the Hops Environments on OrbStack
patrickleet Nov 5, 2026
d75388c
fix(local): attach mobpit route to every gateway listener
patrickleet Nov 6, 2026
d7da700
feat(local): run mobpit and celld in the ambient mesh
patrickleet Nov 6, 2026
9b0bf03
feat(js): game/vite plugin; generated game clients stay uncommitted
patrickleet Nov 17, 2026
262a644
fix(game): pass open sides to roomsInReach in the SvelteKit pit
patrickleet Nov 17, 2026
43fb3a4
build(game): generate game clients, never commit them
patrickleet Nov 17, 2026
98bb4c6
ci: pin worker-build 0.8.7 for the worker 0.8 crates
patrickleet Nov 17, 2026
4a33016
test: bless compile-fail diagnostics for Rust 1.100
patrickleet Nov 17, 2026
5bf855b
test: bless panic location with rust-src, as CI renders it
patrickleet Nov 17, 2026
517ff05
fix(mobpit): draw one copy of a mob crossing between rooms
patrickleet Nov 17, 2026
6041087
test(mobpit): hunt followers before waiting for a room to sleep
patrickleet Nov 17, 2026
26b46b2
test(sveltekit): put Ana back at the doorway before the wake check
patrickleet Nov 17, 2026
5c2b0bc
test(mobpit): retry startPit on a new port if the services exit
patrickleet Nov 17, 2026
06b87be
test(celld): allow a late first read in the alarm restart proof
patrickleet Nov 17, 2026
d3952c8
Merge pull request #295 from hops-ops/feat/laser-ramps
patrickleet Nov 17, 2026
f73726c
Merge pull request #294 from hops-ops/chore/mobpit-localhost
patrickleet Nov 17, 2026
046c816
Merge pull request #280 from hops-ops/feat/v5-game-runtime
patrickleet Nov 17, 2026
1290aa8
chore: merge main into v5
patrickleet Nov 17, 2026
d860259
Merge pull request #298 from hops-ops/chore/v5-sync-main
patrickleet Nov 18, 2026
d9e9bd2
fix(postgres): close pooled connections released inside a transaction…
patrickleet Nov 18, 2026
c8512c3
test(ci): fail service-backed tests that cannot reach their service
patrickleet Nov 18, 2026
ef75699
fix(graphql): keep nested SQLite JSON as JSON on newer SQLite
patrickleet Nov 18, 2026
fde03cf
Merge pull request #299 from hops-ops/chore/v5-review-2-honest-ci
patrickleet Nov 18, 2026
bc37c3a
fix(graphql)!: one grant type and one row-policy choke point
patrickleet Nov 18, 2026
cc30ff7
test(cli): import read() in fixture crates built by the manifest harness
patrickleet Nov 18, 2026
ccc2e85
Merge pull request #300 from hops-ops/fix/v5-review-3-unify-read-perm…
patrickleet Nov 19, 2026
84bbfd3
test(graphql): run the harden suites on SQLite and Postgres
patrickleet Nov 19, 2026
5ab9300
test(graphql): run the query-protocol suite on SQLite and Postgres
patrickleet Nov 19, 2026
c91eeb3
test(graphql): create graphql_sqlite fixtures from declared schemas
patrickleet Nov 19, 2026
756593a
test(graphql): seed every GraphQL fixture from its declared schema
patrickleet Nov 19, 2026
cf89a04
fix(graphql)!: one meaning for string patterns and JSON on both dialects
patrickleet Nov 19, 2026
8c898e6
Merge pull request #301 from hops-ops/test/v5-review-4-graphql-on-pos…
patrickleet Nov 19, 2026
b712f11
chore: track the workspace Cargo.lock
patrickleet Nov 19, 2026
6a698fe
fix(graphql)!: make identity fail closed
patrickleet Nov 19, 2026
03baa79
fix: keep feature-gated test and JS export list in step
patrickleet Nov 19, 2026
785837d
Merge pull request #303 from hops-ops/fix/v5-review-5-identity-fail-c…
patrickleet Nov 19, 2026
ab37157
Merge remote-tracking branch 'origin/v5' into chore/track-cargo-lock
patrickleet Nov 19, 2026
01b4e33
chore: lock the dependencies added on v5
patrickleet Nov 19, 2026
fe0c25c
fix(graphql)!: one row-policy evaluator, proven against SQL and TS
patrickleet Nov 19, 2026
4cb82a1
Merge pull request #302 from hops-ops/chore/track-cargo-lock
patrickleet Nov 19, 2026
d05294f
fix(graphql): bind one type per numeric column
patrickleet Nov 19, 2026
6dec09f
fix(gateway)!: one header rule; no client control channel
patrickleet Nov 20, 2026
e0f6eb2
refactor!: one projection IR, compiled once per descriptor
patrickleet Nov 20, 2026
3982ead
fix!: one bus delivery contract above the transport
patrickleet Nov 20, 2026
8713c19
chore: lock tracing in the gateway fixture workspaces
patrickleet Nov 20, 2026
cb6cc29
test!: one bus conformance suite run by every transport
patrickleet Nov 20, 2026
129efc1
fix!: outbox retries back off; one after-commit publish path
patrickleet Nov 20, 2026
1b5e3b1
fix: import Duration in the cell SQL outbox store
patrickleet Nov 20, 2026
ba2e797
fix!: queued repository locks are owned by the loaded aggregate
patrickleet Nov 20, 2026
77e6cda
Merge pull request #304 from hops-ops/fix/v5-review-6-one-row-policy-…
patrickleet Nov 20, 2026
a4272d5
Merge pull request #305 from hops-ops/fix/v5-review-7-gateway-side-ch…
patrickleet Nov 20, 2026
a7f233b
Merge pull request #306 from hops-ops/refactor/v5-review-8-one-projec…
patrickleet Nov 20, 2026
d050971
Merge pull request #307 from hops-ops/fix/v5-review-9-bus-delivery-co…
patrickleet Nov 20, 2026
9f3b8e8
Merge pull request #308 from hops-ops/test/v5-review-10-bus-conformance
patrickleet Nov 20, 2026
74248be
test: fix two tests that failed intermittently
patrickleet Nov 20, 2026
665a04a
Merge pull request #309 from hops-ops/fix/v5-review-11-outbox-retry
patrickleet Nov 20, 2026
ce4f37a
test: allow the doorway frame its one un-eased step
patrickleet Nov 20, 2026
7f1f6c1
fix: the game connection does not send on a closing socket
patrickleet Nov 20, 2026
e16fc5d
refactor!: portable_command! is command!; drop the fn-form attribute
patrickleet Nov 20, 2026
810b105
refactor!: recorders cannot fail; drop the pre-#[sourced] macros
patrickleet Nov 20, 2026
df6bd45
refactor!: predicted state values are declared, not inferred
patrickleet Nov 20, 2026
0c77893
refactor!: both command forms share one load, guard and name rule
patrickleet Nov 21, 2026
2b851b4
fix: generated code follows a renamed `distributed` dependency
patrickleet Nov 21, 2026
4587445
docs: drop the macro forms v5 removed from README and CLI skills
patrickleet Nov 21, 2026
1e498df
Merge pull request #310 from hops-ops/fix/v5-review-12-queued-repository
patrickleet Nov 21, 2026
4521e61
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-13-c…
patrickleet Nov 21, 2026
6b87062
style: rustfmt command.rs
patrickleet Nov 21, 2026
029253e
refactor!: delete the unused command dispatcher scaffolding
patrickleet Nov 21, 2026
8d37529
refactor!: drop unreachable commit terminals; outcomes are markers
patrickleet Nov 21, 2026
839e3c4
refactor!: delete confirmations, obligations and the effects IR
patrickleet Nov 21, 2026
480dbbb
refactor: remove what the deleted obligations left unreachable
patrickleet Nov 21, 2026
14f95ec
style: rustfmt graphql/mod.rs
patrickleet Nov 21, 2026
36ecc47
Merge pull request #313 from hops-ops/refactor/v5-review-13-command-m…
patrickleet Nov 21, 2026
ab380d0
refactor!: run typed commands through one pipeline
patrickleet Nov 21, 2026
513ec0a
test: update the CLI's pinned client schema fingerprint
patrickleet Nov 21, 2026
d6af1a8
Merge branch 'refactor/v5-review-15-typed-pipeline' into refactor/v5-…
patrickleet Nov 21, 2026
119e681
perf!: one fingerprint, one status lookup, retry write conflicts
patrickleet Nov 21, 2026
499558c
Merge pull request #314 from hops-ops/refactor/v5-review-15-typed-pip…
patrickleet Nov 21, 2026
57b267d
feat!: compact the ledger, map remote errors, explicit lifecycle gate
patrickleet Nov 21, 2026
9afb5cc
test: import Eventual whenever graphql is on, not only with sqlite
patrickleet Nov 21, 2026
c1cb16c
Merge branch 'refactor/v5-review-15b-one-pipeline' into refactor/v5-r…
patrickleet Nov 21, 2026
e0fe745
Merge branch 'refactor/v5-review-15c-hot-path' into refactor/v5-revie…
patrickleet Nov 21, 2026
52861f1
refactor!: typed dispatch no longer needs the graphql feature
patrickleet Nov 21, 2026
0fa7351
refactor: split service routes.rs by job
patrickleet Nov 21, 2026
8bf9c63
refactor!: delete the unledgered cell command path
patrickleet Nov 21, 2026
6f2017b
Merge pull request #315 from hops-ops/refactor/v5-review-15b-one-pipe…
patrickleet Nov 21, 2026
d0fe882
Merge pull request #316 from hops-ops/refactor/v5-review-15c-hot-path
patrickleet Nov 21, 2026
fa9a4c0
fix: take the SQLite write lock before installing gateway versions
patrickleet Nov 21, 2026
09332ce
Merge branch 'refactor/v5-review-15e-routes-split' into refactor/v5-r…
patrickleet Nov 21, 2026
48948c2
Merge branch 'refactor/v5-review-15d-ledger-host-gate' into refactor/…
patrickleet Nov 21, 2026
c7a297b
feat!: bus, Knative and saga commands go through the ledger
patrickleet Nov 21, 2026
8e0e5b3
Merge pull request #317 from hops-ops/refactor/v5-review-15d-ledger-h…
patrickleet Nov 21, 2026
12e1fff
Merge pull request #318 from hops-ops/refactor/v5-review-15e-routes-s…
patrickleet Nov 21, 2026
368f494
Merge pull request #319 from hops-ops/refactor/v5-review-14-one-write…
patrickleet Nov 21, 2026
056d36e
test: give each CLI contract test its own temp directory
patrickleet Nov 21, 2026
8f4def2
feat!: typed commands without an aggregate
patrickleet Nov 21, 2026
80a8b09
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-14b-…
patrickleet Nov 21, 2026
1df7a26
Merge pull request #320 from hops-ops/refactor/v5-review-14b-aggregat…
patrickleet Nov 21, 2026
1756de9
refactor!: remove the legacy command path
patrickleet Nov 21, 2026
51a6676
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-14c-…
patrickleet Nov 21, 2026
d786653
refactor: one set of projection store decisions for both backends
patrickleet Nov 21, 2026
b9a4d2c
test(game): say what holds a room awake when hibernation times out
patrickleet Nov 21, 2026
7a07b30
Merge branch 'refactor/v5-review-14c-remove-legacy' into refactor/v5-…
patrickleet Nov 21, 2026
f679511
test: one projection store suite for memory, SQLite and Postgres
patrickleet Nov 21, 2026
87f729e
Merge pull request #321 from hops-ops/refactor/v5-review-14c-remove-l…
patrickleet Nov 21, 2026
e1b7f3d
refactor!: typed storage corruption, smaller store trait, rebuild core
patrickleet Nov 21, 2026
1971ec7
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-16-p…
patrickleet Nov 21, 2026
44930ad
ci: share base-branch Rust caches, cut runner slots, budget every job
patrickleet Nov 21, 2026
f44bfa0
ci: fit the base-branch caches in the 10 GB repository limit
patrickleet Nov 21, 2026
df25b42
test(mobpit): keep hunting followers until the room sleeps
patrickleet Nov 23, 2026
ad96b9e
test: free the SQLite lock between the install race writer's commits
patrickleet Nov 23, 2026
9b667c1
Merge pull request #312 from hops-ops/ci/fast-rust-pipeline
patrickleet Nov 23, 2026
b895403
perf: fewer SQL statements per commit, shared fence lock, indexes
patrickleet Nov 23, 2026
20011af
fix: build graphql without a SQL backend again
patrickleet Nov 23, 2026
2b916f5
Merge branch 'refactor/v5-review-16-projection-store' into perf/v5-re…
patrickleet Nov 23, 2026
7056de5
refactor!: remove table layers and fields that never vary
patrickleet Nov 23, 2026
8541795
fix(sqlite): registration waits for a concurrent writer
patrickleet Nov 23, 2026
90c86bf
Merge branch 'perf/v5-review-17-sql-hot-path' into refactor/v5-review…
patrickleet Nov 23, 2026
aceb759
Merge pull request #322 from hops-ops/refactor/v5-review-16-projectio…
patrickleet Nov 23, 2026
19e90b3
Merge pull request #323 from hops-ops/perf/v5-review-17-sql-hot-path
patrickleet Nov 23, 2026
d6e3c07
Merge pull request #324 from hops-ops/refactor/v5-review-17c-table-cl…
patrickleet Nov 23, 2026
98605c6
refactor!: the CLI uses the runtime's contract types
patrickleet Nov 23, 2026
bd5a0f8
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-18-c…
patrickleet Nov 23, 2026
572f172
Merge pull request #325 from hops-ops/refactor/v5-review-18-cli-share…
patrickleet Nov 23, 2026
b532c65
fix!: dev and build never leave processes behind
patrickleet Nov 23, 2026
585aac9
Merge remote-tracking branch 'origin/v5' into fix/v5-review-19-dev-pr…
patrickleet Nov 23, 2026
9c305f1
fix: killing a process group does not time out under load
patrickleet Nov 23, 2026
3d7d0f8
refactor!: one UI adapter; no app defaults in the CLI
patrickleet Nov 23, 2026
524a488
Merge branch 'fix/v5-review-19-dev-process-handling' into refactor/v5…
patrickleet Nov 23, 2026
71abeaa
Merge pull request #326 from hops-ops/fix/v5-review-19-dev-process-ha…
patrickleet Nov 23, 2026
5c0dba9
Merge pull request #327 from hops-ops/refactor/v5-review-19b-ui-adapter
patrickleet Nov 23, 2026
3157925
feat!: live queries reconnect; the replica frees what is unwatched
patrickleet Nov 23, 2026
523d72e
Merge remote-tracking branch 'origin/v5' into feat/v5-review-20-ts-li…
patrickleet Nov 23, 2026
248b33b
fix: the leaderboard reopens its live document after a lost socket
patrickleet Nov 24, 2026
9120b2f
test: real-socket live tests run on Node 20 and cannot hang
patrickleet Nov 24, 2026
87afaa7
perf: client cache cost follows what changed, not cache size
patrickleet Nov 24, 2026
5dfd6e5
Merge remote-tracking branch 'origin/feat/v5-review-20-ts-live-reconn…
patrickleet Nov 24, 2026
140ebc6
Merge pull request #328 from hops-ops/feat/v5-review-20-ts-live-recon…
patrickleet Nov 24, 2026
02a5818
Merge pull request #329 from hops-ops/perf/v5-review-21-ts-cache-cost
patrickleet Nov 24, 2026
b4fd1d1
refactor!: one protocol fixture, one state parser, fewer copies
patrickleet Nov 24, 2026
73c9e90
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-22-t…
patrickleet Nov 24, 2026
f56a1b4
Merge pull request #330 from hops-ops/refactor/v5-review-22-ts-fixtur…
patrickleet Nov 24, 2026
c2d38d9
refactor!: replica modules own their state; core client factory
patrickleet Nov 24, 2026
68606f9
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-22b-…
patrickleet Nov 24, 2026
9ac94ac
Merge pull request #331 from hops-ops/refactor/v5-review-22b-replica-…
patrickleet Nov 24, 2026
81acddb
fix!: game zones authenticate before acting and fence on lost leases
patrickleet Nov 24, 2026
30633d9
Merge remote-tracking branch 'origin/v5' into fix/v5-review-23-game-a…
patrickleet Nov 24, 2026
9735c94
Merge pull request #332 from hops-ops/fix/v5-review-23-game-admission
patrickleet Nov 24, 2026
778c077
refactor!: one game stimulus, one protocol version, one fact backlog
patrickleet Nov 24, 2026
cc3a24e
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-24-g…
patrickleet Nov 24, 2026
88b8a33
fix: the celld zone test worker carries a Wire handoff state
patrickleet Nov 24, 2026
1dc8bcf
perf: game hot loop allocates on change; native zone messages arrive
patrickleet Nov 24, 2026
458fac2
Merge branch 'refactor/v5-review-24-game-driver-contract' into perf/v…
patrickleet Nov 24, 2026
2021944
Merge pull request #333 from hops-ops/refactor/v5-review-24-game-driv…
patrickleet Nov 24, 2026
9414368
Merge pull request #334 from hops-ops/perf/v5-review-24b-game-hot-loop
patrickleet Nov 24, 2026
28a9769
refactor!: features name what they gate; drop the deployment plan
patrickleet Nov 24, 2026
2c33d02
fix: native game server closes without losing the reason frame
patrickleet Nov 24, 2026
45b3122
feat: flat events declare known body values
patrickleet Nov 24, 2026
3136b12
Merge pull request #337 from hops-ops/feat/v5-event-known-values
patrickleet Nov 24, 2026
343b3e6
Merge pull request #336 from hops-ops/fix/game-admission-conformance-…
patrickleet Nov 24, 2026
5b10102
Merge pull request #335 from hops-ops/refactor/v5-review-25-feature-f…
patrickleet Nov 24, 2026
05db03e
refactor!: core owns schedule data; manifest stores a surface once
patrickleet Nov 24, 2026
88704c0
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-25b-…
patrickleet Nov 24, 2026
ec7f8ee
Merge pull request #338 from hops-ops/refactor/v5-review-25b-layering
patrickleet Nov 24, 2026
fdad025
refactor!: move leaderboards into distributed_leaderboard
patrickleet Nov 24, 2026
dc444b5
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-25c-…
patrickleet Nov 24, 2026
37c2916
Merge pull request #339 from hops-ops/refactor/v5-review-25c-leaderbo…
patrickleet Nov 24, 2026
b351c5c
refactor!: share gateway live/delivery core across adapters
patrickleet Nov 24, 2026
e2b0c2e
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-25d-…
patrickleet Nov 24, 2026
c4a8cdf
ci: quote gateway test filter ending in a colon
patrickleet Nov 24, 2026
55db1a6
refactor!: one GraphQL row-cost model, typed errors, one executor
patrickleet Nov 24, 2026
f63a0d5
Merge branch 'refactor/v5-review-25d-gateway-delivery' into refactor/…
patrickleet Nov 24, 2026
d8efc64
feat!: share live GraphQL refreshes across identical subscriptions
patrickleet Nov 25, 2026
6166a66
Merge pull request #340 from hops-ops/refactor/v5-review-25d-gateway-…
patrickleet Nov 25, 2026
25648c2
Merge pull request #341 from hops-ops/refactor/v5-review-26a-query-cost
patrickleet Nov 25, 2026
ebee577
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-26b-…
patrickleet Nov 25, 2026
b40553c
fix: count live subscribers and producers separately
patrickleet Nov 25, 2026
c521fd1
test: delete cannot-fail tests, make macro and timing tests behavioural
patrickleet Nov 25, 2026
04803d7
Merge branch 'refactor/v5-review-26b-live-sharing' into refactor/v5-r…
patrickleet Nov 25, 2026
1edb52e
Merge pull request #342 from hops-ops/refactor/v5-review-26b-live-sha…
patrickleet Nov 25, 2026
b2dce10
Merge pull request #343 from hops-ops/refactor/v5-review-27a-test-pru…
patrickleet Nov 25, 2026
19672ab
test: one tests/common crate and backend conformance suites
patrickleet Nov 25, 2026
b4e23b3
Merge remote-tracking branch 'origin/v5' into refactor/v5-review-27b-…
patrickleet Nov 25, 2026
2859485
Merge pull request #344 from hops-ops/refactor/v5-review-27b-test-common
patrickleet Nov 25, 2026
4d652b6
fix: store Postgres timestamps as exact microseconds
patrickleet Nov 25, 2026
5b9fb28
fix: report invalid command projections instead of panicking
patrickleet Nov 25, 2026
f700fa1
test!: consolidate integration tests into eight binaries
patrickleet Nov 25, 2026
97c2cae
feat!: typed external facts and per-command HTTP edges
patrickleet Nov 25, 2026
a79a82e
Merge pull request #345 from hops-ops/fix/v5-review-28-incidents
patrickleet Nov 25, 2026
0a984b3
Merge pull request #346 from hops-ops/refactor/v5-review-27c-test-bin…
patrickleet Nov 25, 2026
53deb8d
Merge pull request #347 from hops-ops/refactor/v5-review-28a-identity
patrickleet Nov 25, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .celld-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.6.2
40 changes: 37 additions & 3 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ existing unbounded-tech quality provider plus the integration/* jobs below —
| Workflow | `workflow_call` | Audience |
|----------|-----------------|----------|
| [`quality.yaml`](./quality.yaml) | yes | **Consumers:** fmt → clippy → build → test + coverage (sticky PR comment) |
| [`test-all-features.yaml`](./test-all-features.yaml) | yes | **This repo:** workspace `--all-features` |
| [`integration-*.yaml`](./) | yes | **This repo:** broker / DB / CLI / observability / GraphQL identity+OIDC |
| [`test-all-features.yaml`](./test-all-features.yaml) | yes | **This repo:** `cargo hack --each-feature` compile check |
| [`integration-services.yaml`](./integration-services.yaml) | yes | **This repo:** whole workspace, all features, against `compose.yaml` services via `make test-local`; a test that cannot reach its service fails (`DISTRIBUTED_REQUIRE_SERVICES`) |
| [`integration-gateway.yaml`](./integration-gateway.yaml) | yes | **This repo:** application gateway contracts, native and Worker adapters |
| [`integration-game-demos.yaml`](./integration-game-demos.yaml) | yes | **This repo:** `examples/game` smoke |
| [`integration-*.yaml`](./) | yes | **This repo:** CLI / observability / GraphQL identity+OIDC |
| [`integration-e2e-ui.yaml`](./integration-e2e-ui.yaml) | yes | **This repo:** `tests/e2e-ui` offline suite, compose Playwright e2e, and kind local-GitOps Playwright e2e |
| [`integration-celld.yaml`](./integration-celld.yaml) | yes | **This repo:** `tests/e2e-celld` workspace tests + live Azurite+celld+NATS |
| [`integration-celld.yaml`](./integration-celld.yaml) | yes | **This repo:** `tests/e2e-celld` workspace tests, celld storage and cell-alarm proofs (`celld dev`), live celld+NATS |
| [`integration-wasm32-domains.yaml`](./integration-wasm32-domains.yaml) | yes | **This repo:** every domain crate builds for `wasm32-unknown-unknown` (`scripts/check-wasm32-domains.sh`), and a native-only fixture must fail |
| [`integration-js.yaml`](./integration-js.yaml) | yes | **This repo:** install, typecheck, test, build, and packed-consumer smoke test for `js/` |
| [`on-pr-quality.yaml`](./on-pr-quality.yaml) | entry | **This repo** PR gate (not the consumer quality contract) |
| [`on-push-main-version-and-tag.yaml`](./on-push-main-version-and-tag.yaml) | entry | **This repo** main → **vnext** tag |
Expand Down Expand Up @@ -126,6 +130,36 @@ npm releases authenticate through GitHub Actions OIDC. The workflow
intentionally has job-scoped `id-token: write`, uses npm 11.5.1 or newer, and
does **not** require or accept a long-lived `NPM_TOKEN` repository secret.

## Speed rules for this repo's pipeline

The organization is on GitHub's free plan: 20 hosted jobs run at once, across
every pull request. A run that starts more jobs than that waits on itself, so
the pipeline is shaped by runner slots and by compile time.

- **Caches are written by the base branch and read by pull requests.** A cache
saved on a pull request's merge ref is readable by that pull request alone,
and the repository holds 10 GB in total. Every `Swatinem/rust-cache` step
therefore sets `save-if: ${{ github.event_name != 'pull_request' }}` (or
`false` when a sibling job with the same `shared-key` builds the superset and
writes it). `on-pr-quality` also runs on push to `v5`; that run writes the
caches. A pull request that changes `Cargo.lock` compiles its changed
dependencies once per run until it merges.
- **Jobs that build the same thing share a `shared-key`**, with the same
`workspaces` list. One job per key writes it.
- **A new Rust job needs a `rust-cache` step and a `timeout-minutes`.** The
timeout is the job's budget: set it from the job's measured p95 on a cold
cache, and lower it when the job gets faster. Do not raise one to get a run
green.
- **No `needs:` between test jobs.** A job that waits on another job also
waits on that job's queue time.
- **Small checks share a runner** (`integration-observability`, the gateway
`fixtures` job). Each check step carries `if: ${{ !cancelled() }}` so one
run lists every failure.
- **Tools come prebuilt** (`taiki-e/install-action`) or from the cache
(`cargo install` is a no-op when `~/.cargo/bin` was restored).
- `CARGO_PROFILE_DEV_DEBUG=line-tables-only` in every reusable workflow:
backtraces keep file and line; link time and cache size drop.

## Why this monorepo doesn’t call `quality.yaml`

The framework workspace needs a different gate: default-features tests via
Expand Down
131 changes: 110 additions & 21 deletions .github/workflows/integration-celld.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ name: celld (live + e2e-celld)
# make -C tests/e2e-celld test
# make -C tests/e2e-ui up && make -C tests/e2e-ui up-celld-nats
# WATCH=0 WATCH_WORKER=0 make -C tests/e2e-celld run
# E2E_UI_ORIGIN=http://localhost:5180 npx --prefix tests/e2e-ui playwright test \
# todos.user.spec.ts chat.user.spec.ts --project chromium-user
# make -C tests/e2e-celld test-browser # the full Playwright suite
#
# Default `cargo test` (quality) still runs fixture-only celld checks and
# skips live HTTP unless CELLD_URL is set. This job sets CELLD_URL / NATS_URL.
Expand All @@ -17,17 +16,103 @@ on:

env:
CARGO_TERM_COLOR: always
# File and line in backtraces, without the full debug info that makes up
# most of a dev build's link time and cache size.
CARGO_PROFILE_DEV_DEBUG: line-tables-only
CARGO_INCREMENTAL: "0"
# Zitadel owns :18080 in the browser topology.
CELLD_HTTP_PORT: "18880"
CELLD_URL: http://127.0.0.1:18880
NATS_PORT: "14222"
NATS_URL: nats://127.0.0.1:14222
# A live test that loses its service fails instead of skipping.
DISTRIBUTED_REQUIRE_SERVICES: CELLD_URL,NATS_URL
DISTRIBUTED_INTERNAL_SECRET: test-only-internal-secret-change-me-2026

jobs:
storage:
name: celld SQL transactions and crash recovery
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
with:
toolchain: stable
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
tests/celld/worker -> tests/celld/worker/target
tests/celld/alarm-worker -> tests/celld/alarm-worker/target
tests/celld/fact-worker -> tests/celld/fact-worker/target
tests/celld/zone-worker -> tests/celld/zone-worker/target
shared-key: celld-storage
save-if: ${{ github.event_name != 'pull_request' }}
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install test runtimes
run: |
sudo apt-get update && sudo apt-get install -y sqlite3
npm install -g esbuild
cargo install worker-build --version 0.8.7 --locked
# The pinned celld (/.celld-version) is the one the zone-state R2
# path, fact routing and every profile below are proven on.
scripts/celld.sh install
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Build isolated fault-probe Worker
working-directory: tests/celld/worker
run: worker-build --release --features storage-conformance
- name: Prove SQL atomicity, fencing, autonomous recovery and growth
run: node tests/celld/storage-conformance.mjs
- name: Build the cell-alarm Ticker Worker
working-directory: tests/celld/alarm-worker
run: worker-build --release
- name: Prove re-armable cell alarms (atomic arm, cadence, watchdog, restart)
run: node tests/celld/alarms.mjs
- name: Build the zone-fact cells Worker
working-directory: tests/celld/fact-worker
run: worker-build --release
- name: Route zone facts to celld cells (CelldFactSink, outage and restart)
env:
CELLD_FACTS_REQUIRED: "1"
run: cargo test -p distributed_game --features celld,runtime --test celld_facts
- name: Zone leases in celld cells (CellZoneOwnership, alarm expiry, GameServer)
env:
CELLD_FACTS_REQUIRED: "1"
run: cargo test -p distributed_game --features celld,runtime,net --test celld_zone_lease
- name: Zone hibernation state in celld cells (inline + R2 snapshots, crash, GameServer)
env:
CELLD_FACTS_REQUIRED: "1"
run: |
cargo test -p distributed_game --features celld,runtime --test celld_zone_state
cargo test -p distributed_game --features celld,net,lease --test world
- name: Build the celld zone host test Worker
working-directory: tests/celld/zone-worker
run: worker-build --release
- name: Zones as celld objects (celld dev; 3-node fleet on RustFS, crash, facts exactly once)
env:
CELLD_ZONE_REQUIRED: "1"
run: cargo test -p distributed_game --features celld,net --test celld_zone
- name: Retain storage proof results and logs
if: always()
uses: actions/upload-artifact@v4
with:
name: celld-storage-proof
path: |
/tmp/distributed-cell-storage-*/results.json
/tmp/distributed-cell-storage-*/celld-*.log
/tmp/distributed-cell-alarms-*/results.json
/tmp/distributed-cell-alarms-*/celld-*.log
if-no-files-found: ignore

e2e-celld:
name: e2e-celld workspace tests
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: tests/e2e-celld
Expand All @@ -40,13 +125,18 @@ jobs:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: tests/e2e-celld -> target
shared-key: e2e-celld-workspace
# Same list as the live job below, which writes the cache.
workspaces: |
. -> target
tests/e2e-celld -> target
tests/celld/worker -> tests/celld/worker/target
shared-key: celld-live
save-if: false
- name: Run e2e-celld workspace tests
run: cargo test --workspace --verbose

live:
name: celld 0.4 live (local store + Queue + NATS)
name: celld live (local store + Queue + NATS)
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand All @@ -66,6 +156,7 @@ jobs:
tests/e2e-celld -> target
tests/celld/worker -> tests/celld/worker/target
shared-key: celld-live
save-if: ${{ github.event_name != 'pull_request' }}

- uses: actions/setup-node@v7
with:
Expand All @@ -83,11 +174,11 @@ jobs:
run: npm install -g esbuild

- name: Install worker-build
run: cargo install worker-build --locked || cargo install worker-build
run: cargo install worker-build --version 0.8.7 --locked || cargo install worker-build --version 0.8.7

- name: Install celld CLI
- name: Install celld CLI (pinned in /.celld-version)
run: |
curl -fsSL https://celld.dev/install.sh | sh
scripts/celld.sh install
echo "$HOME/.local/bin" >> "$GITHUB_PATH"

- name: Bring up Postgres + Zitadel and bootstrap OIDC
Expand All @@ -102,9 +193,8 @@ jobs:
cargo build -p distributed_cli --bin distributed
target/debug/distributed build tests/e2e-ui --output json
target/debug/distributed build tests/e2e-celld --output json
cargo test --test celld --no-run
cargo test --test e2e_ui_celld_nats_profile \
--features graphql,http,sqlite --no-run
cargo test --test services --no-run
cargo test --test services --features graphql,http,sqlite --no-run
npm install --prefix tests/e2e-ui

# celld dev watches its project for rebuilds. Complete browser/toolchain
Expand All @@ -114,7 +204,7 @@ jobs:
working-directory: tests/e2e-ui
run: npx playwright install chromium --with-deps

- name: Bring up celld 0.4 + Queue relay + NATS
- name: Bring up celld + Queue relay + NATS
run: |
command -v celld
command -v worker-build
Expand All @@ -133,12 +223,13 @@ jobs:
export BIND=127.0.0.1:8791
export CELLD_URL=http://127.0.0.1:18880
export NATS_URL=nats://127.0.0.1:14222
export AUTH_URL=http://localhost:5180
export PUBLIC_ORIGIN=http://localhost:8791
export AUTH_URL="$PUBLIC_ORIGIN"
export AUTH_USE_SECURE_COOKIES=false
export AUTH_TRUST_HOST=true
export PUBLIC_E2E_PROFILE=celld-nats
export UI_BIND=localhost
export UI_URL=http://localhost:5180
export UI_URL=http://localhost:8791

target/debug/distributed dev tests/e2e-celld \
> tests/e2e-celld/.ci-distributed-dev.log 2>&1 &
Expand All @@ -165,13 +256,13 @@ jobs:
fi
grep -F 'lifecycle dev: process api ready http://127.0.0.1:8791' \
tests/e2e-celld/.ci-distributed-dev.log
grep -F 'lifecycle dev: process ui ready http://localhost:5180' \
grep -F 'lifecycle dev: process ui ready http://localhost:8791' \
tests/e2e-celld/.ci-distributed-dev.log

ok=0
for i in $(seq 1 60); do
code=$(curl -s -o /dev/null -w '%{http_code}' \
"http://localhost:5180/" 2>/dev/null || echo 000)
"http://localhost:8791/" 2>/dev/null || echo 000)
if [ "$code" = "200" ] || [ "$code" = "302" ] || [ "$code" = "303" ]; then
ok=1
break
Expand Down Expand Up @@ -224,13 +315,11 @@ jobs:
-H "x-distributed-internal-secret: $DISTRIBUTED_INTERNAL_SECRET" \
-d '{"ids":["forged"]}'

- name: Todo + Chat browser lifecycle through celld
- name: Full Playwright suite through celld (user, admin, anon)
working-directory: tests/e2e-ui
run: >-
npx playwright test todos.user.spec.ts chat.user.spec.ts
--project chromium-user
run: npx playwright test
env:
E2E_UI_ORIGIN: http://localhost:5180
E2E_UI_ORIGIN: http://localhost:8791
E2E_API_ORIGIN: http://127.0.0.1:8791
CI: true

Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/integration-distributed-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,31 @@ name: distributed_cli Integration Tests
on:
workflow_call:

env:
CARGO_TERM_COLOR: always
# File and line in backtraces, without the full debug info that makes up
# most of a dev build's link time and cache size.
CARGO_PROFILE_DEV_DEBUG: line-tables-only
CARGO_INCREMENTAL: "0"

jobs:
distributed-cli:
name: distributed_cli Integration Tests
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
timeout-minutes: 15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
with:
toolchain: stable
# game-wasm tests compile prediction steps to WebAssembly.
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
shared-key: cli
save-if: ${{ github.event_name != 'pull_request' }}
- uses: actions/setup-node@v7
with:
node-version: "24"
Expand Down
Loading
Loading