Skip to content

feat(release-watch): #101 — weekly upstream-release watch workflow - #102

Merged
michael-conrad merged 1 commit into
devfrom
feature/101-upstream-release-watch
Sep 24, 2026
Merged

michael-conrad merged 1 commit into
devfrom
feature/101-upstream-release-watch

Conversation

@michael-conrad

Copy link
Copy Markdown
Owner

Summary

  • Greenfield GitHub Actions workflow .github/workflows/upstream-release-watch.yml with weekly cron + workflow_dispatch + concurrency group running scripts/release-watch.py (uv inline script)
  • Polls upstream gitbucket/gitbucket releases/latest, diffs tag_name against committed state file .github/release-watch/last-seen-tag with tag-shaped detection only
  • Pre-filing dupe search, files one issue per new tag in michael-conrad/gitbucket
  • Commits state only after confirmed filing receipt, with monotonic advance

Outcome

  • Weekly automated upstream release detection; 16 enforcement tests covering SC-1..SC-10, all passing

Fixes

🤖 Co-authored with AI: OpenCode (ollama-cloud/glm-5.3-flash)

Greenfield GitHub Actions workflow (.github/workflows/upstream-release-watch.yml)
with weekly cron + workflow_dispatch + concurrency group running
scripts/release-watch.py (uv inline script) that polls upstream
gitbucket/gitbucket releases/latest, diffs tag_name against committed state
file .github/release-watch/last-seen-tag with tag-shaped detection only,
pre-filing dupe search, files one issue per new tag in michael-conrad/gitbucket,
and commits state only after confirmed filing receipt with monotonic advance.

16 enforcement tests cover SC-1..SC-10, all passing.

Co-authored-by: OpenCode (ollama-cloud/glm-5.3-flash) <noreply@example.com>
Co-authored-by: Michael Conrad <m.conrad.202@gmail.com>
@michael-conrad
michael-conrad merged commit 7409b62 into dev Sep 24, 2026
4 checks passed
@michael-conrad
michael-conrad deleted the feature/101-upstream-release-watch branch September 24, 2026 18:57
michael-conrad added a commit that referenced this pull request Sep 24, 2026
Adds the jobs: section to .github/workflows/upstream-release-watch.yml
(issue #103), fixing the verified HTTP 422 'Required property is
missing: jobs' dispatch failure from PR #102's trigger-only skeleton.

One release-watch job:
- actions/checkout@v4 first step (SC-2)
- permissions exactly issues: write + contents: write (SC-3)
- container step ghcr.io/astral-sh/uv:python3.12-bookworm-slim
  invoking uv run scripts/release-watch.py (SC-4)

4 enforcement tests (test/test_workflow_jobs.py) pass; on:/concurrency:
scaffolding unchanged. Live dispatch verification (SC-5..SC-9) runs on
dev post-merge.

Co-authored-by: OpenCode (ollama-cloud/glm-5.3-flash) <noreply@example.com>
Co-authored-by: Michael Conrad <m.conrad.202@gmail.com>
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