Repository navigation
test: focus validation on behavior and release assumptions - #6611
Conversation
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
f132b59 to
b536e4f
Compare
Astro-Han
left a comment
There was a problem hiding this comment.
Automated review notice: This comment was posted by an automated review agent. It is not an independent human review and does not replace one.
I reviewed all 47 changed files at b536e4f64de21c35eeae13cb627ffb9a57c62081, including the removed test bodies and the remaining validation paths. This PR is already merged as 88eb006d. I found no confirmed P0–P2 issue introduced by the change, with the following coverage tradeoffs.
- CI policy:
scripts/ci/run.mjs:130retains formatting, tooling tests and license checks; the contracts and packaging paths remain. Clippy is removed from the suite/worker definitions.biome.jsonc:75also disables three previously enabled correctness rules: unsafe optional chaining, duplicate object keys and non-null assertions on optional chains. This is a deliberate reduction in automatic defect detection, not merely removal of style checks. The contributor instructions and localjust checkrecipe are updated consistently. - SDK checking:
packages/plugin-sdk/package.json:24removes the standalone source check. Using the pinned TypeScript 7.0.2, I checked the actual compiler input lists: both the acceptance project and the retained product bundle project include all 10 SDK source files previously included by the SDK source project. Both projects passed locally. A temporary ordinary type error in an SDK source file was rejected by acceptance checking. Acceptance relaxesuseUnknownInCatchVariables, but the retained bundle project inherits the strict setting and rejected the corresponding temporary catch-variable error. I therefore did not treat that standalone configuration difference as lost current CI coverage. - Rust and UI tests: pointer-sharing assertions are removed while nearby value, authority, cleanup and resource-containment assertions remain. The HTTP integration case still requires byte-identical redirect replay; usage negotiation now compares parsed JSON after removing
stream_options. Other removals genuinely reduce direct coverage: numeric/codec boundary oracles, schema-cache tests, duration formatting, patch presentation and desktop pixel alignment. The activity-icon alignment test and its fixture are both deleted. These are not all equivalent or duplicate assertions, and this review does not establish equivalent future regression detection. No application runtime implementation, database migration or wire format changes in this diff.
Local checks used Node 24.18.1: 25 retained workbench tests and 11 CI planning/aggregation tests passed, in addition to the SDK and bundle typechecks above. Temporary faults were confined to source copies and restored afterwards. I did not run Rust, native desktop rendering, the complete tooling suite or the website build locally.
The exact-commit CI run succeeded. Its tooling log reports 168 passed and 1 skipped, rather than 169 executed passes; the skip is the macOS Host bundle-signature test on Linux. I also checked the hosted contracts and packaging jobs. The author's focused Rust and website results remain author-provided evidence. These results do not diagnose or clear separate failures on later target-branch commits.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
Summary
I’m narrowing validation to product and logic assumptions, plus build and release integrity. Checks that freeze private implementation choices make refactoring harder without establishing those assumptions.
Runtime behavior is unchanged. This deliberately gives up direct regression checks for the removed helper algorithms and cosmetics. Vendored upstream test sources are unchanged.
Verification
node scripts/ci.mjs check tooling-tests: 169 passed, including the remaining 82 workbench tests and build/release tooling tests.npm --prefix website run test:dist: build passed; 8 artifact tests passed.desktop-testsenabled.cargo fmt --all -- --check, changed-file Biome formatting andgit diff --checkpassed.I did not run the full workspace suite or the desktop renderer suite locally. After those checks I rebased onto
5349df7d2b; the only conflict was an added field in the deleted, unused activity-layout fixture. The new upstream Tab and screenshot behavior coverage is retained. Validation of the updated baseline and cross-platform checks remain with CI.AI use
Tool(s) and scope: Codex inspected checks and tests, made the removals, ran validation and drafted this PR. All commits include
Generated-by: Codex.Checklist
Does this PR entail a change in behavior?