Skip to content

Refactor accept file management to its own package #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 7, 2025

Conversation

shawnburke
Copy link
Collaborator

As this project has evolved, the handling of a core piece - the snyk broker accept.json files has not been cleanly implemented.

As more cases come up where we need to manipulate this file, it needed a refactor.

So this refactors all of the accept file handling into its own package that fully owns loading, validatating, and rendering this file.

this gives us the support needed for dynamic value resolution, eg plugins, that will support things like Github Apps.

Most of that is in this PR but needs E2E testing etc.

@shawnburke shawnburke force-pushed the accept-file-resolver branch 2 times, most recently from 7f45d5a to 8531e24 Compare July 5, 2025 06:17
@shawnburke shawnburke force-pushed the accept-file-resolver branch from 8531e24 to ccf1af7 Compare July 5, 2025 06:23
@shawnburke shawnburke merged commit 885bb1c into main Jul 7, 2025
10 checks passed
@shawnburke shawnburke deleted the accept-file-resolver branch July 7, 2025 00:38
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