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

Instructional sharness snapshot error message #3309

Merged
merged 1 commit into from
Jan 31, 2022
Merged

Instructional sharness snapshot error message #3309

merged 1 commit into from
Jan 31, 2022

Conversation

blueridger
Copy link
Member

Description

When sharness-full fails, it's usually just because a code change was made that requires the snapshots to be updated, but currently that's only really passed on person to person as institutional knowledge. This PR adds some comments in the test file that are output in the console log so that any future maintainer or contributor can be pointed in the direction of the update_snapshots.sh script.

Test Plan

I had CI run with this on code that needed a snapshot update. Open this run and browser search "not ok" to see the helpful tip displayed.
https://app.circleci.com/pipelines/github/sourcecred/sourcecred/7447/workflows/e66948ff-2814-4c11-a2c2-d77813ccd700/jobs/19653

Copy link
Contributor

@amrro amrro left a comment

Choose a reason for hiding this comment

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

Thanks, This is much helpful.

@blueridger blueridger merged commit 0fe70ab into main Jan 31, 2022
@blueridger blueridger deleted the sharness branch January 31, 2022 17:04
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.

None yet

2 participants