Skip to content

release: v3.7.0 - v4 pending-release reminder (v4 §11 PR 5) - #23

Merged
Shinrai merged 3 commits into
masterfrom
feat/v4-pending-release-reminder
May 22, 2026
Merged

Shinrai merged 3 commits into
masterfrom
feat/v4-pending-release-reminder

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

  • feat(workflows): v4 pending-release reminder (v4 §11 PR 5) (606e3ab)

🐛 Bug Fixes

  • fix(actions): force-reset-branch uses an explicit lease (bare --force-with-lease fails on URL push) (31ce86b)

🔧 Other Changes

No other changes

👥 Contributors

local-pending-release-reminder.yml (daily schedule + workflow_dispatch)
+ the pending-release-reminder action (node24):

  - ages master's last 'release:' commit (git log)
  - if age > the per-lane threshold AND an open next→master /
    hotfixes→master PR exists, files a deduped tracking issue and
    comments on the release PR
  - dedup is per-lane per-bucket (default ISO week) so it won't re-file
    daily; thresholds/window are workflow_dispatch inputs (§6.6 defaults:
    next 14d, hotfixes 3d)

Pure logic (age, ISO-week bucket, dedup key, threshold) covered by
test.mjs. Doc: §8.2 lists the new action, §11 PR 5 in progress.
@cldmv-bot cldmv-bot Bot added release Marks a pull request as a pending release — merge to publish a new version semver: minor This release adds new functionality in a backwards-compatible way area: core type: documentation Relates to docs, README updates, guides, or inline code comments labels May 22, 2026
…-with-lease fails on URL push)

force-reset-branch pushes to an x-access-token URL (to act as the bot).
A bare `--force-with-lease` derives its expected value from the
remote-tracking ref, which doesn't exist for a URL remote — so git
reports 'stale info' and refuses, and the old retry re-fetched into
FETCH_HEAD (not the tracking ref), so it failed identically. This is
exactly what broke the v3.6.0 next/hotfixes reset.

Fix: read the target's current remote SHA via ls-remote and pass an
EXPLICIT lease (--force-with-lease=refs/heads/<target>:<sha>). Retry
re-reads the SHA (genuine race) rather than re-fetching a tracking ref.
buildPushArgs gains expectedSha; empty → ':' (ref must not exist, new
branch). Test updated for the new signature.
@Shinrai
Shinrai force-pushed the feat/v4-pending-release-reminder branch from 1bae57f to 31ce86b Compare May 22, 2026 06:11
@cldmv-bot cldmv-bot Bot added type: ci type: documentation Relates to docs, README updates, guides, or inline code comments and removed type: documentation Relates to docs, README updates, guides, or inline code comments type: ci labels May 22, 2026
@Shinrai
Shinrai merged commit f486f07 into master May 22, 2026
8 checks passed
@cldmv-bot
cldmv-bot Bot deleted the feat/v4-pending-release-reminder branch May 22, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Marks a pull request as a pending release — merge to publish a new version semver: minor This release adds new functionality in a backwards-compatible way type: documentation Relates to docs, README updates, guides, or inline code comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant