Skip to content

test(artifacts): share UBI reader fixture helpers - #14809

Merged
vincentkoc merged 1 commit into
mainfrom
test/ubi-share-reader-fixtures
Nov 26, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
test/ubi-share-reader-fixtures

Conversation

@vincentkoc

Copy link
Copy Markdown
Collaborator

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.

@vincentkoc
vincentkoc marked this pull request as ready for review November 26, 2026 23:41
@vincentkoc
vincentkoc enabled auto-merge (squash) November 26, 2026 23:41
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T23:41:03.266040Z
We couldn’t complete this review. Comment @codex review to try again.
1b37bb1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · This PR appears safe to merge; the shared helpers preserve the behavior of the removed code.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge; the shared helpers preserve the behavior of the removed code.

Summary

Both UBI reader test suites now reuse shared fixture helpers.

  • UBI reader tests use shared helpers for entries and image files.

Reviews (2) · Last reviewed commit: "test(artifacts): share UBI reader fixtur..." · Reviewed by Greptile

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