-
Notifications
You must be signed in to change notification settings - Fork 27
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
Auto-publishing not working #194
Comments
Hey, so all PRs show if continuous integration fails. Click on any PR and you should see ❌ and the reasons why. For example: https://github.com/w3c/performance-timeline/runs/3770850099?check_suite_focus=true for getting notified when publication fails, auto-publish supports adding an email: https://w3c.github.io/spec-prod/#w3c_notifications_cc I can add you to the cc if you’d like. |
Ideally, I'd like the PR to not land if it has errors (similarly to how bikeshed based specs can't land if they don't build). |
Right, that should be exactly the same already (bikeshed has this issue/feature also): What can happen is between the CI for a pull request passing and something gets merged the world has changed (e.g., the WebIDL parser changed, HTML removes a dfn, etc.). In those cases, CI also prevents publication: why we are seeing an error right now. Something changed and ReSpec is telling us something is off. I’ll take a look tomorrow. |
Cool, thanks!! |
Ok, backtracking here.
This was already set up. In GitHub's settings, under branch protection: This is not a "bikeshed" or "respec" thing: that's controlled by spec-prod (the automatic publication system... and it was again flagging the right thing). About the actual publication error, please always check the error that CI is emitting. In this case, it was: I.e., that the shortname was wrong: "performance-timeline-2-2". This was cause by .github/workflows/auto-publish.yml: @yoavweiss, I'm wondering if the problem is that the CI logs are too hard to decipher? We have a bug to try to improve them, but I need to make sure we are not fixing the wrong thing... or fix them in the right way. |
Just noting that auto-publishing is now working again ✅🙏 |
OK, that's great to know!
I haven't put in a ton of time trying to figure this out before filing, so can't say that better CI logs would've change it. I'll investigate more next time! |
Appreciate it. And always happy to help. At the same time, we are trying to make the tools better so the community can best help themselves without relying so much on the Team 🙏 |
It seems like auto-publishing is not working, and there are a couple of respec errors. Those 2 facts may be related.. (but would be good to be notified at PR time about the respec errors)
/cc @caribouW3 @marcoscaceres
The text was updated successfully, but these errors were encountered: