Skip to content

Use --strict build flag to avoid publishing errors#89

Merged
brian-rose merged 1 commit into
ProjectPythia:mainfrom
brian-rose:use-strict
Jul 9, 2026
Merged

Use --strict build flag to avoid publishing errors#89
brian-rose merged 1 commit into
ProjectPythia:mainfrom
brian-rose:use-strict

Conversation

@brian-rose

Copy link
Copy Markdown
Member

This PR changes the build command from the current default

myst build --execute --html

to

myst build --execute --html --strict

This means that errors in the notebooks will cause the myst build to fail. As a consequence, we will not publish rendered book pages containing errors in the Python code.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below.
🔍 Git commit SHA: 1278537
✅ Deployment Preview URL: https://ProjectPythia.github.io/feature-tracking-cookbook/_preview/89

@brian-rose brian-rose marked this pull request as ready for review July 3, 2026 19:17
@brian-rose brian-rose requested a review from mattsl21 July 3, 2026 19:18
@brian-rose

Copy link
Copy Markdown
Member Author

@mattsl21 Just a heads up, when we merge this PR, the builds will fail if there are any errors in the notebooks. That can be annoying during rapid development but is a better solution for long-term health testing.

It will also mean that we don't accidentally publish bad results from nightly tests for the appendix notebook that streams ERA5 data, which occasionally fails due to network issues.

@brian-rose

Copy link
Copy Markdown
Member Author

I spoke directly with Matt about this and he is on board. I will merge this now.

@brian-rose brian-rose merged commit 69ea040 into ProjectPythia:main Jul 9, 2026
2 checks passed
@brian-rose brian-rose deleted the use-strict branch July 9, 2026 18:06
github-actions Bot pushed a commit that referenced this pull request Jul 9, 2026
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.

1 participant