Skip to content

docs: Drop the fledge marker from NEWS.md - #580

Merged
krlmlr merged 1 commit into
mainfrom
claude/drop-fledge-marker
Nov 29, 2026
Merged

krlmlr merged 1 commit into
mainfrom
claude/drop-fledge-marker

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

What changes

Removes the first line of NEWS.md, <!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->, and the blank line after it, ahead of the release. NEWS.md now starts with # RMariaDB 1.3.5.9007 (2026-11-28). Nothing else in NEWS.md or elsewhere changes.

What depends on the marker, and what turns off

  • .github/workflows/fledge.yaml gates its fledge job on the check_news job, whose step "Check if not forked and NEWS.md mentions fledge" uses cynkra/cynkratemplate/.github/actions/fledge-check-news@main. That action fetches NEWS.md through the API, takes head -n 1, and only writes should_run=true when that first line contains the string fledge. The new first line is the version heading, which does not, so should_run stays unset and the fledge job (if: needs.check_news.outputs.should_run == 'true') is skipped on every trigger: the daily schedule (40 21 * * *), pushes to main that touch fledge.yaml, and manual workflow_dispatch.
  • Concretely, all steps of that job stop running: fledge::bump_version(which = "dev") (no more nightly dev-version bump in DESCRIPTION, no more NEWS sections generated from commit messages), fledge::finalize_version(push = TRUE) (no bump commit or tag pushed to main), the fallback that opens and auto-merges a fledge branch PR and dispatches the R-CMD-check.yaml smoke test for it, and the "Check release" step, fledge:::release_after_cran_built_binaries(), which also lives in this job.
  • The check_news job itself still runs and succeeds; it just logs "NEWS.md does not mention fledge. Skipping fledge workflow."

Consequences

  • From now on NEWS entries must be written by hand (or by the release fold at release time); merged PRs no longer show up in NEWS.md automatically.
  • The dev version stays at 1.3.5.9007 until bumped by hand or by the release.
  • Since "Check release" is in the skipped job, any post-CRAN release step it would have done has to happen another way.
  • This holds after the release as well: the nightly dev bumps and generated NEWS sections do not return until someone re-adds a first line that mentions fledge.

Other references to fledge, and their status

  • .github/CONTRIBUTING.md line 31, "Please do not update NEWS.md." Still true for contributors in practice, but its reason (fledge writes NEWS) no longer holds. Not changed here; possible follow-up to reword it, e.g. to say the maintainer edits NEWS.
  • .github/workflows/R-CMD-check.yaml line ~56, comment "fledge's dispatch included, uploads the tarball as built, without pigz." Describes the dispatch from fledge.yaml's PR fallback, which will no longer happen while the marker is gone; the comment stays accurate as a description of behaviour, so it is left alone.
  • .github/workflows/fledge.yaml itself: left in place; it is now inert rather than wrong.
  • NEWS.md historical entries (lines 90, 221, 238, 240, 251 after this change) mention fledge in past changelog items; unchanged, as they should be.
  • _pkgdown.yml: has news: cran_dates: false, no fledge reference; unaffected.
  • DESCRIPTION, README.md: no fledge references.

Comparison with RSQLite

RSQLite removed the same marker as part of its release preparation commit ("chore: Prepare RSQLite 3.54.1 for CRAN", r-dbi/RSQLite#893), together with folding the dev sections and setting the version by hand. There the removal sat on the release branch, so fledge kept bumping main (e.g. r-dbi/RSQLite#917) until the release merged. Here the marker is dropped on main directly, so fledge stops now rather than at the release merge.

A clean review found nothing above Low: Accepted limitations.

Review tracker: #577
Session: https://claude.ai/code/session_01Hr1rd5deoKNru8psvRoyYR


Generated by Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Accepted limitations

The clean review found nothing above Low. The diff removes only the marker line and the blank line after it. fledge-check-news really does gate the whole fledge job on the first line of NEWS.md, and pkgdown and R CMD check do not read the marker.

  • .github/CONTRIBUTING.md#L31 still says "Please do not update NEWS.md". That still holds for contributors, but the reason (fledge writes NEWS) is gone. Left for a follow-up. Relevance low, confidence high.
  • cran-submission.yaml#L20 in #579: the process step "Remove fledge's marker line from the top of NEWS.md" becomes a no-op once this merges. The file is kept identical to RSQLite's, so the header stays as it is. Relevance low, confidence high.
  • Fledge stays off after the release too, until someone re-adds a first line that mentions fledge. This is now stated in the PR body. Relevance low, confidence high.

Generated by Claude Code

@krlmlr
krlmlr marked this pull request as ready for review November 28, 2026 08:05
@krlmlr
krlmlr merged commit 7f459e8 into main Nov 29, 2026
7 checks passed
@krlmlr
krlmlr deleted the claude/drop-fledge-marker branch November 29, 2026 11:02
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