Skip to content

ci: externalize qualification and repair online card returns - #181

Merged
capz merged 64 commits into
codex/online-play-pocfrom
codex/external-validation
Dec 5, 2026
Merged

capz merged 64 commits into
codex/online-play-pocfrom
codex/external-validation

Conversation

@capz

@capz capz commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Move AnimalTown’s tests, emulator automation and diagnostics into AnimalTown.Validation, retaining required merge and release gates. Source 037d2a1b57013abbe82ec1c7f23e1ea89e5cc752 integrates current main 638273c25b2369a68de69637af954b662c51f1cf. The dependency lock and reusable online workflow both pin compatible maintenance revision fc659b94ede800dfc51e889b0b15ec8f52733dab; exact restore and verification passed for all 253 payload files, bound to this source. Later Phase 1 resource APIs remain separate.

The integration retains the upstream terrain/card-read repairs, four villagers and catalog/creation changes, winter save and rim removal, autonomous offline NPC visits, and cloud resource cleanup/winter evidence checks. Corresponding tests remain external, with the thin source action wrapper and validation selection retained.

Production corrections:

  • Fair bounded durable mail claims and departed-seat cleanup retain deadlines, database leases, reconnect and writer fences.
  • Personal card comparisons and verified prefixes follow the authoritative archive or separate villager bank, preserving length/revision/CRC guards and large-record streaming.
  • Direct unsigned 16-bit snow recovery reads avoid SDK 392’s incorrect nullable 32-bit lowering on big-endian PowerPC.
  • Guest-world exits restore the selected private home separately from two-card adoption, preserving snow and credentials while rejecting a wrong home.
  • Automatic offline NPC checkpoints and commerce respect linked/recovery/public/active-online ownership. A first online credential, lineage or initial import waits for outstanding offline visit settlement, including expired receipts; existing recovery and accepted-root retries remain available.
  • Interrupted NPC returns can clear only the ordinary destination’s expired orphan receipt after verifying its already settled linked source through bounded read-only records. Every linked card byte, revision and accepted value remains unchanged.
  • Allowlisted numeric return diagnostics retain original failures without exposing card contents or changing retry behavior.

Independent production, regression and final integration reviews approved these changes. Focused checks include 1,333 card and 143,501 life/save checks; 50 actual PostgreSQL first-import checks; both managed game variants; SDK 392-emitted native maximum-card, sparse-snow and bounded maximum-mail/full-width NPC grant cases under normal and forced collection at the unchanged memory limits; and existing mail/seat/online/record-store integrations. Both vulnerable first-link/import behaviors reproduce against the prior source. Cloud/release checks passed, including 23 bundle, 73 publisher and 288 compiled Depot cases. Compatible regression PRs 30, 32 and 34 have green Windows/Linux checks and are merged. Host native execution and compiled PowerPC witnesses do not establish physical GameCube results.

The exact-head build and release run for 037d2a1 completed failure in candidate job 145019930625, through temporary qualification PR #186. The renderer and online prechecks passed. The approved public target report records gameplay_passed: true: actual SDK HTTPS/WSS, three humans, both remote draws, movement, chat, fenced reconnect, final card publication and acknowledgement, the Ready journal and return to the home world. Return retries were zero and the card sequence advanced from 1 to 4.

The required gate still failed at emulator shutdown: clean exit was false, forced kill was false and the return code was -11 (SIGSEGV). The overall report remains passed: false; card export and independent card verification are both false. No matching NKit ISO, Depot app, backend, tools or update publication completed. The shutdown cause is unknown. This run received no unchanged retry, and neither #181 nor #176 is merged.

The preceding 33617b3 candidate passed renderer/online gates and native compilation, then first console pairing stopped after DNS readiness with LINK FAILED io and no returned HTTP status. It reached neither a saved link nor live play, final card verification or publication. That earlier report established no narrower cause.

The header-boundary call and fixed numeric failure allowlist preserve both 1,024-byte limits, requests, cancellation, retries and card behavior. Chunked or unknown-length error responses can expose their status before body buffering; SDK 392 still rejects a declared oversized body before returning headers, which has its own fixed category without inferring a status. Unknown/private/nested text cannot enter diagnostics. The production-linked privacy checks, all 4,920 host online checks and exact SDK 392 whole-game emission passed; compatible validation PR 40 is merged after green Windows/Linux checks and independent review. Exact-candidate clean shutdown, independent final card/hash/Ready-journal proof and matching publication remain required.

Earlier candidate 0dd0c52 also reached gameplay and acknowledged return, then failed host shutdown. Its historical failure artifact remains retained; independent final card verification and matching publication did not complete for that candidate either.

Stacked on #176. Merge with ancestry retained, then qualify the new #176 head before merging it to main. Later phased work continues in isolation. The approved People/chat mockup is recorded. Previously OpenAI-blocked completed-job action work and the excluded low-level regression remain untouched; Dockerfile/ASAN diagnostic work is deferred. Excluded emulator-shutdown repair remains for the user to handle. No new OpenAI block occurred. Physical DOL-015 qualification remains open.

@capz capz changed the title ci: move qualification into pinned AnimalTown.Validation repository ci: externalize qualification and fix hosted mail and visit seats Dec 1, 2026
@capz
capz marked this pull request as ready for review December 1, 2026 12:41
@capz capz changed the title ci: externalize qualification and fix hosted mail and visit seats ci: externalize qualification and repair hosted return safeguards Dec 1, 2026
@capz
capz added this pull request to stack #183 December 1, 2026 15:22
Leroy Ketelaars and others added 2 commits December 2, 2026 11:48
@capz capz changed the title ci: externalize qualification and repair hosted return safeguards ci: externalize qualification and repair online card returns Dec 2, 2026
@capz
capz marked this pull request as draft December 2, 2026 14:27
@capz
capz marked this pull request as ready for review December 2, 2026 14:27
@capz
capz marked this pull request as draft December 3, 2026 06:20
@capz
capz marked this pull request as ready for review December 3, 2026 06:21
@capz capz closed this Dec 3, 2026
@capz capz reopened this Dec 3, 2026
@capz
capz force-pushed the codex/external-validation branch from 037d2a1 to 40cba3b Compare December 5, 2026 10:41
@capz
capz force-pushed the codex/external-validation branch from 40cba3b to 0fa98bf Compare December 5, 2026 13:41
@capz
capz merged commit d9cf1a4 into main Dec 5, 2026
6 checks passed
@capz
capz deleted the codex/external-validation branch December 5, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant