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

Update debug messages when checking hash uniqueness #613

Merged

Conversation

ianjmacintosh
Copy link
Contributor

Based on the thread in the attached ticket, I've clarified the debug messages when LHCI checks commit hash uniqueness.

Close #612

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

thanks @ianjmacintosh! I expect there will be some test expectations to update :)

@ianjmacintosh
Copy link
Contributor Author

thanks @ianjmacintosh! I expect there will be some test expectations to update :)

Hehe, yeah, right on. When I searched the project for the string in question (to find it in the first place), I just found it in that one location, but we'll see! 🎲🎲

@ianjmacintosh
Copy link
Contributor Author

Yep, I'm seeing some failing tests, time to chase them down.

@ianjmacintosh
Copy link
Contributor Author

Running the tests locally shows some errors that I suspect are just specific to my own environment and would require some more digging to straighten out. Instead of tackling those in order to get passing tests locally before pushing, I've updated the tests that looked relevant and am giving it another shot.

If I see failures on the status checks again, I'll do a deeper dive to get the tests passing locally before trying again.

@patrickhulce
Copy link
Collaborator

packages/cli/test/autorun-start-server.test.js should be the only one left to worry about :)

@ianjmacintosh
Copy link
Contributor Author

Yeah, I'm pretty sure that's the case and I've already got that commit ready, but I feel like I should be able to run tests locally before passing them off to CI. Hang tight 🦥

@patrickhulce
Copy link
Collaborator

I feel like I should be able to run tests locally before passing them off to CI

I think a few might be failing because of a fork. There are a few tests we need to configure to be skipped that rely on the git history of the upstream repo.

@ianjmacintosh
Copy link
Contributor Author

ianjmacintosh commented May 19, 2021

Yeah, that was definitely part of it, so I changed my remotes. I was also not running yarn build:watch or yarn start:server as outlined in the "development flow" part of CONTRIBUTING.md. Now when I run the tests I see failures in storybook.test.jsx, simple-comparison.test.js, and different-category-comparison.test.js, but there's a debugging message buried in the miles of console output that makes it sound like I didn't prep something related to storybook properly.

Since that's almost definitely unrelated, I pushed my changes so CI can test while I figure out my local environment issues.

@ianjmacintosh
Copy link
Contributor Author

Yep, all good, all checks passed 🥳

@patrickhulce patrickhulce merged commit 40a4588 into GoogleChrome:main May 19, 2021
@patrickhulce
Copy link
Collaborator

thanks very much @ianjmacintosh! 🎉

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.

Unclear debug message for building new vs old hashes
2 participants