Repository navigation
Fix the release-notes reference pages and the init template - #4813
Merged
Merged
Conversation
The changelog init template set filename: timestamp, a value the loader rejects since the PR number became the only filename strategy, so a fresh config failed to load. The reference pages still presented source: github_release, output_products, link_allow_repos and the timestamp and issue strategies as current, and the evaluate-pr page a 120-character threshold that the service does not have. Hooks skipped: main pins the .NET 11 SDK and this machine has 10, so dotnet tool restore cannot run. The change is docs and a config comment plus one template value; no C# or frontend file is touched. Related to elastic/docs-eng-team#551 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RyiyHmDHcUFt8rjMNR8TBm
akira28
approved these changes
Nov 11, 2026
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4813/ Sample changed pages: |
A test now loads config/changelog.example.yml, embedded in the test project, through ChangelogConfigurationLoader as shipped and in its seeded form, so a template value the loader rejects fails CI. changelog gh-release resolves pull requests from the commit range between the previous release tag and the requested tag; it never parses the release notes, so the Release Drafter wording is gone. A profile product: also drives changelog remove when products: is unset. And bundle.repo and bundle.owner are still read for CDN entry sourcing, which has no git fallback, so the reference now says to keep them. Hooks skipped: main pins the .NET 11 SDK and this machine has 10. Related to elastic/docs-eng-team#551 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RyiyHmDHcUFt8rjMNR8TBm
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RyiyHmDHcUFt8rjMNR8TBm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
changelog initwrote achangelog.ymlwithfilename: timestamp, a value the loader rejects, so a fresh configuration failed to load. The release-notes reference pages also still presented removed or deprecated settings as current. This PR fixes the template value and brings the pages in line with the code.Affects: Release notes, Documentation, Configuration
Prompt summary: Check whether the release notes onboarding docs are still valid against the code, then open the PRs needed. The audit covers the
docs-release-notesdocset (fixed in https://github.com/elastic/docs-release-notes/pull/16) and this repo's own reference pages, which the onboarding docs link to.Why
config/changelog.example.ymlis the embeddedchangelog inittemplate, and its livefilename: timestampline trips thetimestamp is no longer supportederror inChangelogConfigurationLoader. The reference pages describesource: github_releaseas a working profile source althoughProfileFilterResolverstops with an error on it, presentoutput_products,output_directory,repoandownerwithout their deprecation warnings, documentlink_allow_reposas a bundle-time filter althoughchangelog bundleno longer reads it, and listtimestampandissuefilename strategies that fail to load. The evaluate-pr page mentions a 120-character threshold thatChangelogPrEvaluationServicedoes not have.What
The init template loads again
filename: prreplacesfilename: timestampinconfig/changelog.example.yml. The comments aroundfilename,link_allow_repos,repo,ownerand the profile examples now describe the current behaviour, and the example profiles useproduct:. The commented GitHub release profile is replaced by achangelog gh-releasecommand.Profiles in the configuration reference
configure-ref.mdgains aproductentry, which also driveschangelog removewhenproductsis unset, and marksoutput_products,output_directory,owner,repoandsourceas deprecated or removed, each with what the loader does today.bundle.repoandbundle.ownerare deprecated for file names only: entry sourcing still reads them and has no git fallback, so the page says to keep them. The entry sourcing section states which filters the CDN mode supports and that--all,--input-productsand--issuesneed--force-localor--directory. The filename table keepspronly.GitHub releases and private links in the guide
bundle.mdpoints the GitHub release section and the command examples atchangelog gh-release, describes it as commit-range based (it resolves the pull requests between the previous tag and the requested tag and never parses the release notes), drops theagent-gh-releaseprofile that no longer loads, and says that the scrubber Lambda controls published links from theassembler.ymlallowlist.cmd-bundle.mdsays the same for its link allowlist section and namesproductin the commit-range notes.Command pages
cmd-add.mdkeepspras the only filename strategy and marks--use-issue-numberas unsupported.cmd-gh-release.mdandcmd-bundle.mddrop the Release Drafter wording for the same commit-range description.cmd-evaluate-pr.mddrops the length threshold.cmd-init.mdsays the seededlink_allow_reposis unused.A test that loads the real template
Two tests in
ChangelogConfigurationTestsloadconfig/changelog.example.yml, embedded in the test project, throughChangelogConfigurationLoader: as shipped, and afterChangelogTemplateSeeder.ApplyBundleRepoSeedhas seededbundle.owner,bundle.repoandlink_allow_repos. Both assert zero errors andFilenameStrategy.Pr. Onmainthe first one fails on thetimestampvalue.Verify
Out of scope: the C# help strings that feed
docs/cli-schema.jsonstill mentiontimestamp-slug,--use-issue-numberandsource: github_release(ChangelogCommand.csand the git-range error inChangelogBundlingService.cs); the remainingoutput_productsexamples inbundle.mdstill load, with a warning. Both need a schema regeneration and an SDK this machine does not have.Hooks skipped on the commits:
mainpins the .NET 11 SDK and this machine has .NET 10, sodotnet tool restoreand the Husky hooks cannot run here. The two tests follow the existingLoadConfighelper and could not be run locally for the same reason; CI runs them.Related to https://github.com/elastic/docs-eng-team/issues/551
🤖 Generated with Claude Code
https://claude.ai/code/session_01RyiyHmDHcUFt8rjMNR8TBm