Skip to content

Add snapshot wait#34

Draft
felickz wants to merge 1 commit intomainfrom
dr-add-snapshot
Draft

Add snapshot wait#34
felickz wants to merge 1 commit intomainfrom
dr-add-snapshot

Conversation

@felickz
Copy link
Collaborator

@felickz felickz commented Aug 1, 2024

Without this the DR check happens too quickly to support any snapshot submissions happening concurrent outside this workflow.

should we parameterize?
@github-actions
Copy link

github-actions bot commented Aug 1, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

# Example: advanced-security/reusable-workflows/.github/dependency-review.yml@main
config-file: ${{ steps.config.outputs.config }}
comment-summary-in-pr: "always"
retry-on-snapshot-warnings: "true" #This will add a 120s delay on any repos without a snapshot
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Todo: parameterize - otherwise this will add 120s delay by default while it spin waits for a snapshot every 10s until 120s

Copy link
Contributor

Choose a reason for hiding this comment

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

So what happens if a snapshot never comes? Like for a Python or JS project

Copy link
Collaborator Author

@felickz felickz Feb 23, 2026

Choose a reason for hiding this comment

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

it will timeout after the default (over-rideable in the action)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@copilot allow the workflow caller to opt into these settings - passthrough those inputs via the caller and only if passed in then set on this workflow:

feature desc values default
retry-on-snapshot-warnings* Enable or disable retrying the action every 10 seconds while waiting for dependency submission actions to complete. true, false false
retry-on-snapshot-warnings-timeout* Maximum amount of time (in seconds) to retry the action while waiting for dependency submission actions to complete. Any positive integer 120

Copy link

Copilot AI commented Feb 23, 2026

@felickz I've opened a new pull request, #76, to work on those changes. Once the pull request is ready, I'll request review from you.

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.

3 participants