Skip to content

Isolate the deprecation-probe test from tracked source#465

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

Isolate the deprecation-probe test from tracked source#465
chalin merged 1 commit into
google:mainfrom
chalin:chalin-deprecation-test-isolation-2026-0614

Conversation

@chalin

@chalin chalin commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator
  • Ports Isolate the deprecation-probe test from production output docsy#2655 to the example site, which carried the same anti-pattern
  • Replaces the second test's seed-a-deprecated-API-call-into-layouts/ approach -- which mutated tracked source on every run -- with a static assertion that the _hugo-dev build script runs at a deprecation-surfacing log level (info or more verbose)
  • Keeps the first test building to a throwaway tmp/ dir so concurrent tests never clobber the published public/

- Ports google/docsy#2655 to the example site, which carried the same anti-pattern
- Replaces the second test's seed-a-deprecated-API-call-into-`layouts/` approach -- which mutated tracked source on every run -- with a static assertion that the `_hugo-dev` build script runs at a deprecation-surfacing log level (`info` or more verbose)
- Keeps the first test building to a throwaway `tmp/` dir so concurrent tests never clobber the published `public/`
@chalin chalin merged commit 1ab7bed into google:main Jun 14, 2026
10 checks passed
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