Skip to content

chore: Drop the fledge marker from NEWS.md - #628

Merged
krlmlr merged 2 commits into
mainfrom
claude/drop-fledge-marker
Nov 29, 2026
Merged

krlmlr merged 2 commits into
mainfrom
claude/drop-fledge-marker

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Removes the first line of NEWS.md, the HTML comment saying the file is maintained by fledge, and the blank line after it, so NEWS.md now starts with # RPostgres 1.4.10.9021 (2026-11-28). Nothing else in NEWS.md changes. utils::news() still parses the file, finding 84 entries with 1.4.10.9021 as the newest.

What depends on the marker

  • .github/workflows/fledge.yaml gates its fledge job on cynkra/cynkratemplate/.github/actions/fledge-check-news@main. That action reads NEWS.md through the API and sets should_run=true only when its first line contains "fledge". After this change line 1 is the version heading, so check_news still runs on schedule, but the fledge job is skipped, not failed. This is by design. It means no more automatic nightly dev version bumps, no NEWS entries collected from commit messages on main, and no release_after_cran_built_binaries() step, which lives in the same job.
  • The template's build-binary action, which R-CMD-check.yaml and R-CMD-check-dev.yaml call, also looks for the marker (version.sh). With the marker gone, the binaries CI builds get a version of .9000 plus the number of first-parent commits since the last tag, 1.4.10.9098 today, instead of the version in DESCRIPTION, 1.4.10.9021. DESCRIPTION is restored afterwards and no job fails; only the version of the CI binary artifacts changes. This is the template's intended behavior for packages without fledge.
  • Even if the fledge job were forced to run, fledge::bump_version() returns FALSE without changing anything when it runs non-interactively on a NEWS.md with no preamble, unless FLEDGE_FORCE_NEWS_MD is set.
  • fledge::bump_version() run interactively later would write the marker back. With no preamble in the file, read_fledgling() falls back to news_preamble(), the current marker. Removing it again would then be a manual step.
  • Other mentions of fledge in the repository (git grep -n -i fledge) are fledge.yaml itself and a comment in R-CMD-check.yaml, and neither reads the marker. .github/CONTRIBUTING.md still says "Please do not update NEWS.md", which was written with fledge in mind. Rewording it, and removing or keeping the dormant fledge.yaml, are follow-ups.

Session: https://claude.ai/code/session_01Hr1rd6UQT1YMBMS1pVwH4X

🤖 Generated with Claude Code

NEWS.md no longer starts with the fledge marker, so the scheduled fledge workflow skips this repository.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd6UQT1YMBMS1pVwH4X
@krlmlr
krlmlr marked this pull request as ready for review November 28, 2026 08:05

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Accepted limitations

These were found in the clean review and accepted as they stand. The one Medium finding was a gap in the PR body, which now covers the version of the CI binaries. Untick an item to have it fixed in this PR.

  • .github/workflows/fledge.yaml:52-62: the workflow stays and its fledge job is skipped from now on. Removing it is a follow-up. Relevance low, confidence high.
  • .github/CONTRIBUTING.md:31 still asks contributors not to update NEWS.md, which only made sense with fledge. Rewording it is a follow-up. Relevance low, confidence high.
  • Running fledge::bump_version() interactively later would restore the marker. This is documented in the PR body. Relevance low, confidence high.

Generated by Claude Code

@krlmlr krlmlr mentioned this pull request Nov 29, 2026
3 of 9 tasks
@krlmlr
krlmlr merged commit 05c3314 into main Nov 29, 2026
7 checks passed
@krlmlr
krlmlr deleted the claude/drop-fledge-marker branch November 29, 2026 16: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