Repository navigation
test: remove weak tests and restore missing CI coverage - #641
Conversation
Two-axis review (Standards / Spec) at
|
|
Review follow-up at
The failed durable job could not connect to its private Standalone during the initial publish. Its log stopped before the listening message; it had not reached gameplay assertions. Startup, publish, the failing test and its workflow are unchanged by this PR. The new head reruns CI without weakening the test or changing retry behavior. Local verification after the correction: 4,874 Rust tests passed, 260 ignored; workspace Clippy, formatting and diff checks passed. CI must pass before merge. |
8f4cc01 to
f794e57
Compare
What and why
Some tests only construct rows or copy production logic. Other tests share the constants they should verify, and CI omits useful suites.
This removes four setup-only tests, 15 copied-model tests and three duplicates. It adds four net scanner tests and one test of production subscription queries, for 17 fewer tests against current main. The overlapping source-snapshot removals have already merged in #640.
Raw table-read checks now exclude comments, literals and test-only code. The shared scanner preserves the documented Package API body-helper behavior, including literal values and exact function signatures. Importer fixtures use independent column offsets. Datascript determinism checks require successful emissions and real output files, and the refused-script fixture writes synchronously.
CI gains 359 existing tests across Package Delta, Package API and Datascript suites. The newly enabled tests also exposed a stale quest fixture, which now supplies quest type and checks the exact missing fields. Testing docs and the PR checklist match CI.
All eight findings and their status are in the working report.
What you verified
At
f794e576, rebased ontoa4ea7c74:f794e576, including all three durable shards and all 45 Bun tests. The Bun job passed after restarting an install that had stalled for nearly 58 minutes.What you did not verify
Durable and client-data tests were not run locally. Hosted CI passed the durable tier at the final head. Client-data tests remain unverified.
The setup-only, copied-model and duplicate removals add no new durable coverage. Source scanning is lexical and does not prove runtime control flow, expand macros or process inner cfg attributes.
Risk
Changes affect tests, test support, CI and documentation. No gameplay logic or schema changes. The rebase preserves #640's source-check removals, new durable tests and Package API helper contract.
Made with GPT-6 Astra in T3 Code through Codex; adversarial review used GPT-6.1 Sol and GPT-6 Astra.