Skip to content

ci: add workflow to keep flutter_rust_bridge versions in sync - #773

Merged
marcnause merged 1 commit into
fossasia:mainfrom
jihanurrahman33:ci/755-flutter-rust-bridge-sync
Dec 3, 2026
Merged

marcnause merged 1 commit into
fossasia:mainfrom
jihanurrahman33:ci/755-flutter-rust-bridge-sync

Conversation

@jihanurrahman33

@jihanurrahman33 jihanurrahman33 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #755

Adds a scheduled workflow that keeps the flutter_rust_bridge versions in sync. It is adapted from fossasia/pslab-app#3750, with the checks matching this repository's CI and without the system packages that are specific to pslab-app.

Dependabot already ignores this package, so only the comments in .github/dependabot.yml changed.

Testing

Tested on a fork:

  • With all four versions matching, the run found nothing to update and the PR step was skipped.
  • From a temporary 2.12.0 state, the run updated both packages and lockfiles to 2.13.0, regenerated the bridge code, passed formatting, analysis, flutter test and cargo check, and opened an upgrade PR.

Not tested: the weekly schedule, closing a superseded upgrade PR, platform builds, and a separate lint of the workflow file.

Notes for reviewers

  • The generated bindings on main are out of date compared with rust/src/api/simple.rs. The first upgrade PR will therefore also include regenerated changes such as function order, IDs and the content hash, plus small lockfile changes.
  • The workflow uses GITHUB_TOKEN. In the fork test, normal PR CI did not run automatically. A run was created awaiting approval and later failed without running any jobs, and I have not determined why. Please say if you would prefer a different token.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G1asXnagFkLjd5fGfWPbfe

Summary by Sourcery

Automate synchronized flutter_rust_bridge upgrades and keep upgrade pull requests current.

New Features:

  • Add a weekly and manually triggered workflow that detects when flutter_rust_bridge versions are out of sync, validates updates, and opens an upgrade pull request.
  • Automatically close superseded upgrade pull requests, including when the main branch is already current.

CI:

  • Add a version-resolution script and GitHub Actions workflow for synchronized flutter_rust_bridge updates.
  • Update Dependabot comments to document that the new workflow keeps the Dart and Rust dependencies in sync.

Summary by CodeRabbit

  • Chores
    • Added scheduled and on-demand updates to keep the Flutter Rust Bridge packages aligned on a shared stable version.
    • Updates are checked before a change is proposed, and outdated automated update proposals are closed when a newer version is available.

Add a weekly and manually triggered workflow that picks the newest stable
flutter_rust_bridge release available on pub.dev and crates.io, updates
both manifests, both lockfiles and the generated bridge code together,
runs checks and opens a single pull request.

Adapted from the workflow in pslab-app: the checks mirror this repo's
common action, and the system packages that only pslab-app needs are
removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1asXnagFkLjd5fGfWPbfe
Copilot AI balanced review requested due to automatic review settings December 3, 2026 14:32
@sourcery-ai

sourcery-ai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Implementation

Resolve the newest stable version shared by pub.dev and the two crates.io packages so the workflow can update compatible dependencies together.

  • .github/scripts/resolve_flutter_rust_bridge_version.py L1-80

Configuration

Schedule and configure the upgrade workflow, and update Dependabot comments to explain that the workflow keeps the ignored package versions in sync.

  • .github/dependabot.yml L10-11, L18-19
  • .github/workflows/flutter_rust_bridge_upgrade.yml L1-272

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Adds a workflow to synchronize flutter_rust_bridge versions across Dart and Rust manifests and lockfiles. It selects the highest stable version shared by pub.dev and crates.io, updates and checks dependencies when needed, and creates or cleans up upgrade pull requests.

Changes: Version Synchronization

Layer / File(s) Summary
Resolve a shared version
.github/scripts/resolve_flutter_rust_bridge_version.py, .github/dependabot.yml
The script fetches stable versions from pub.dev and crates.io and selects the highest version shared by both registries. Dependabot comments now refer to the workflow that updates both packages together.
Update and validate dependencies
.github/workflows/flutter_rust_bridge_upgrade.yml
The workflow compares recorded versions with the latest shared version. When an update is needed, it updates manifests and lockfiles, regenerates bridge code, runs Flutter and Rust checks, and exports a patch if files changed.
Create and clean up upgrade PRs
.github/workflows/flutter_rust_bridge_upgrade.yml
The workflow rechecks the target version before creating or reusing a PR. It closes superseded bot-authored upgrade PRs and, when versions are synchronized, closes obsolete upgrade PRs.

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Other

Sequence Diagram(s)

sequenceDiagram
  participant Workflow as Upgrade workflow
  participant Resolver as Version resolver script
  participant Pub as pub.dev
  participant Crates as crates.io
  participant Checks as Flutter and Rust checks
  participant GitHub as GitHub pull requests
  Workflow->>Resolver: Resolve latest common stable version
  Resolver->>Pub: Fetch flutter_rust_bridge versions
  Resolver->>Crates: Fetch flutter_rust_bridge and codegen versions
  Pub-->>Resolver: Return version metadata
  Crates-->>Resolver: Return paginated version metadata
  Resolver-->>Workflow: Return highest shared version
  Workflow->>Checks: Update dependencies, regenerate bridge code, run checks
  Checks-->>Workflow: Return patch when files changed
  Workflow->>GitHub: Recheck target and create or reuse upgrade PR
  Workflow->>GitHub: Close superseded or obsolete upgrade PRs
Loading

Possibly related PRs

Suggested reviewers: marcnause, bhavjsh

Merge Risk: Minimal · up to 34865

This adds an automated workflow that keeps the Dart and Rust flutter_rust_bridge versions in sync and opens a single upgrade PR. It does not change app runtime behavior. No actionable merge-blocking problem was identified. The scheduled run and the PR-closing paths have not been exercised, so check the first scheduled run after merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: add workflow to keep flutter_rust_bridge versions in sync" matches the main change. The PR adds a scheduled and manually dispatchable GitHub Actions workflow that selects the newest sta…
Linked Issues check Passed Directly linked issue #755 has three coding requirements. (1) Select a version available on both registries: .github/scripts/resolve_flutter_rust_bridge_version.py prints the highest stable version …
Out of Scope Changes check Passed All changed files relate to #755. The workflow implements the scheduled sync and PR creation. The Python script implements the cross-registry version selection. The .github/dependabot.yml change onl…
Full details: Title check

Explanation

The title "ci: add workflow to keep flutter_rust_bridge versions in sync" matches the main change. The PR adds a scheduled and manually dispatchable GitHub Actions workflow that selects the newest stable flutter_rust_bridge version available on both pub.dev and crates.io, updates manifests and lockfiles, regenerates bridge code, and opens one upgrade PR. The Dependabot comment edits and the helper script support this workflow. The title is specific and concise, and it names the change type and the affected package.

Full details: Linked Issues check

Explanation

Directly linked issue #755 has three coding requirements. (1) Select a version available on both registries: .github/scripts/resolve_flutter_rust_bridge_version.py prints the highest stable version shared by pub.dev and crates.io, and the workflow calls it. (2) Update both manifests and lockfiles together, regenerate bridge code, and run checks: .github/workflows/flutter_rust_bridge_upgrade.yml rewrites pubspec.yaml and rust/Cargo.toml, runs flutter pub get and cargo update -p flutter_rust_bridge, runs flutter_rust_bridge_codegen generate, and runs format, analyze, flutter test, and cargo check --locked. (3) Open one PR and keep Dependabot from making separate updates: the workflow's create-upgrade-pr job opens a single PR, and .github/dependabot.yml ignores flutter_rust_bridge in both the pub and cargo ecosystems at head. The scheduled trigger (cron: "0 0 * * 1") is present. The PR description states that the weekly schedule and the superseded-PR closure were not exercised in the fork test. This does not defeat the requirement, because the code paths exist at head. No non-coding requirements exist in #755.

Full details: Out of Scope Changes check

Explanation

All changed files relate to #755. The workflow implements the scheduled sync and PR creation. The Python script implements the cross-registry version selection. The .github/dependabot.yml change only updates comments in the existing ignore entries, and it names the new workflow. The workflow also closes superseded and obsolete bot-owned upgrade PRs. This cleanup supports the single-PR goal in #755 and does not add unrelated behavior. No unrelated change was found in the reviewed summary or in the inspected files.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6e9a68e0-38a6-4bfb-a756-29396f6f0a3a
Commits

Reviewing files that changed from the base of the PR and between f4078da and 3486524.

Files selected for processing: 3

  • .github/dependabot.yml
  • .github/scripts/resolve_flutter_rust_bridge_version.py
  • .github/workflows/flutter_rust_bridge_upgrade.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@sourcery-ai

sourcery-ai Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Linked issues

Checked at commit 3486524

#755 Keep flutter_rust_bridge versions in sync · 5 of 5 met

# Requirement Status Notes
1 Add a scheduled workflow that selects a version available on both registries ✅ Met The workflow runs weekly, and the resolver selects the newest stable version shared by pub.dev and the required crates.io crates.
2 Update both manifests and lockfiles together, and regenerate the bridge code if needed ✅ Met The workflow updates both manifests, resolves both lockfiles, and runs bridge code generation when versions need updating.
3 Run relevant checks ✅ Met The workflow mirrors the repository's common checks and adds a Rust cargo check.
4 Open one pull request ✅ Met The workflow creates or reuses a PR for the target version and closes superseded bot-owned upgrade PRs.
5 Keep Dependabot from creating separate updates for this dependency ✅ Met Dependabot continues to ignore flutter_rust_bridge in both the pub and cargo ecosystems.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 4 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path=".github/workflows/flutter_rust_bridge_upgrade.yml" line_range="179" />
<code_context>
+      - name: Commit, open PR, and clean up older upgrade PRs
+        if: steps.verify-latest.outputs.still_latest == 'true'
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          TARGET: ${{ needs.check-and-prepare.outputs.latest_version }}
+        run: |
</code_context>
<issue_to_address>
**Upgrade PRs miss platform checks**

When the workflow creates an upgrade PR with GITHUB_TOKEN, `gh pr create` uses `GITHUB_TOKEN`, so GitHub suppresses the `pull_request` workflows in `pull_request.yml`. The platform build jobs do not run, leaving the upgrade PR without its normal platform checks.

Create the PR with a token that triggers `pull_request` workflows, or explicitly trigger the required checks.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:180`, `.github/workflows/flutter_rust_bridge_upgrade.yml:222`.
</issue_to_address>

### Comment 2
<location path=".github/workflows/flutter_rust_bridge_upgrade.yml" line_range="202" />
<code_context>
+            if git -c "http.https://github.com/.extraheader=${AUTH_HEADER}" ls-remote --exit-code --heads origin "$BRANCH_NAME" >/dev/null 2>&1; then
+              echo "Remote branch ${BRANCH_NAME} already exists; verifying upgrade contents before opening PR."
+              git -c "http.https://github.com/.extraheader=${AUTH_HEADER}" fetch --depth=1 origin "refs/heads/${BRANCH_NAME}:refs/remotes/origin/${BRANCH_NAME}"
+              if git diff --quiet HEAD "origin/${BRANCH_NAME}" -- pubspec.yaml pubspec.lock rust/Cargo.toml rust/Cargo.lock lib/src/rust/ rust/src/; then
+                echo "Remote branch ${BRANCH_NAME} verified; skipping push."
+              else
</code_context>
<issue_to_address>
**Untrusted branch becomes bot PR**

When a repository writer pre-creates the predictable upgrade branch with the expected update files plus unrelated changes, the workflow compares the remote branch only on the listed upgrade paths, so unrelated changes on a pre-created branch pass verification and are included when it opens the PR from that branch. The existing-PR lookup also accepts any same-repository PR with that branch name, making untrusted content appear to be the bot's upgrade.

Only reuse a branch or PR after verifying its provenance and that its full diff exactly matches the generated upgrade patch; otherwise abort or recreate it safely.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:184`.
</issue_to_address>

### Comment 3
<location path=".github/workflows/flutter_rust_bridge_upgrade.yml" line_range="185" />
<code_context>
+          BRANCH_NAME="flutter-rust-bridge-upgrade-${TARGET}"
+
+          PR_URL=$(gh pr list --repo "$GITHUB_REPOSITORY" --head "$BRANCH_NAME" --state open --json url,headRepositoryOwner | jq -r --arg owner "$GITHUB_REPOSITORY_OWNER" '[.[] | select((.headRepositoryOwner.login // "") == $owner)] | .[0].url // empty')
+          if [ -z "$PR_URL" ]; then
+            git config user.name "dependabot[bot]"
+            git config user.email "49699333+dependabot[bot]@users.noreply.github.com"
</code_context>
<issue_to_address>
**Existing upgrade PR stays stale**

When an upgrade PR for the target version is already open and a later run produces a different patch, `PR_URL` skips the block that applies and pushes the generated patch, and the existing-PR branch only logs that the PR exists. The branch is not refreshed, so the PR omits the new patch and its contents can be out of sync with `main`.

Update and push the newly generated patch to the existing upgrade branch.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:229`.
</issue_to_address>

### Comment 4
<location path=".github/workflows/flutter_rust_bridge_upgrade.yml" line_range="262" />
<code_context>
+        run: |
+          OLD_PRS=$(gh api --paginate "repos/${GITHUB_REPOSITORY}/pulls?state=open&per_page=100" | jq -r \
+            --arg repo "$GITHUB_REPOSITORY" \
+            --arg exclude_branch "flutter-rust-bridge-upgrade-${LATEST}" \
+            '.[] | select(
+              ((.head.ref // "") | startswith("flutter-rust-bridge-upgrade-"))
</code_context>
<issue_to_address>
**Synced upgrade PR remains open**

When main is synced to the latest version while a bot PR for that version is still open, the cleanup filter excludes the latest-version branch, so the cleanup job leaves its now-obsolete PR open alongside the synced main branch.

Allow cleanup to close the latest-version PR when main is already synced to that release.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:265`.
</issue_to_address>

Sourcery assessment

Needs a human reviewer. 4 findings to address first, and if version resolution or generated output is wrong, the workflow can push a branch and open an incorrect upgrade PR; it does not merge that change automatically. The branch and PR can remain after reverting this workflow, but they are bounded and can be closed and deleted.

Blocking findings: .github/workflows/flutter_rust_bridge_upgrade.yml:179, .github/workflows/flutter_rust_bridge_upgrade.yml:202, .github/workflows/flutter_rust_bridge_upgrade.yml:185, .github/workflows/flutter_rust_bridge_upgrade.yml:262


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

- name: Commit, open PR, and clean up older upgrade PRs
if: steps.verify-latest.outputs.still_latest == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High · Upgrade PRs miss platform checks

When the workflow creates an upgrade PR with GITHUB_TOKEN, gh pr create uses GITHUB_TOKEN, so GitHub suppresses the pull_request workflows in pull_request.yml. The platform build jobs do not run, leaving the upgrade PR without its normal platform checks.

Create the PR with a token that triggers pull_request workflows, or explicitly trigger the required checks.

Also at .github/workflows/flutter_rust_bridge_upgrade.yml:180, .github/workflows/flutter_rust_bridge_upgrade.yml:222.

Prompt for AI agents
In `.github/workflows/flutter_rust_bridge_upgrade.yml` at line 179:

**Upgrade PRs miss platform checks**

When the workflow creates an upgrade PR with GITHUB_TOKEN, `gh pr create` uses `GITHUB_TOKEN`, so GitHub suppresses the `pull_request` workflows in `pull_request.yml`. The platform build jobs do not run, leaving the upgrade PR without its normal platform checks.

Create the PR with a token that triggers `pull_request` workflows, or explicitly trigger the required checks.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:180`, `.github/workflows/flutter_rust_bridge_upgrade.yml:222`.

if git -c "http.https://github.com/.extraheader=${AUTH_HEADER}" ls-remote --exit-code --heads origin "$BRANCH_NAME" >/dev/null 2>&1; then
echo "Remote branch ${BRANCH_NAME} already exists; verifying upgrade contents before opening PR."
git -c "http.https://github.com/.extraheader=${AUTH_HEADER}" fetch --depth=1 origin "refs/heads/${BRANCH_NAME}:refs/remotes/origin/${BRANCH_NAME}"
if git diff --quiet HEAD "origin/${BRANCH_NAME}" -- pubspec.yaml pubspec.lock rust/Cargo.toml rust/Cargo.lock lib/src/rust/ rust/src/; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Untrusted branch becomes bot PR

When a repository writer pre-creates the predictable upgrade branch with the expected update files plus unrelated changes, the workflow compares the remote branch only on the listed upgrade paths, so unrelated changes on a pre-created branch pass verification and are included when it opens the PR from that branch. The existing-PR lookup also accepts any same-repository PR with that branch name, making untrusted content appear to be the bot's upgrade.

Only reuse a branch or PR after verifying its provenance and that its full diff exactly matches the generated upgrade patch; otherwise abort or recreate it safely.

Also at .github/workflows/flutter_rust_bridge_upgrade.yml:184.

Prompt for AI agents
In `.github/workflows/flutter_rust_bridge_upgrade.yml` at line 202:

**Untrusted branch becomes bot PR**

When a repository writer pre-creates the predictable upgrade branch with the expected update files plus unrelated changes, the workflow compares the remote branch only on the listed upgrade paths, so unrelated changes on a pre-created branch pass verification and are included when it opens the PR from that branch. The existing-PR lookup also accepts any same-repository PR with that branch name, making untrusted content appear to be the bot's upgrade.

Only reuse a branch or PR after verifying its provenance and that its full diff exactly matches the generated upgrade patch; otherwise abort or recreate it safely.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:184`.

BRANCH_NAME="flutter-rust-bridge-upgrade-${TARGET}"

PR_URL=$(gh pr list --repo "$GITHUB_REPOSITORY" --head "$BRANCH_NAME" --state open --json url,headRepositoryOwner | jq -r --arg owner "$GITHUB_REPOSITORY_OWNER" '[.[] | select((.headRepositoryOwner.login // "") == $owner)] | .[0].url // empty')
if [ -z "$PR_URL" ]; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Existing upgrade PR stays stale

When an upgrade PR for the target version is already open and a later run produces a different patch, PR_URL skips the block that applies and pushes the generated patch, and the existing-PR branch only logs that the PR exists. The branch is not refreshed, so the PR omits the new patch and its contents can be out of sync with main.

Update and push the newly generated patch to the existing upgrade branch.

Also at .github/workflows/flutter_rust_bridge_upgrade.yml:229.

Prompt for AI agents
In `.github/workflows/flutter_rust_bridge_upgrade.yml` at line 185:

**Existing upgrade PR stays stale**

When an upgrade PR for the target version is already open and a later run produces a different patch, `PR_URL` skips the block that applies and pushes the generated patch, and the existing-PR branch only logs that the PR exists. The branch is not refreshed, so the PR omits the new patch and its contents can be out of sync with `main`.

Update and push the newly generated patch to the existing upgrade branch.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:229`.

run: |
OLD_PRS=$(gh api --paginate "repos/${GITHUB_REPOSITORY}/pulls?state=open&per_page=100" | jq -r \
--arg repo "$GITHUB_REPOSITORY" \
--arg exclude_branch "flutter-rust-bridge-upgrade-${LATEST}" \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Synced upgrade PR remains open

When main is synced to the latest version while a bot PR for that version is still open, the cleanup filter excludes the latest-version branch, so the cleanup job leaves its now-obsolete PR open alongside the synced main branch.

Allow cleanup to close the latest-version PR when main is already synced to that release.

Also at .github/workflows/flutter_rust_bridge_upgrade.yml:265.

Prompt for AI agents
In `.github/workflows/flutter_rust_bridge_upgrade.yml` at line 262:

**Synced upgrade PR remains open**

When main is synced to the latest version while a bot PR for that version is still open, the cleanup filter excludes the latest-version branch, so the cleanup job leaves its now-obsolete PR open alongside the synced main branch.

Allow cleanup to close the latest-version PR when main is already synced to that release.

Also at `.github/workflows/flutter_rust_bridge_upgrade.yml:265`.

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Build Status: Build workflow failed. Please check the Actions logs for details.

Build artifacts to test

(Available before failure)

Note: Screenshots are not generated on failed builds. Below are the latest screenshots from the pr-screenshots branch, if they exist.

Screenshots

Android Screenshots

@marcnause
marcnause merged commit 9286f8e into fossasia:main Dec 3, 2026
11 of 13 checks passed
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.

Keep flutter_rust_bridge versions in sync

3 participants