Repository navigation
test(artifacts): share UBI reader fixture helpers - #14809
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Low impact] This PR appears safe to merge; the shared helpers preserve the behavior of the removed code. SummaryBoth UBI reader test suites now reuse shared fixture helpers.
Reviews (2) · Last reviewed commit: "test(artifacts): share UBI reader fixtur..." · Reviewed by Greptile |
Summary
Use the existing ordered entry collector at 27 UBI reader test call sites and the existing temporary-file fixture for both suites. Keep the negative test's drain loop, per-test cleanup, file names, and byte contents. Each test still closes its own reader.
The change removes 19 net lines across two test files. The test declarations, assertion counts, rejection checks, and reader close calls match the base. Both files pass the pinned Node syntax check, formatting, and diff checks. The managed checkout has no qualified dependency link, so CI runs the affected suites.