Skip to content

fix: ignore package name when detecting warning/errors for dependencies update pipeline - #1477

Open
sgaist wants to merge 1 commit into
paketo-buildpacks:mainfrom
idiap:refactor/improve-error-detection
Open

sgaist wants to merge 1 commit into
paketo-buildpacks:mainfrom
idiap:refactor/improve-error-detection

Conversation

@sgaist

@sgaist sgaist commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Summary

The warning/error detection script currently returns false positives due to the following download information:

go: downloading github.com/pkg/errors v0.9.1
go: downloading gopkg.in/warnings.v0 v0.1.2

To avoid this, refactor the grepping part to ignore these lines.

Use Cases

Fix the update dependencies pipeline

Fixes #1476

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

The script greps the retrieve-output.log file for error and
warnings in a simple fashion: check if either appears.
However this also gets tripped by the following download
information:

go: downloading github.com/pkg/errors v0.9.1
go: downloading gopkg.in/warnings.v0 v0.1.2

To avoid this, refactor the grepping part to ignore
these lignes.
@sgaist
sgaist requested review from a team as code owners November 24, 2026 20:08
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.

False positive when running Update Dependencies From Metadata

1 participant