Skip to content

Isolate the deprecation-probe test from production output - #2655

Merged
chalin merged 1 commit into
docsy:mainfrom
chalin:chalin-m24-deprecation-test-isolation-2026-0614
Jun 14, 2026
Merged

chalin merged 1 commit into
docsy:mainfrom
chalin:chalin-m24-deprecation-test-isolation-2026-0614

Conversation

@chalin

@chalin chalin commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator
  • Builds the no-deprecations probe to the gitignored tmp/ instead of the published public/, so running the test no longer clobbers site output
  • Replaces the seed-a-deprecated-API sanity check, which mutated tracked theme source, with a static assertion that the _hugo build runs at --logLevel info (the invariant that makes the probe meaningful)

- Builds the no-deprecations probe to the gitignored `tmp/` instead of the published `public/`, so running the test no longer clobbers site output
- Replaces the seed-a-deprecated-API sanity check, which mutated tracked theme source, with a static assertion that the `_hugo` build runs at `--logLevel info` (the invariant that makes the probe meaningful)
@chalin chalin added the CI/infra CI & infrastructure label Jun 14, 2026
@chalin
chalin merged commit f516706 into docsy:main Jun 14, 2026
15 checks passed
@chalin
chalin deleted the chalin-m24-deprecation-test-isolation-2026-0614 branch June 14, 2026 12:48
@chalin chalin added this to the 0.16.0 milestone Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/infra CI & infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant