Skip to content

Navigation Menu

Sign in
Sign up

Add OCI fingerprint capture cleanliness test - #851

Open
aliamerj wants to merge 1 commit into
kosli-dev:main from
aliamerj:fingerprint-capture-cleanliness-test
Open

Add OCI fingerprint capture cleanliness test #851
aliamerj wants to merge 1 commit into
kosli-dev:main from
aliamerj:fingerprint-capture-cleanliness-test

Conversation

@aliamerj

@aliamerj aliamerj commented May 3, 2026

Copy link
Copy Markdown

This PR adds the missing capture cleanliness test for --artifact-type=oci.
issue #848

already enforce the stdout/stderr contract for file, dir, and docker, but the OCI path was not covered. Since OCI fingerprinting goes through registry HTTP calls, it could introduce stderr output (e.g. auth warnings or HTTP logs) without being caught by existing tests.

This test ensures that:

  • stdout contains only the fingerprint
  • stderr is empty
  • combined output (2>&1) is still exactly the fingerprint

A public image pinned by digest is used to keep the test deterministic across environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /