Skip to content

fix(issues): identify source for sidebar link issues#641

Merged
LeoMcA merged 1 commit intomainfrom
sidebar-issue-provenance
Apr 21, 2026
Merged

fix(issues): identify source for sidebar link issues#641
LeoMcA merged 1 commit intomainfrom
sidebar-issue-provenance

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Apr 20, 2026

Description

Identify the source for sidebar links issues.

Motivation

Make it easy to understand where the issue comes from, i.e. how to fix it.

Additional details

When a sidebar produces a broken, redirected, or ill-cased link, the issue message now says Sidebar <name> instead of Macro ?.

Related issues and pull requests

Triggered by mdn/content#43843 (comment).

When a sidebar produces a broken, redirected, or ill-cased link, the
issue message now says `Sidebar <name>` instead of `Macro ?`.

This is achieved by adding a `sidebar` tracing span, and
extracting it alongside `templ` via the new `source_label` helper.
@github-actions
Copy link
Copy Markdown
Contributor

3bade1c was deployed to: https://rari-pr641.review.mdn.allizom.net/

@LeoMcA LeoMcA merged commit ccb6d3b into main Apr 21, 2026
19 checks passed
@LeoMcA LeoMcA deleted the sidebar-issue-provenance branch April 21, 2026 10:59
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.

3 participants