Skip to content

fix: do not link a cluster repair target - #5

Open
SebTardif wants to merge 1 commit into
openclaw:mainfrom
SebTardif:fix/clawsweeper-state-f006
Open

SebTardif wants to merge 1 commit into
openclaw:mainfrom
SebTardif:fix/clawsweeper-state-f006

Conversation

@SebTardif

@SebTardif SebTardif commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

A repair action whose target was cluster:... was rendered as a link to that text. That hid a real pull or issue URL stored on the same action.

Why This Change Was Made

targetLink links action.pr or action.url when either is a GitHub issue or pull URL. A cluster: target is left as plain text.

  • scripts/repair-dashboard.mjs
  • test/repair-dashboard.test.mjs

User Impact

A blocked cluster repair shows the pull number as a link. A completed close shows the issue number as a link. The cluster: target is not a link.

Evidence

renderRepairDashboard from commit 0c3156e read one run file. The fix action target was cluster:issue-openclaw-openclaw-5 and its pull URL was https://github.com/openclaw/openclaw/pull/9. The apply action target was cluster:issue-openclaw-openclaw-8 and its issue URL was https://github.com/openclaw/openclaw/issues/8.

| [issue-openclaw-openclaw-5](https://github.com/openclaw/clawsweeper-state/blob/state/results/openclaw/issue-openclaw-openclaw-5.md) | blocked | [#9](https://github.com/openclaw/openclaw/pull/9) | https://github.com/openclaw/openclaw/pull/9 | cluster target is not a url | [55](https://github.com/openclaw/clawsweeper/actions/runs/55) |
| [#8](https://github.com/openclaw/openclaw/issues/8) | close_duplicate | use the issue url | May 2, 2026, 19:01 UTC | issue-openclaw-openclaw-5 | ... |
cluster_links 0

cluster_links is the count of markdown links whose destination starts with cluster:.

Real behavior proof

  • Behavior or issue addressed: A cluster: repair target is not linked. The action's pull or issue URL is linked instead.
  • Real environment tested: macOS, Node, renderRepairDashboard from commit 0c3156e, one JSON run file under a temporary results directory.
  • Exact steps or command run after this patch: Write a run whose fix action target is cluster:issue-openclaw-openclaw-5 and whose pr is pull 9. Write an apply action whose target is cluster:issue-openclaw-openclaw-8 and whose url is issue 8. Render the dashboard.
  • Evidence after fix: The blocked row links [#9](https://github.com/openclaw/openclaw/pull/9). The completed row links [#8](https://github.com/openclaw/openclaw/issues/8). cluster_links is 0.
  • Observed result after fix: The cluster target is not a clickable destination. The pull and the issue are.
  • What was not tested: A publish to the state branch. The render read a local results directory.

A non-URL target such as cluster:... was rendered as a link to itself and hid action.pr and action.url. Link those first, and leave cluster targets unlinked.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
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