Skip to content

Fix flaky test_numfig_disabled_warn by ensuring fresh build - #14107

Closed
kartben wants to merge 2 commits into
sphinx-doc:masterfrom
kartben:fix14104
Closed

kartben wants to merge 2 commits into
sphinx-doc:masterfrom
kartben:fix14104

Conversation

@kartben

@kartben kartben commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

When shared_result cache is empty but artifacts exist, the build was incorrectly skipped, leaving app.warning empty. Force freshenv=True and disable build skipping in this case to ensure warnings are generated.

Fixes #14104

Purpose

References

  • <...>
  • <...>
  • <...>

When shared_result cache is empty but artifacts exist, the build was
incorrectly skipped, leaving app.warning empty. Force freshenv=True
and disable build skipping in this case to ensure warnings are generated.

Fixes sphinx-doc#14104

Signed-off-by: Benjamin Cabé <[email protected]>
@jayaddison

This comment was marked as off-topic.

@AA-Turner

Copy link
Copy Markdown
Member

Is there a more local fix we could find?

A

@jayaddison

This comment was marked as resolved.

@jdillard

jdillard commented Aug 7, 2026

Copy link
Copy Markdown
Member

Closing in favor of #14572, which takes the more local approach suggested above: drop shared_result from test_numfig_disabled_warn so that test always does a fresh build and keeps a reliable warning buffer.

@jdillard jdillard closed this Aug 7, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flaky unit test: test_numfig_disabled_warn

4 participants