Skip to content

Describe how the CI checks the BC promise - #596

Open
Art4 wants to merge 1 commit into
v3.xfrom
594-bc-promise-checks
Open

Art4 wants to merge 1 commit into
v3.xfrom
594-bc-promise-checks

Conversation

@Art4

@Art4 Art4 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Rewrites How the promise is checked in docs/bc-promise.md. No changelog entry.

 CI checks
   tests, PHPStan, code style
-  Rector: only locally (composer test)
+  Rector (with art4/rector-bc-library)
-  no comparison of the public API with the last release
+  job "BC check": Roave compares the public API with the last release tag
 composer test (local)
   PHPStan, tests, Rector, code style
+  not Roave

Closes #594

Evidence

Each statement against its source on v3.x:

  • triggers: on: in .github/workflows/tests.yml
  • Rector in CI: matrix entry rector of the job code-quality
  • BC library: Art4\RectorBcLibrary\Set::BC_TYPE_DECLARATION in .rector.php
  • Roave: job roave-bc-check
  • composer test: scripts.test in composer.json

Docs only, no local QA run.

Merge Danger

Door: two-way

Blast Radius: documentation only.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

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: 024eedd6-3442-4646-91b8-b4e6be0ffa43
Commits

Reviewing files that changed from the base of the PR and between 749292d and d48880d.

Files selected for processing: 1

  • docs/bc-promise.md
  • 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

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (749292d) to head (d48880d).

Additional details and impacted files
@@             Coverage Diff             @@
##                v3.x      #596   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       456       456           
===========================================
  Files             31        31           
  Lines           1505      1505           
===========================================
  Hits            1505      1505           

☔ View full report in Codecov by Harness.
📢 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.

@Art4
Art4 marked this pull request as ready for review November 26, 2026 20:59
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.

Update how the BC promise is checked in docs/bc-promise.md

1 participant