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

CI: Fail readthedocs build on warning #335

Open
michaeldiamant opened this issue May 6, 2022 · 0 comments
Open

CI: Fail readthedocs build on warning #335

michaeldiamant opened this issue May 6, 2022 · 0 comments
Labels
bug Something isn't working Team Scytale

Comments

@michaeldiamant
Copy link
Contributor

Problem

The v1.13.0 build generated incomplete docs, but the build completed successfully.

Due to the lack of build failure, several days passed before we realized the issue. Readthedocs supports failure on warning: https://docs.readthedocs.io/en/stable/config-file/v2.html#sphinx-fail-on-warning.

Since v1.13.0 build included warnings that highlighted the source problem, enabling failure on warning would have provided a Slack notification. See #332 for warning example + fix.

The story's request is to address existing warnings + fail readthedocs builds on warning.

Solution

Probably out of scope: Catch warnings during PR review rather than in the repo main branch.

  • As of writing, readthedocs polls the repo to build (main branch + tags), rather than building the docs are part of the repo's build.
  • To catch warnings before merging a PR, I suspect the build model needs to be revisited. I'd consider the effort, but I don't feel it's necessary for us to incrementally realize value.

Dependencies

Urgency

Broken docs hamper community confidence.

@michaeldiamant michaeldiamant added the new-feature-request Feature request that needs triage label May 6, 2022
@michaeldiamant michaeldiamant added Team Scytale and removed new-feature-request Feature request that needs triage labels May 6, 2022
@algoanne algoanne added tech debt bug Something isn't working and removed Infrastructure tech debt labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team Scytale
Projects
None yet
Development

No branches or pull requests

2 participants