Skip to content

Add OCI fingerprint capture cleanliness test#851

Open
aliamerj wants to merge 1 commit intokosli-dev:mainfrom
aliamerj:fingerprint-capture-cleanliness-test
Open

Add OCI fingerprint capture cleanliness test#851
aliamerj wants to merge 1 commit intokosli-dev:mainfrom
aliamerj:fingerprint-capture-cleanliness-test

Conversation

@aliamerj
Copy link
Copy Markdown

@aliamerj aliamerj commented May 3, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant