Skip to content

Add release drift check to PR tracking report - #11

Merged
fdevans merged 1 commit into
mainfrom
add-release-drift-check
Aug 18, 2026
Merged

Add release drift check to PR tracking report#11
fdevans merged 1 commit into
mainfrom
add-release-drift-check

Conversation

@fdevans

@fdevans fdevans commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What

Adds a "Check Release Drift" step to the daily PR tracking workflow. It flags
plugins tagged with the versioned-plugins GitHub topic that have commits on
their default branch beyond the latest GitHub Release.

Why

We want to know which plugins need a release cut before the next Rundeck /
Rundeckpro GA, without adding a second report to check. This appends a
"Release Drift" section into the same daily pr-tracking/$today.md file and
branch the team already reads, rather than a separate workflow/branch.

Notes

  • Scoped via the versioned-plugins repo topic (25 repos: the full plugin
    inventory in PLUGINS_OVERVIEW.md), not "has any GitHub release" - that
    excluded tooling/example repos (build-zip, ui-job-metrics, etc.) that
    happen to carry semver tags for unrelated reasons.
  • Uses GitHub Releases (not raw git tags) as the source of truth for
    "latest released version," matching the convention already established
    in skills/rundeck-plugin-versions.
  • Runs daily alongside the existing PR report; no separate schedule.
    Verified cost: ~60-120 gh/API calls, under a minute, well under the
    Actions token's per-repo rate limit.
  • continue-on-error: true on the step so a bug here can't take down the
    daily PR report.

Flags versioned-plugins (per GitHub topic) with commits on their default
branch beyond the latest GitHub Release, so we don't lose track of a
plugin needing a cut before the next Rundeck/Rundeckpro GA. Runs daily
alongside the existing PR report and appends to the same file/branch.
@fdevans
fdevans requested review from a team and a lite review from Copilot August 18, 2026 16:16
@fdevans
fdevans merged commit 7e2449b into main Aug 18, 2026
1 check passed

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.

Pull request overview

This PR extends the existing daily PR tracking workflow by appending a “Release Drift” section to the same pr-tracking/$today.md report, intended to identify versioned-plugins repositories whose default branch has commits beyond the latest GitHub Release.

Changes:

  • Adds a “Check Release Drift” step (with continue-on-error: true) that enumerates versioned-plugins repos and computes ahead_by vs the latest GitHub Release tag.
  • Appends a markdown table + summary counts to the daily report file.
  • Introduces a separate daily pr-tracking/release-drift-history.csv for tracking drift counts over time.

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

Comment on lines +217 to +220
latest=$(gh release view --repo rundeck-plugins/$repo --json tagName -q .tagName 2>/dev/null || true)
if [ -z "$latest" ]; then
continue # never released (examples/demos/tooling repos) - not a drift candidate
fi
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.

2 participants