Skip to content

Conversation

@mtrezza
Copy link
Member

@mtrezza mtrezza commented Nov 30, 2025

Summary by CodeRabbit

  • Chores
    • Streamlined release process automation with improved monorepo configuration and simplified workflows for package releases.

✏️ Tip: You can customize this high-level summary in your review settings.

@parse-github-assistant
Copy link

🚀 Thanks for opening this pull request!

@coderabbitai
Copy link

coderabbitai bot commented Nov 30, 2025

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR refactors the monorepo release automation by introducing per-package semantic-release configuration files, adopting the semantic-release-monorepo preset in the main configuration, and simplifying the GitHub Actions workflow to use working directories instead of conditional shell script logic.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/release-automated.yml
Added working-directory specifications for dart and flutter packages; replaced multi-line conditional shell scripts with direct npx semantic-release commands, removing exit code guards.
Per-Package Release Configuration
packages/dart/.releaserc.js, packages/flutter/.releaserc.js
Created new configuration files in each package directory that re-export the shared release configuration.
Main Release Configuration
release.config.js
Added extends: 'semantic-release-monorepo' preset and removed per-package verifyConditionsCmd logic previously used for conditional package release gating.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

  • Key areas for attention:
    • Verify that semantic-release-monorepo preset behavior aligns with the removed verifyConditionsCmd logic and achieves the same per-package release gating intent
    • Confirm that per-package .releaserc.js files correctly delegate to the shared configuration without circular dependencies
    • Ensure workflow working-directory changes don't affect other steps or artifact handling in the CI pipeline

Possibly related PRs

  • ci: Fix auto-release #1073: Modifies semantic-release configuration around per-package release gating; this PR removes verifyConditionsCmd while that PR adds it, suggesting conflicting intent or sequential refinement
  • ci: Fix auto-release #1070: Also modifies .github/workflows/release-automated.yml and adjusts per-package semantic-release execution steps
  • ci: Fix auto-release #1075: Modifies the CI release flow and semantic-release exit code handling, with conflicting guard logic compared to the simplified approach here
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9a57456 and 997f32e.

📒 Files selected for processing (4)
  • .github/workflows/release-automated.yml (1 hunks)
  • packages/dart/.releaserc.js (1 hunks)
  • packages/flutter/.releaserc.js (1 hunks)
  • release.config.js (1 hunks)

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@mtrezza mtrezza merged commit 049b10f into parse-community:master Nov 30, 2025
10 of 11 checks passed
@codecov
Copy link

codecov bot commented Nov 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.46%. Comparing base (9a57456) to head (997f32e).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1076   +/-   ##
=======================================
  Coverage   43.46%   43.46%           
=======================================
  Files          61       61           
  Lines        3587     3587           
=======================================
  Hits         1559     1559           
  Misses       2028     2028           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtrezza mtrezza deleted the ci/fix-ar branch November 30, 2025 01:43
@parseplatformorg
Copy link

🎉 This change has been released in version @parse/flutter-v10.3.0

@parseplatformorg
Copy link

🎉 This change has been released in version flutter-v10.3.0

@parseplatformorg
Copy link

🎉 This change has been released in version dart-v9.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants