Skip to content
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

Add verification of DB migrations for access-graph #185

Merged
merged 8 commits into from
Dec 5, 2023

Conversation

justinas
Copy link
Contributor

@justinas justinas commented Nov 23, 2023

Corresponding CI changes in access-graph: #185 (WIP)

  • Adds ability to check for DB migration errors in the access-graph repo
  • Makes reviewers parameter optional when not running assign or check workflows
  • Improves logging, including a stack trace when the workflow exits with an error

@justinas justinas requested review from a team November 23, 2023 13:51
bot/main.go Outdated
Comment on lines 181 to 186
var reviewer *review.Assignments
if flags.workflow == "assign" || flags.workflow == "check" {
reviewer, err = review.FromString(flags.reviewers)
if err != nil {
return nil, trace.Wrap(err)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I would be very careful about this. This value is used in several other places that are not immediately clear. I took a look into doing the exact same thing a couple of months ago and decided against it because it would break other workflows without much more refactoring.

@justinas justinas merged commit 7ade89f into main Dec 5, 2023
8 checks passed
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