Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 22 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Claude finished @krassx's task in 31s —— View job Review of PR #50: Release prep 10.0.0-beta.1I found no real bugs in this PR, so there are no inline comments. The change is a mechanical version bump. I read the whole diff and grepped the repo for leftover What I checked
Low-severity notes (not blocking)
Summary
|
708ec27 to
adc0f26
Compare
release.yml publishes bugsee_flutter then bugsee_flutter_feedback from one v<version> tag with pub.dev automated publishing (OIDC, no secret), behind a gate and the pub.dev environment. A manual run is a dry run (pub.dev only accepts tag-triggered publishing). The 'nothing publishes' guard becomes 'only release.yml publishes, only under the environment, only after the gate', with mutation tests; two scripts (tag == versions, pub.dev status) are tested. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WeiJxNbNUdWru1zs68bYV8 Change-Id: Idf20afa5b64432b5b36eda9b72e426040c6b8632
…p for rehearsals Review findings: a failing pub.dev status call inside echo was lost (state left empty); the publish jobs' environment would see a branch on a manual run; one concurrency group let a rehearsal displace a pending release. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WeiJxNbNUdWru1zs68bYV8 Change-Id: I7eb36efbfb3b06db96318cb9b583162be99f0bc4
…arden the publish guard Review findings: subosito/flutter-action does not exchange the runner's OIDC token for PUB_TOKEN (dart-lang/setup-dart does), so the upload had no credential. The guard now classifies each command of a line, rejects a publishing job that can run after a failed gate (always(), continue-on-error) or on a manual run (event OR), and requires the setup-dart step first. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WeiJxNbNUdWru1zs68bYV8 Change-Id: I608a248b7d85a471c10733ed066ec11c115f7eeb
The same version in both pubspecs, the feedback package's bugsee_flutter lower bound, wrapper_identity.dart, BGSFlutterWrapper.m and feedback_version.dart; the CHANGELOG entries and the docs that name it. PLAN.md records the decision to publish a beta first. Nothing publishes or tags. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WeiJxNbNUdWru1zs68bYV8 Change-Id: I3fc3a58a2c1736cc11538e82acbd24fe0b8c09f1
adc0f26 to
7c8e1c1
Compare
|
Claude finished @krassx's task in 1m 20s —— View job Review of PR #50 (re-review after the release-workflow commits)The earlier review covered only the version bump. This PR now also adds the pub.dev release pipeline: Findings (2 inline comments, both P3)
What I checked and found sound
Summary
|
| Publishing is done by `.github/workflows/release.yml` when a maintainer pushes the tag (step 7); nothing else here publishes, and an agent | ||
| never tags or publishes. The one-time setup (step 0) is by hand on pub.dev and GitHub. | ||
|
|
||
| 0. **One-time setup, before the first tag** (pub.dev and GitHub admin; the workflow cannot do it, see `.github/CI.md`, "Releases"): |
There was a problem hiding this comment.
Severity: P3 Low (docs / runbook)
Location: PLAN.md:109-111 (step 0), against .github/CI.md "First version of the feedback package"
Problem: Step 0 is headed "before the first tag". Its first bullet says to publish the feedback package by hand "after the core is live". The core is only published by the tag-triggered workflow, so before the first tag it is not live. CI.md describes the opposite order: the first tag publishes the core, publish-feedback skips with a warning, and the feedback package is published by hand afterwards.
Impact: A maintainer following step 0 literally either publishes the feedback package against a core version that does not exist on pub.dev yet, or gets stuck. The pub.dev admin setup for the feedback package can only happen after that first manual publish.
Scenario: The maintainer does step 0 before tagging v10.0.0-beta.1. bugsee_flutter 10.0.0-beta.1 is not on pub.dev. Either they publish the feedback package anyway (pub.dev cannot resolve its >=10.0.0-beta.1 core bound), or they stop.
Fix: Split step 0. Put the environment, tag ruleset and core automated-publishing setup before the tag. Put "publish the first feedback version by hand, then enable automated publishing for it" after the first tag run. Alternatively, say explicitly that the first release is core-by-workflow and feedback-by-hand. Also state whether the first-time feedback publish must reuse the same 10.0.0-beta.1.
| echo "state=$state" >> "$GITHUB_OUTPUT" | ||
| # pub.dev: automated publishing exists only for a package that already exists, so the very | ||
| # first version of the sibling is published by hand once (PLAN.md, release checklist). | ||
| - name: The package does not exist on pub.dev yet |
There was a problem hiding this comment.
Severity: P3 Low
Location: .github/workflows/release.yml:205-210
Problem: When the feedback package is not on pub.dev, publish-feedback ends green with only a warning annotation and a step-summary line. The run then reads as a complete release although only one of the two lock-step packages was published.
Impact: The feedback package silently lags the core, and nothing fails or alerts. This is the expected state for the first release, but it is also what happens if pub.dev returns 404 for the package for any other reason. pub_dev_status.sh reads 404 on both endpoints as missing-package.
Fix (optional): Fail the job on missing-package, since the core is already out and a re-run is safe (it skips a live core). Or gate that skip behind an explicit vars.FEEDBACK_FIRST_RELEASE_PENDING. At minimum, keep the PLAN.md step 9 check that both packages show up on pub.dev.
Moves both packages from
10.0.0-dev.1to10.0.0-beta.1(decision: a beta first, stable10.0.0after the soak). Nothing publishes or tags.pubspec.yaml(core and feedback), the feedback package'sbugsee_flutterlower bound,lib/src/wrapper_identity.dart,BGSFlutterWrapper.m,feedback_version.dart(compared by the drift guards).CHANGELOG.mdnewest entries are10.0.0-beta.1; READMEs, the migration guide, PLAN.md and CLAUDE.md name it. Measured evidence indoc/verification.mdand the harness test samples keep10.0.0-dev.1: that is the version they were measured at.flutter analyze,flutter test(1404 tests), format;pub publish --dry-runshows only the dirty-tree warning of the uncommitted tree.nextgenbranch references (Dependabottarget-branch,native-pins.ymlref, CI.md, README git ref) now thatmainholds the rewrite.Publishing (core first, then feedback, then tag
v10.0.0-beta.1) stays a manual maintainer step: PLAN.md, "Release checklist".🤖 Generated with Claude Code
https://claude.ai/code/session_01WeiJxNbNUdWru1zs68bYV8