-
Notifications
You must be signed in to change notification settings - Fork 68
Adding new sections to AnalysisBook breaks the build #33
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
Comments
I presume you'd have done a successful build locally before pushing. If so, why would it break the build. If not, why not? |
The heartbeat error we should be able to address by adding Some generic recommendations for safety with the build:
What I do:
Then make a pull request, and wait for the CI to finish before merging. |
I'd recommend pulling with rebase to keep a clean and linear history:
This also helps avoid the need for a force push in the first place. (I was wondering why you needed to force push — I’m guessing you didn’t use rebase but merged instead. In general, force pushes should be used sparingly.) |
I think I managed to install a ruleset on the default branch that requires a PR before merging even for myself, we'll see how that goes. |
I tried naively adding a new section to AnalysisBook in 90201e7#diff-8c94bd1d7883c9c05fc3bd2cb50e697cced3cbaf94289a7e3942be26e93b91e3 but it did not pass CI (according to https://github.com/teorth/analysis/actions/runs/15536415550/job/43736438185 , the lines added caused some sort of heartbeat error). I then removed the offending lines in b90c85c and the CI worked again.
(Separately, I am trying to figure out how to protect the repository from my own force pushes breaking the build, but have not yet figured out exactly how to do so.)
What is a safer procedure to add new sections to AnalysisBook?
The text was updated successfully, but these errors were encountered: