fix(release-qa): deep-link Slack counts to bucket sections via user-content- anchors#35842
Merged
Conversation
GitHub's markdown sanitizer rewrites anchor ids in the Actions job summary with a `user-content-` prefix, so linking to the bare `#qa-missing` fragment landed at the top of the run page instead of the bucket section. Point the Slack count links at `#user-content-<anchor>` to match the rendered ids. The markdown `<a id="...">` markers are unchanged — GitHub adds the prefix when rendering. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Claude finished @nollymar's task in 39s —— View job Rollback safety analysis — ✅ Safe to Rollback
Scope of changes
Analysis These changes only affect the CI-side Slack notification formatter for the release QA status job. The diff does not touch any category in the reference document:
No |
yolabingo
approved these changes
May 26, 2026
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.
Closes #35841
Problem
Each bucket count in the release QA Slack notification links to the workflow run summary with a per-bucket fragment (e.g.
#qa-missing), but clicking it lands at the top of the run page rather than the bucket section.Example: https://github.com/dotCMS/core/actions/runs/26459945291#qa-missing
Root cause
GitHub's markdown sanitizer prefixes anchor
ids in the job summary withuser-content-. The summary declares<a id="qa-missing">but the rendered element isid="user-content-qa-missing", so#qa-missingmatches nothing.Fix
Point the Slack count links at
#user-content-<anchor>. The markdown anchor markers are unchanged — GitHub adds the prefix on render. One-line change inslackCountsplus the corresponding test assertions.Notes
🤖 Generated with Claude Code