Skip to content

ci: Report rejected changes to done nodes - #1663

Merged
nuclearcat merged 1 commit into
kernelci:mainfrom
nuclearcat:validate-dashboard-forecast-discord
Oct 29, 2026
Merged

nuclearcat merged 1 commit into
kernelci:mainfrom
nuclearcat:validate-dashboard-forecast-discord

Conversation

@nuclearcat

@nuclearcat nuclearcat commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Summary

kernelci-api (kernelci/kernelci-api#726) rejects state/result changes to nodes that are already done and publishes each attempt, including admin overrides, on the node-integrity channel. Such nodes may hold the wrong result in Maestro or on the dashboard.

  • New tests/check_node_integrity.py lists node-integrity events from the validation window via /events?channel=node-integrity. It fails if there are any.
  • It runs as a step in the forecast job, and its report is uploaded alongside forecast.json.
  • The Discord summary gets a "done nodes" line that links each affected node:
    ❌ done nodes: 1 rejected changes, 0 forced by admin
      • baseline-arm64-sasha-lab jetson-tx1-devkit (sasha-lab): pass → fail
    

Testing

  • Against the production API: the query succeeds, the channel is empty (the API change is not deployed yet), and the check passes.
  • The Discord formatting was checked with a sample event.

kernelci-api rejects state/result changes to nodes that are already
done and publishes each attempt (and each admin override) on the
node-integrity channel. Such nodes may hold a wrong result in Maestro
or on the dashboard and need a manual look.

Add tests/check_node_integrity.py to list those events for the
validation window, run it in the forecast job, and include them in the
Discord summary with a link to each affected node.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
@nuclearcat nuclearcat changed the title Validate dashboard forecast discord and prevent changing done nodes state ci: Report rejected changes to done nodes Oct 29, 2026
@nuclearcat
nuclearcat added this pull request to the merge queue Oct 29, 2026
Merged via the queue into kernelci:main with commit 59bfc8f Oct 29, 2026
5 checks passed
@nuclearcat
nuclearcat deleted the validate-dashboard-forecast-discord branch October 29, 2026 12:47
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