Skip to content

Fix Weekly Editors Health Check safe outputs and editor discovery - #58765

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-weekly-editors-health-check
Sep 5, 2026
Merged

Fix Weekly Editors Health Check safe outputs and editor discovery#58765
pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-weekly-editors-health-check

Conversation

Copilot AI commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

The Weekly Editors Health Check workflow failed safe-output validation because the agent discovered zero editors due to a strict syntax expectation in the prompt and completed without emitting a safe output or calling noop.

Changes Made

  • Workflow Configuration (.github/workflows/weekly-editors-health-check.md):

    • Enabled noop: in safe-outputs and imported shared/noop-reminder.md.
    • Broadened Step 0 editor discovery to parse <LinkButton>, markdown links ([text](url)), and plain bullet URLs (- https://...) under ### headings.
    • Updated Step 4 and Error Handling to mandate calling the noop tool with run diagnostics whenever no PR is required (e.g. previews already up-to-date or all targets unreachable).
  • Compiled Workflows:

    • Regenerated .github/workflows/weekly-editors-health-check.lock.yml to include the noop tool handler, reminder prompt injections, and environment variable bindings.
safe-outputs:
  upload-asset:
    max: 5
    allowed-exts: [.png, .jpg, .jpeg, .svg]
  steer: true
  create-pull-request:
    title-prefix: "[docs] "
    labels: [documentation, automation]
    reviewers: [copilot]
    expires: 7d
  noop:

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix workflow failure in Weekly Editors Health Check Fix Weekly Editors Health Check safe outputs and editor discovery Sep 5, 2026
Copilot AI requested a review from pelikhan September 5, 2026 08:52
@pelikhan
pelikhan marked this pull request as ready for review September 5, 2026 09:01
Copilot AI balanced review requested due to automatic review settings September 5, 2026 09:01
@pelikhan
pelikhan merged commit e575b1c into main Sep 5, 2026
@pelikhan
pelikhan deleted the copilot/aw-fix-weekly-editors-health-check branch September 5, 2026 09:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A critical failure-handling issue and two moderate discovery/reporting issues remain unresolved.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Improves editor discovery and safe no-action handling in the weekly editors health check.

Changes:

  • Broadens supported editor-link formats.
  • Adds explicit noop guidance and configuration.
  • Regenerates the compiled workflow.

Required changes:

  • Moderate (1 vote): Preserve quiet no-op reporting rather than enabling managed issue reports.
  • Moderate (2 votes): Restrict discovery to standalone, non-image links with one URL per editor and explicit precedence.
  • Critical (1 vote): Do not classify tool failures or unreachable targets as successful no-ops; report incomplete checks.
File summaries
File Description
.github/workflows/weekly-editors-health-check.md Updates discovery and no-op behavior; contains unresolved issues above.
.github/workflows/weekly-editors-health-check.lock.yml Regenerates the compiled workflow configuration.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 3
  • Review effort level: Balanced

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

- If a screenshot cannot be taken (Playwright error), log the error and continue with the remaining editors.
- If no screenshots were successfully taken and no documentation changes are needed, do **not** open a pull request. Instead, exit successfully after logging the results.
- Always attempt all editors before deciding whether to create a PR.
- If no screenshots were successfully taken or no documentation changes are needed (e.g., all screenshots and links are unchanged and already up to date), do **not** open a pull request. Instead, call the `noop` safe output tool explaining what was checked and why no PR was needed.
labels: [documentation, automation]
reviewers: [copilot]
expires: 7d
noop:
1. Track the most recent `###` heading encountered — this is the editor name for all `<LinkButton>` elements that follow it until the next heading.
2. For each `<LinkButton href="...">` element found, record the `href` value as the editor URL.
1. Track the most recent `###` heading encountered — this is the editor name.
2. For each editor section (under a `###` heading), extract the editor URL from `<LinkButton href="...">`, markdown links (`[...](...)`), or plain URL bullet items (`- https://...` or `https://...`).
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.88.5

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.

[aw] Weekly Editors Health Check produced no safe outputs

3 participants