镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Fix pipeline failures showing up as complete - #1518

Merged
cd-work merged 1 commit into
mainfrom
fix_package2
Oct 10, 2024
Merged

cd-work merged 1 commit into
mainfrom
fix_package2

Conversation

@cd-work

@cd-work cd-work commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

This fixes an issue where packages would show up as passing Phylum's
analysis if they failed at any point of the pipeline.

Closes #351.


Depends on #1517.

@cd-work
cd-work requested a review from a team as a code owner October 10, 2024 19:46
@cd-work
cd-work requested a review from matt-phylum October 10, 2024 19:46
matt-phylum
matt-phylum previously approved these changes Oct 10, 2024
@cd-work cd-work self-assigned this Oct 10, 2024
maxrake
maxrake previously approved these changes Oct 10, 2024

@maxrake maxrake left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed code and confirmed with local testing:

❯ phylum --version
phylum v7.1.1

❯ phylum package pypi phylum 888.888.888
⚠️  Thank you for submitting this package. Please check back later for results.

❯ phylum package pypi phylum 888.888.888

 Package Name:     phylum    Package Version:                  888.888.888
 License:         Unknown    Last updated:       1970-01-01T00:00:00+00:00
 Num Deps:              0    Num Vulns:                                  0
 Ecosystem:          pypi


 Risk Vectors:

    Total Risk:              100
    Author Risk:             100
    Engineering Risk:        100
    License Risk:            100
    Malicious Code Risk:     100
    Vulnerability Risk:      100


❯ target/debug/phylum --version
phylum v7.1.1-3-gd8b8889

❯ target/debug/phylum package pypi phylum 999.999.999
⚠️  Thank you for submitting this package. Please check back later for results.

❯ target/debug/phylum package pypi phylum 999.999.999
❗ Package analysis failed, please contact Phylum if this package exists.

This fixes an issue where packages would show up as passing Phylum's
analysis if they failed at any point of the pipeline.

Closes #351.
@cd-work
cd-work dismissed stale reviews from maxrake and matt-phylum October 10, 2024 21:50

The merge-base changed after approval.

@cd-work
cd-work requested a review from maxrake October 10, 2024 21:50
@cd-work
cd-work enabled auto-merge (squash) October 10, 2024 21:50
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.

phylum package returns results for nonexistent packages

3 participants