72 Commits
Author SHA1 Message Date
dingo d664e594af Wait for authoritative stop before gathering or looting 2026-09-12 23:24:27 -04:00
dingo 9ca58b3101 Separate gathering from movement timing and report full failure state 2026-09-12 18:10:28 -04:00
dingo 78fa469e67 Use real pointer input and server progress in mobile movement test 2026-09-12 17:05:12 -04:00
dingo 4aca703b6f Add anatomical character customization at initial creation 2026-09-12 16:00:15 -04:00
dingo fcb1c95cb8 Bound E2E movement by server progress and diagnose gathering failures 2026-09-12 09:11:56 -04:00
dingo 75f71d5ded Show encumbrance on HUD and document modular creator direction 2026-09-12 08:53:32 -04:00
dingo 739b900670 Use runner-provided Docker access for publishing 2026-09-11 17:33:30 -04:00
dingoandClaude Opus 5 1188fca412 ci: reach the Docker daemon by its runner alias again
The publish job pinned DOCKER_HOST to 172.17.0.1, a workaround from when the
runner's --add-host=docker-host alias was not reaching job containers. The
daemon no longer answers on that bridge address, so buildx could not connect.
Use the alias the runner config provisions (tcp://docker-host:2375), still set
at job level so the buildx and build-push JS actions inherit it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 16:57:25 -04:00
dingoandClaude Opus 5 85d792a932 Fix equip coverage after the item-action refactor
The item action buttons derived their focus key from the visible label, so
the bag's Equip button became "Equip-<id>" when 9b01ee3 replaced the panel's
own lowercase "equip-<id>" button with itemControls. Slugify the label so the
key stays stable when a button is reworded, and point the progression spec at
the item-action endpoint the refactor moved equip onto -- it still polled the
websocket intents, which no longer carry equip.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 15:50:43 -04:00
dingo bd220ba1df Add rounded fantasy character and admin visual creators 2026-09-11 11:50:52 -04:00
dingo aaf0a0c89b Plan reliability repairs and persistence before expanding worlds 2026-09-11 06:33:36 -04:00
dingo ca571577ad Add physical hub portals and shared housing entrances 2026-09-11 05:31:18 -04:00
dingo 9b01ee38e3 Add item actions, targeting, bindings, and encumbrance 2026-09-10 20:57:36 -04:00
dingo 32955eca09 Finish player drawer handoff and adapt progression coverage 2026-09-10 17:12:45 -04:00
dingo 5965533af0 Override test for one push 2026-09-10 14:05:45 -04:00
dingo d76f066d53 Missed the game.html 2026-09-10 13:52:48 -04:00
dingo 747d5dae99 Tossing in changes before ready 2026-09-10 13:51:58 -04:00
dingo c86f4c1f24 Fix world entry readiness and mobile startup test 2026-09-10 11:09:51 -04:00
dingo 1bd5d487e2 Add walkable housing interiors and cross-hub visitors 2026-09-10 10:48:26 -04:00
dingo b2dd2cb3ba Spinning up 1 new worlds 2026-09-10 10:14:47 -04:00
dingo 15113b1ab6 Un-Fuckering it 2026-09-10 10:13:49 -04:00
dingo 6e3b2d16f9 Merge branch 'master' of https://git.aeternalisgames.com/Stone/aeternalis 2026-09-10 10:08:43 -04:00
dingo c3bcb8f8ce Spinning up 3 new worlds 2026-09-10 10:08:27 -04:00
dingo ac695b3270 Unify XP progression and enable ability ranks 2026-09-10 06:08:49 -04:00
dingo 6903d5ece8 Add housing storage, guest permissions, and timed key destruction 2026-09-10 05:47:22 -04:00
dingo 1da89c720d Clarify key destruction timing and configurable guest permissions 2026-09-09 23:07:37 -04:00
dingo e80064976a Add persistent destructible world structures and building kits 2026-09-09 22:46:06 -04:00
dingo 897c5745bc Add spells, weapon abilities, and durable corpse resurrection 2026-09-09 18:15:23 -04:00
dingo b65f3e8562 Add durable recipe discovery and profession crafting 2026-09-09 13:28:07 -04:00
dingo f3d6f927e2 Add playable hub travel with durable character transfers 2026-09-09 12:17:10 -04:00
dingo 70d08b0d32 Add biome revisions readable content and visible projectile outcomes 2026-09-09 08:27:32 -04:00
dingo 8f999c837e Decouple gameplay input from rendering and wait for world synchronization 2026-09-09 06:48:04 -04:00
dingo c52bdea026 Give initial chunk readiness an explicit CI timeout 2026-09-09 06:22:43 -04:00
dingo 0b4eaa153c Add ranged combat area effects and admin-authored mobs 2026-09-09 05:26:31 -04:00
dingo df7b245ca7 Add terrain biomes jumping and extensible gathering professions 2026-09-08 21:54:23 -04:00
dingo 39ddce5ddc Add persistent dark mode and server-assigned content IDs 2026-09-08 16:18:48 -04:00
dingo 0c8b695483 Add reusable content sets publication previews and focused input handling 2026-09-08 13:02:20 -04:00
dingo bb5ba3c711 Confirm character progression ownership and cosmetics-only inheritance 2026-09-08 11:51:31 -04:00
dingo 0e1782c873 Define milestone one lifecycle ownership and migration contracts 2026-09-08 11:44:54 -04:00
dingo 1ab4e8fb1a Revise milestones and defer Playwright to manual test handoffs 2026-09-08 11:19:04 -04:00
dingo 0e473301f2 Plan account cosmetics and furniture appearance transfer rules 2026-09-08 10:51:53 -04:00
dingo 7ca53afa29 Define hub travel house recovery and focused menu dismissal 2026-09-08 10:41:34 -04:00
dingo 1ab11b64c6 Clarify last-key house deletion and pre-death key destruction 2026-09-08 08:59:01 -04:00
dingo 8c9f17485c Record resurrection housing crafting and dungeon design rules 2026-09-08 08:58:07 -04:00
dingo be03ca8f25 Document RPG systems roadmap and open design decisions 2026-09-08 08:33:31 -04:00
dingo ece92fa65c Add audited admin player item and title management 2026-09-08 07:20:18 -04:00
dingo b6ce3bc292 Complete player stats inventory and Control content editors 2026-09-08 06:02:13 -04:00
dingo 2df1f6ab38 Checkpoint stats equipment and control catalog implementation 2026-09-08 05:37:47 -04:00
dingo 030253ceff Merge branch 'master' of https://git.aeternalisgames.com/Stone/aeternalis 2026-09-07 13:44:54 -04:00
dingo 45ca9e4a68 missed schemas 2026-09-07 13:44:44 -04:00
dingo 3f58de5744 pushing current 2026-09-07 13:44:10 -04:00
dingo bc0ffbbbe5 Add character levels and permanent player titles 2026-09-07 07:58:34 -04:00
dingoandClaude Sonnet 5 bc6d3c1517 tests: triple the gather test's timeout budget too
Same failure signature as the boss test fixed last round ("Test
timeout of 45000ms exceeded", the whole test's hard deadline, not a
specific assertion), this time landing on this test instead -- not
caused by the Helm chart fix or the boss test.slow() change, both of
which touch entirely disjoint code (a Kubernetes manifest template
never exercised by npm run test:e2e, and a different test block).
Consistent with a CI runner that's intermittently slow enough that
whichever test draws the short straw on a given run can blow its
budget before its own poll timeout gets to report cleanly -- this is
the most elaborate test here (WebGL pixel readback, model diagnostics,
a full reload/reconnect cycle), so the most likely next candidate.

Verified: full local e2e suite (7/7) still passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 14:35:22 -04:00
dingoandClaude Sonnet 5 346c0c85a6 tests: triple the boss test's timeout budget for slow CI hardware
Latest CI failure was a different signature than anything the retry
fix addresses: "Test timeout of 45000ms exceeded" -- the whole test's
hard deadline, not the specific 20s poll assertion (which has its own
budget and, per the retry fix, gives up cleanly well within it). That
means cumulative time for enter() + awakening the boss + closing
settings is eating far enough into the config's 45s per-test timeout
on a slow run that the poll never gets the chance to report on its own
terms before the whole test gets killed.

test.slow() triples this one test's timeout (45s -> 135s) rather than
inflating the config's global timeout for every test. Confirmed the
retry-logic fix from two rounds ago (which passed on CI last round) is
untouched here -- this is purely a timeout-budget change layered on
top of it.

Verified: full local e2e suite (7/7) still passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 14:25:02 -04:00
dingoandClaude Sonnet 5 d594db7417 fix: restore missing newline between per-world manifests in worlds.yaml
Re-applying the independently-diagnosed Helm bug fix that got reverted
along with everything else a few rounds back (flagged at the time that
CI would hit this again the moment it wasn't reapplied -- it just did).

helm lint deploy/chart (the default 5-world values.yaml) fails:
  templates/worlds.yaml: unable to parse YAML: error converting YAML
  to JSON: yaml: line 24: did not find expected key

Root cause (confirmed earlier via `helm template --debug` on the raw,
pre-parse output): the per-world loop's `{{- $host := ... -}}` line has
a leading whitespace-trim that eats the one newline separating one
world's rendered manifests from the next world's "---" separator, so
consecutive iterations run together as "...port: { name: http } }---
apiVersion: apps/v1" with no newline -- invalid YAML. values-srs.yaml
only has one world, so the loop never repeats and never trips this;
the default values.yaml has five.

Fix: drop the leading trim (`{{-` -> `{{`) on just that line, so the
one separating newline survives.

Verified with the same helm v4.2.4 CI uses: `helm lint`/`helm template`
clean against both deploy/chart's default values (5 worlds) and
-f deploy/values-srs.yaml (1 world); rendered manifests for all 5
worlds look correct.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 14:15:59 -04:00
dingoandClaude Sonnet 5 db70920640 fix: retry gather/attack with a progress-based give-up (isolated retest)
Testing this in isolation from the anti-throttle Chromium flags and
the DB-lock change (reverted separately, ruled out on its own): the
single fire-and-forget gather/attack action has no recovery if the one
evaluated frame doesn't line up with the authoritative server position
-- confirmed by live-instrumenting the unpatched code locally and
watching it hang. This reinstates the fix from the earlier round, with
both bugs found via live diagnostic testing already fixed going in:

- Retries at a conservative cadence (~0.3s, well under the intent rate
  limit) instead of firing once and giving up forever.
- Gives up on a target only once an actual progress signal (target HP
  for attack, held-item count for gather/loot) has stopped moving for
  a wall-clock budget -- not "hasn't succeeded since the click" (which
  wrongly aborts mid-fight during a normal cooldown lull) and not a
  frame/attempt count (which balloons into tens of real seconds on a
  tab with sparse rendered frames).
- The dedicated boss-attack button now also resets the progress clock;
  it used to bypass action() entirely and read an uninitialized clock,
  immediately abandoning the boss for the nearest mob on click.

Deliberately NOT re-adding the Chromium anti-throttle flags this round
-- keeping this an isolated variable after the last round's session
crash coincided with adding them.

Also bumped one unrelated, independently-diagnosed timeout: the
post-death new-character join in portal.spec.ts was polling on
Playwright's default 5s timeout for a fresh join's first snapshot,
with no connection to the retry logic above.

Verified: tsc/build clean, three full local e2e runs (7/7 each).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 14:06:26 -04:00
dingo 7375fc6638 Revert "perf: take the admin-command DB poll off the world tick's global lock"
This reverts commit 9454b51914.
2026-09-06 14:02:00 -04:00
dingoandClaude Sonnet 5 9454b51914 perf: take the admin-command DB poll off the world tick's global lock
Testing one specific, targeted hypothesis rather than another blind
patch: the portal merge added an unconditional per-second DB query
(controls(), checking for pending admin commands) directly inside the
world tick loop's s.mu-locked section -- the same lock every websocket
intent, every HTTP handler, and every snapshot broadcast to every
connected player depends on. That runs forever, for every world,
whether or not the admin feature is ever used.

Verified the actual game logic isn't broken (a live-instrumented run
of the unpatched single-shot gather/attack code landed its first hit
immediately and correctly), so the e2e flakiness has to be about
something making the server slower under load rather than a logic
defect. This is the one change in the merge positioned to tax *every*
player's snapshot/intent latency, every second, permanently -- not
just an occasional per-request cost like the other additions.

controls() now runs on its own ticker, independent of the simulation
tick, and only takes s.mu at all if there's an actual pending command
to apply (the DB read itself needs no lock -- world.ID is immutable
after creation). The idle case, which is the overwhelming majority of
ticks, no longer touches s.mu for this at all.

Verified: go build/vet/test clean, and the full local e2e suite (7/7,
both spec files, including the admin-command test that exercises
controls() directly) passes across two runs.

If this doesn't change CI's result, it should be reverted and ruled
out -- the next candidate would be the new /worlds/<id> routing
rewrite or the added per-request ActiveCharacter DB lookups.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 13:55:15 -04:00
dingoandClaude Sonnet 5 f4068946ed Revert the six post-merge patch commits; back to the portal-merge state
Reverts the working tree for these six files to their state at 7c5cb78
(the control-portal merge, reconciled with the auto-deploy digest bump)
-- undoing c5b8361, 74ff146, b1a07b7, db3e5a8, 0bb3e4b, and 9b226f7.

Those six commits were reactive fixes chasing CI failures one at a
time; each one changed the failure mode without ever reaching a fully
green run, and the last one coincided with the browser session itself
crashing mid-test rather than a logic assertion failing. Reverting to
a clean, known point (right after the merge, before any of that
patching) rather than continuing to layer fixes on an unverified base.

Note: this reintroduces a real, independently-confirmed bug fixed by
db3e5a8 -- deploy/chart/templates/worlds.yaml's per-world loop is
missing a newline between iterations (a leading whitespace-trim on the
$host template variable eats it), which breaks `helm lint` /
`helm template` for any values file with more than one world. That
will fail again on the next push if it isn't re-applied.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 13:15:04 -04:00
dingoandClaude Sonnet 5 9b226f76cb fix: stop the boss-attack button abandoning its own target immediately
Found this by reproducing locally (installed a Go toolchain + helm
earlier in this session; this time added Chromium anti-throttling
flags and instrumented walkTo/pendingAction/keys onto window.__aeternalis
to watch it live) rather than guessing from CI logs again: the
"Target Harbinger" button sets pendingAction/walkTo directly, bypassing
action() entirely -- so the give-up budget from the last commit, which
only got initialized inside action(), read Date.now() against its
initial value of 0 on the very first tick after clicking. That's
always "expired" by billions of milliseconds, so it gave up on "boss"
immediately, blacklisted it, and reselected the nearest sentinel mob
instead -- explaining every "boss out of reach" / zero-progress boss
failure we've chased across the last several rounds. Confirmed via a
throwaway diagnostic test logging position/target every second: the
character walked calmly away from the boss it started standing on top
of, chasing first one sentinel then another.

Fixed the immediate bug (also set the budget's clock in the button's
handler), then found a second one the same repro immediately exposed:
attack against a live target is *mostly* cooldown rejections between
the hits that land, so "no progress since the initial click" was still
wrong -- it gave up mid-fight after ~10 successful hits during a lull.
Replaced the give-up condition with an actual progress signal (target
HP for attack, held-item count for gather/loot); it now only gives up
once that has genuinely stopped moving, confirmed via the same
diagnostic: 10 clean hits (1200 -> 1020 HP) holding position, matching
the server's own attack cooldown.

Also added the standard Chromium flags
(--disable-background-timer-throttling etc.) to the test browser
launch: the CI logs' 2-11s gaps between retries (instead of the
intended ~0.3s) are the classic signature of requestAnimationFrame
throttling down to ~1Hz for a backgrounded/occluded headless tab,
which independently made every frame-driven client action crawl. Left
walkTo/pendingAction/keys exposed on window.__aeternalis since they
were useful for this and will be again.

Verified: tsc/build clean, and three full local e2e runs (7/7 each)
all show the boss test landing clean periodic hits via "attack
cooldown" rejections between them, never wandering to a mob.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 12:53:24 -04:00
dingoandClaude Sonnet 5 0bb3e4b996 fix: bound gather/attack retries and fall back to a fresh target
The unbounded retry from the last commit was a real regression: CI's
gather test picked "arrival:ore", which an earlier sequential test's
character had already depleted in this same long-lived shared world
(a real ~120s respawn wait, not a stray-frame timing race), and the
retry loop hammered that dead target for the entire 45s test timeout
instead of failing cleanly at the 20s assertion -- which then looks to
have left the world/character state in a bad spot for the next test
("character cannot act" on a brand-new character in the boss test
right after).

Now each target gets at most 8 retries (~2.4s) before the client gives
up on it, marks it briefly avoided, and re-runs the same target search
that action() already does -- so a gather walks to the next-nearest
tree/ore/herb instead of retrying a resource that won't respawn for two
minutes, and a stuck attack at least fails fast instead of consuming
the whole test budget. Boss still has no substitute target, so it
correctly falls through to "No target nearby" after giving up, rather
than retrying forever.

Verified: tsc/build clean, and two full local e2e runs (7/7 both
times) -- one incidentally still showed the depleted-arrival-resource
case, resolving in the normal 2-3 retries once the retry itself no
longer needed to fight a stale position, confirming the mechanism this
was meant to catch is bounded now rather than open-ended.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 12:33:37 -04:00
dingoandClaude Sonnet 5 db3e5a87bc fix: restore missing newline between per-world manifests in worlds.yaml
helm lint deploy/chart (the default 5-world values.yaml) failed:
  templates/worlds.yaml: unable to parse YAML: error converting YAML
  to JSON: yaml: line 24: did not find expected key

Root cause, confirmed by diffing raw --debug template output against
the pre-merge version: the old per-world loop started with
`{{- range .Values.worlds }}` (no trailing trim) directly followed by
a bare "---", so every iteration began with a preserved leading
newline that separated it from the previous iteration's output (which
itself ends with no trailing newline, closed by a flush-left
`{{- end }}`). The portal merge inserted two new per-iteration
`{{- $host := ... -}}` / `{{- $primary := ... -}}` assignments right
after the range statement -- both leading-trimmed, so the first one
ate that same newline. With it gone, iteration N's last line
("...port: { name: http } }") ran directly into iteration N+1's
"---apiVersion: apps/v1" with zero separator, which is what actually
produced the YAML parse error (confirmed via `helm template --debug`:
the raw output literally showed "}---\napiVersion:" glued together;
values-srs.yaml's single-world value set never exercises the loop a
second time, so it never tripped this).

Fix: drop the leading trim (`{{-` -> `{{`) on just the $host
assignment, restoring the one preserved newline per iteration. Verified
via `helm lint`/`helm template` with both deploy/chart's default values
(5 worlds) and -f deploy/values-srs.yaml (1 world) -- both clean now,
and the rendered Deployment/Service/Ingress manifests for all 5 worlds
look correct (each gets its own /worlds/<id> path; the shared "/" path
still applies to every world when no single portal.host is set, and
only to the primary world once one is).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 12:22:27 -04:00
dingoandClaude Sonnet 5 b1a07b7a65 fix: retry gather/attack instead of firing once and giving up
The new server-side "intent rejected" log (from the last commit) caught
it in the act: a single "boss out of reach" / "resource out of reach"
rejection, then nothing -- the client's walk-to-target flow fires the
gather/attack intent exactly once, the instant its (possibly a tick
stale) view of the authoritative server position first reads as
in-range, then immediately clears pendingAction/walkTo regardless of
whether the server actually accepted it. One unlucky frame and the
action is silently dead for good, which is exactly what stalled the
e2e gather and boss-attack polls waiting on an effect that was never
going to happen without another click.

Now it keeps retrying (throttled to ~3/s, well under the websocket's
input-rate limit and matching the server's own action cooldowns) as
long as the character stays in range, instead of clearing on the first
attempt. Confirmed locally: normal runs now show the retry harmlessly
hitting "resource depleted"/"attack cooldown" for the attempts *after*
the one that actually landed, and the full e2e suite (7/7, both spec
files) still passes. Also held up under artificial CPU throttling via
a CDP session (up to 50x) in manual testing, which the old single-shot
code also happened to survive locally -- so this is a fix for a real
fragility this log caught directly, not a blind guess.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 12:10:00 -04:00
dingoandClaude Sonnet 5 74ff146717 diag: log rejected intents server-side; preserve e2e artifacts on CI failure
The boss-attack e2e test keeps reporting bossHp completely unchanged
(1200, not just short of the timeout) on the CI runner, across two
separate runs, while it passes reliably in ~11s locally. Couldn't get
more signal from the runner itself: test-results/ (screenshots,
trace.zip, error-context.md) was never uploaded anywhere by the
workflow, so it's gone the moment the ephemeral job container is torn
down -- there was nothing left to retrieve.

Two changes to actually get signal on the next failure instead of
guessing blind:

- internal/transport/http.go: a rejected intent (e.g. "boss out of
  reach", "attack cooldown") already gets stored on c.Message for the
  client to show as a notice, but was never logged server-side. Now it
  is, via slog.Warn, so it shows up directly in the [WebServer] console
  output already captured in the job log -- no artifact retrieval
  needed.
- .gitea/workflows/build.yaml: upload test-results/ as a build artifact
  when the verify job fails, so trace.zip etc. survive past the job
  container for cases where the console log alone isn't enough.

Verified server still builds/vets clean and the full local e2e suite
(all 7 tests across game.spec.ts + portal.spec.ts, matching CI's count)
still passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 11:57:36 -04:00
dingoandClaude Sonnet 5 c5b8361a44 tests: more slow-CI-hardware headroom on gather/boss-attack polls
CI reported the gather-skill-xp poll (15s) and boss-attack poll (20s)
both timing out with zero progress. Verified there's no functional
regression from the control-portal merge: `go build ./...`, `go vet`,
and `go test ./...` are all clean, and a full local run of
tests/game.spec.ts + tests/portal.spec.ts passes in under 30s with the
gather/attack/TriggerBoss game logic byte-for-byte unchanged by that
merge. This matches the same "slow CI hardware" margin issue already
seen once before (see the prior 15s -> 20s bump on the boss line) --
extending that same headroom to both lines rather than guessing
further blind, since the CI runner's hardware isn't available to
reproduce directly here.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 11:28:26 -04:00
dingo 7c5cb78e4a Merge remote-tracking branch 'origin/master' 2026-09-06 11:11:32 -04:00
dingoandClaude Sonnet 5 5df2f1b681 Merge control portal work from RPGTheory/aeternalis-portal
RPGTheory/aeternalis-portal had diverged from this repo (the git/CI/CD
copy) with an in-progress control portal feature that was never synced
back here, so none of it had gone through CI or been deployed:

- New site/game/control routing split: index.html becomes a world
  directory landing page (site.ts), game.html is the renamed former
  index.html (main.ts), control.html is a new admin panel
  (control.ts, portal-shared.ts, portal.css).
- Server: new internal/store/portal.go (character/world registry,
  command queue, admin grants) and internal/transport/control.go
  (portal API routes), plus a new internal/gitops package that lets
  the portal provision new worlds via a GitOps repo commit.
- game.World gains BornAt/DiedAt/DeathReason and an operator Control()
  path (close/open admissions, awaken boss, end world, per-character
  rename/heal/unstuck/retire); death no longer reuses the same
  character id on rejoin, matching the "new life" permadeath model in
  Plan.md rather than the old bypass-prevention test's expectations.
- deploy/: new control-egress network policy and portal/control
  values (admin role, GitOps repo/branch/values file/CIDRs).
- New e2e coverage: tests/portal.spec.ts, tools/capture-world.mjs.

Verified this repo's own independent commits (800ms movement-staleness
window, 20s boss-attack poll, SRS/TLS deploy values, ubuntu-22.04
runner pin, DOCKER_HOST fix) were already present in the portal copy
before merging, so nothing here regresses them. `tsc --noEmit`, the
vite client build, and the protocol contract check all pass; no go.mod
changes. Could not run `go build`/`go test` locally (no Go toolchain
on PATH, Docker daemon not running) — every new/changed Go symbol was
manually cross-referenced and resolves, but this should still be built
and tested in CI before merging to master.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 11:08:44 -04:00
dingoandClaude Sonnet 5 b515c65aba ci: point publish job's DOCKER_HOST at the node bridge IP directly
container.options: --add-host=docker-host:host-gateway in the runner's
config is meant to make "docker-host" resolve inside job containers, but
that alias isn't landing on the publish job's container (DNS lookup of
docker-host fails there). act_runner's own connection to the same daemon
does resolve it, via the pod's hostAliases entry to 172.17.0.1 (proven by
verify's Postgres service container working over it). Point DOCKER_HOST
at that address directly instead of depending on the container-option
alias.

This is a stopgap: it hardcodes a node-internal bridge IP into the
workflow. The real fix is on the runner side, figuring out why
container.options isn't reaching job containers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 09:03:15 -04:00
dingo 95bec34fee Added env: DOCKER_HOST: tcp://docker-host:2375 at the publish job level in .gitea/workflows/build.yaml. Workflow-level env: is guaranteed to land in every step's process — including composite/JS actions like buildx and build-push — regardless of whether the runner's own config-based env injection is working. It reuses the same docker-host alias your runner config already provisions via --add-host=docker-host:host-gateway, so no cluster/runner changes are needed. 2026-09-06 08:36:35 -04:00
dingo ebe73d5bc6 Merge branch 'master' of https://git.aeternalisgames.com/Stone/aeternalis 2026-09-06 08:14:24 -04:00
dingo 194bb917b1 world.go:473 — widened the movement-staleness cutoff from 250ms → 800ms. This is just a safety net for a truly dead connection (explicit disconnect/blur/tab-hide handlers already zero movement immediately), so loosening it doesn't weaken anything real — it just tolerates a slow frame instead of stranding a walk-to-target action.
tests/game.spec.ts:85 — bumped the boss-attack poll timeout 15s → 20s as extra headroom on slow CI hardware.
2026-09-06 08:14:09 -04:00
dingo ff87b8a544 Build playable Aeternalis foundation and GitOps deployment pipeline 2026-09-05 12:52:51 -04:00