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

feat: break refresh opt into bless and update #261

Merged
merged 7 commits into from
Dec 4, 2024

Conversation

a-frantz
Copy link
Member

@a-frantz a-frantz commented Nov 27, 2024

Describe the problem or feature in addition to a link to the issues.

closes #226

Before submitting this PR, please make sure:

  • You have added a few sentences describing the PR here.
  • You have added yourself or the appropriate individual as the assignee.
  • You have added at least one relevant code reviewer to the PR.
  • Your code builds clean without any errors or warnings.
  • You have added tests (when appropriate).
  • You have updated the README or other documentation to account for these
    changes (when appropriate).
  • You have added an entry to the relevant CHANGELOG.md (see
    "keep a changelog" for more information).
  • Your commit messages follow the conventional commit style.

@a-frantz a-frantz self-assigned this Nov 27, 2024
@a-frantz a-frantz marked this pull request as ready for review November 27, 2024 18:47
@@ -380,7 +385,7 @@ pub async fn gauntlet(args: Args) -> Result<()> {

println!("\nTotal analysis time: {total_time:?}");

if args.refresh {
if args.bless || args.update {
Copy link
Member

Choose a reason for hiding this comment

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

Should this only fire on --bless

Copy link
Member Author

Choose a reason for hiding this comment

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

No, we need to save the new diagnostics (and new hashes) back to the relevant config file when --update is passed. Otherwise --update would be a no-op that fails whenever something changed.

gauntlet/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Member

@claymcleod claymcleod left a comment

Choose a reason for hiding this comment

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

After the above is addressed, looks good to me.

a-frantz and others added 4 commits December 4, 2024 15:18
Co-authored-by: Clay McLeod <3411613+claymcleod@users.noreply.github.com>
@a-frantz a-frantz merged commit 179b962 into main Dec 4, 2024
16 checks passed
@a-frantz a-frantz deleted the feat/gauntlet-reduce-changes branch December 4, 2024 20:57
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.

Gauntlet update to reduce hash changes
3 participants