Repository navigation
ci: Add test coverage - #36
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Reviews pausedUse the following commands to manage reviews:
📝 WalkthroughWalkthroughThe CI workflow for Dart projects has been restructured in the workflow file. Multiple jobs, including formatting and analysis steps, have been consolidated into a single Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant CI as CI Workflow
participant Build as Build Job
participant Tests as Unit Tests
Dev->>CI: Push code commit
CI->>Build: Trigger build job (build, formatting, analysis, dependency upgrade)
Build-->>CI: Return build and analysis results
CI->>Tests: Trigger unit tests (depends on build)
Tests-->>CI: Return test results and coverage
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@coderabbitai pause |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (4)
.github/workflows/dart-tests.yaml (4)
24-27: Review Checkout Action Version (Build Job)
TheCheckout Codestep usesactions/checkout@v3. Static analysis suggests that this version may be outdated. Consider updating to a more recent version (for example,actions/checkout@v4if available) to benefit from the latest improvements and bug fixes.🧰 Tools
🪛 actionlint (1.7.4)
25-25: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
31-38: Review Cache Action Version (Build Job)
The cache step employsactions/cache@v3, which the static analysis indicates might be outdated. An update to the latest version (e.g.actions/cache@v4if offered) could improve performance and compatibility. The cache key configuration appears sound.🧰 Tools
🪛 actionlint (1.7.4)
32-32: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
75-81: Review Checkout Action Version (Unit Tests Job)
The checkout step in theunit_testsjob again usesactions/checkout@v3. As noted earlier, consider updating this action to a newer version to leverage recent improvements and to mitigate potential issues identified by static analysis.🧰 Tools
🪛 actionlint (1.7.4)
76-76: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
82-89: Review Cache Action Version (Unit Tests Job)
The caching mechanism for dependencies in theunit_testsjob usesactions/cache@v3. Similar to the build job, updating to a newer version (e.g.actions/cache@v4if available) is recommended to ensure optimal performance and compatibility.🧰 Tools
🪛 actionlint (1.7.4)
83-83: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/dart-tests.yaml(1 hunks)
🧰 Additional context used
🪛 actionlint (1.7.4)
.github/workflows/dart-tests.yaml
25-25: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
32-32: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
76-76: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
83-83: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🔇 Additional comments (9)
.github/workflows/dart-tests.yaml (9)
3-10: CI Trigger Configuration Updated
The configuration now explicitly restricts triggers to the main branch, adds a scheduled run every Sunday at 00:00 UTC, and includes a manual trigger. This consolidated trigger setup is clear and should help manage when the CI runs.
16-23: Consolidated Build Job with Matrix Strategy
The newbuildjob combines tasks for formatting, dependency upgrades/downgrades, analysis, PANA score checking, a dry publish run, and coverage generation. The matrix has been simplified to use onlyubuntu-latestand supports two Dart SDK configurations. Verify that the mixed usage of"3.3.0"andstablein thedart_sdkmatrix works as intended in your environment.
42-46: Dependency Upgrade and Analysis Step
This step upgrades dependencies and then runs static analysis with--fatal-infos. Combining the two commands with&&ensures the analysis is performed only if the upgrade succeeds. This approach is concise and effective for catching issues immediately.
47-51: Dependency Downgrade and Analysis Step
The downgrade step verifies that the project remains analyzable when dependencies are rolled back. The use of&&ensures proper sequential execution. This is a useful addition for validating compatibility with previous dependency versions.
52-57: PANA Score Check Step
The step activates and runs PANA with specific flags. Please ensure that the environment hasjqinstalled (or is otherwise configured) since its output is used to pass the Flutter SDK path. Also, verify thatflutter --no-version-check --version --machineexecutes reliably in your CI environment.
58-60: Publish Dry Run Step
The dry run for publishing (dart pub publish --dry-run) is a safe addition to ensure that any potential issues with the package publishing process are identified before an actual publish.
61-65: Test Coverage Generation Step
Activating the coverage package and running test coverage with branch and function metrics is a valuable addition to monitor code quality over time. The command chaining is clear and effective.
66-74: Unit Tests Job Dependency and Matrix Update
Theunit_testsjob now depends on thebuildjob, ensuring tests run only after a successful build. The matrix includes multiple OS options and a single Dart SDK version. This dependency structure should improve overall CI reliability by preventing tests from running when the build fails.
90-92: Optimized Offline Dependency Installation
Usingdart pub get --offlinein the unit tests job is a good optimization that speeds up dependency installation when relying on cached packages. Just ensure that the cache is reliably populated to prevent potential failures.
✅ Actions performedReviews paused. |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
5799754 to
bad743a
Compare
845929c to
c390d2c
Compare
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
|
@coderabbitai full |
|
@nielsenko I'll perform a full review of all the changes in your PR that adds coverage, PANA check, and publish dry run while optimizing runner usage. ✅ Actions performedFull review triggered. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (4)
.github/workflows/dart-tests.yaml (4)
16-23: Consolidated Build Job Configuration
The newbuildjob is well structured. The matrix is limited toubuntu-latestand Dart SDK versions[ "3.3.0", stable ]. Verify that unquoted values such asstableare interpreted as strings consistently across YAML parsers.
31-37: Cache Action Version Update
The workflow usesactions/cache@v3for caching Dart dependencies. Static analysis hints recommend updating this action version since the runner for v3 is outdated. If a newer stable version (such as v4) is available, consider updating the version. For example:- uses: actions/cache@v3 + uses: actions/cache@v4🧰 Tools
🪛 actionlint (1.7.4)
32-32: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
38-41: Conditional Formatting Check
The "Verify Formatting" step runs only if${{ matrix.dart_sdk != 'stable' }}. Please clarify the rationale behind excluding thestableSDK from formatting checks. If there’s a specific reason (e.g., differences in formatting behavior), consider adding a comment for future maintainers.
80-86: Cache Action Version in Unit Tests
Similar to the build job, the unit tests job usesactions/cache@v3. Consider updating this to a newer version for consistency and to resolve the previously mentioned runner issues.- uses: actions/cache@v3 + uses: actions/cache@v4🧰 Tools
🪛 actionlint (1.7.4)
81-81: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/dart-tests.yaml(1 hunks)pubspec.yaml(1 hunks)
🧰 Additional context used
🪛 actionlint (1.7.4)
.github/workflows/dart-tests.yaml
32-32: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
81-81: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🔇 Additional comments (12)
pubspec.yaml (4)
7-8: Consistent Environment SDK Declaration
The SDK version has been updated and now uses double quotes. This improves consistency and readability.
13-13: Dependency Version Update forpath
The version for thepathdependency has been updated to ^1.8.3. Please ensure that this version is compatible with the rest of the codebase.
21-22: Update Dev Dependency Versions
Thehttpandtestdev dependencies have been updated (and reformatted with double quotes). This keeps dependency versions aligned with the CI requirements.
25-31: New Transitively Included Dependencies
New dependencies (file,frontend_server_client,pub_semver, andwatcher) have been added with explanatory comments regarding semver hygiene. Ensure that these bounds address any known issues, and consider documenting their purpose in your project’s README if appropriate..github/workflows/dart-tests.yaml (8)
1-2: Workflow Naming and Trigger Configuration
The workflow is now named "Relic Ci", and the trigger conditions (push, pull_request, schedule, and manual dispatch) are clearly defined. Nice consolidation!
42-48: Dependency Bounds Check Logic
The "Check Dependency Bounds" step is conditional on the Dart SDK not being3.3.0(with a comment about--tightenavailability from 3.5). Ensure that this condition is correct and well-documented, as it directly affects dependency resolution.
49-59: Analysis and Pana Score Steps
The steps for analyzing the project (dart pub getanddart analyze --fatal-infos) and checking the Pana score look good. The Pana score is only checked when using thestableSDK. This differentiation is sensible if Pana’s behavior varies across SDK versions.
60-62: Publish Dry Run Implementation
The "Publish Dry Run" step runningdart pub publish --dry-runis a great addition for pre-deployment validation.
63-72: Unit Tests Job Matrix Configuration
Theunit_testsjob now depends on thebuildjob and includes an expanded matrix covering multiple OSes and Dart SDK versions (3.3.0,stable, andbeta) as well as dependency commands (downgradeandupgrade). This provides broader test coverage and is a good design decision.
87-91: Installation of Dependencies
The step “Install Dependencies (${{ matrix.deps }})” correctly executesdart pubwith the respective dependency command followed bydart pub get. This ensures that both downgrade and upgrade commands are tested.
92-97: Running Tests with Coverage
The step “Run Tests With Coverage” conditionally continues on error for non-stable SDKs. This is an interesting approach to allow failures in experimental environments while ensuring stability in production. Confirm that this behavior is intentional.
98-102: Coverage Upload via Codecov
Usingcodecov/codecov-action@v5to upload the coverage results is properly set up. As long as the secretCODECOV_TOKENis maintained securely, this step should work as expected.
Add test coverage reporting to track code execution during tests and identify untested areas. Implement additional quality checks: - Publish dry-run to verify package meets publishing requirements - Pana score analysis to evaluate package quality and documentation - Dependency bounds checking to ensure proper version constraints
|
@coderabbitai configuration |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai full |
|
Tip For best results, initiate chat on the files or code changes. @nielsenko I notice that you've already requested a full review in a previous comment, and I've already triggered that process. Would you like me to initiate another full review of your PR that adds test coverage? If so, please confirm and I'll start the process again. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/dart-tests.yaml (2)
38-42: Conditional Formatting Check
The "Verify Formatting" step conditionally skips formatting for the stable channel, addressing the noted differences in Dart stable (3.7.2). Consider correcting the typo "formating" to "formatting" in the comment for clarity.
70-73: Unit Tests Job Matrix Configuration
The unit tests matrix expands testing coverage across multiple OS environments and Dart SDK versions ("3.3.0", stable, and beta) with dependency scenarios (downgradeandupgrade). For clarity and consistency, consider quotingstableandbeta.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/dart-tests.yaml(1 hunks)pubspec.yaml(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- pubspec.yaml
🔇 Additional comments (14)
.github/workflows/dart-tests.yaml (14)
1-1: Project Name Setup
The workflow name "Relic Ci" is clear. Ensure that it aligns with any naming conventions you may have within the repository.
3-11: Workflow Trigger Configuration
The triggers are well defined: push and pull_request on the main branch, scheduled execution (every Sunday at 00:00 UTC), and manual dispatch. This setup provides good flexibility in triggering the CI.
16-23: Build Job Matrix Definition
The build job matrix is configured withos: [ubuntu-latest]anddart_sdk: ["3.3.0", stable]. Please verify that the unquotedstablevalue is correctly interpreted as a string in this context.
24-25: Code Checkout Update
Usingactions/checkout@v4is a current best practice and should help ensure reliable code retrieval.
31-37: Caching Dart Dependencies
The caching step usesactions/cache@v4with clearly definedkeyandrestore-keys. This should efficiently speed up subsequent builds by reusing previously cached dependencies.
44-50: Dependency Bounds Check
The step to check dependency bounds usesdart pub downgrade --tightenanddart pub upgrade --major-versions, but only runs when the Dart SDK isn’t "3.3.0" (as tightening is available from 3.5). Ensure that this condition aligns with your dependency management strategy.
51-55: Analysis Step
The combined execution ofdart pub getanddart analyze --fatal-infosis straightforward and effective for catching issues early.
56-61: Pana Score Check
Running the PANA score check only on the stable channel is a smart decision to keep the analysis focused where it matters most.
62-63: Publish Dry Run Verification
Executing a publish dry run is a prudent step before actual publishing, ensuring that the package meets the necessary criteria without risk.
65-67: Unit Tests Job Dependency
Theunit_testsjob correctly depends on the successful completion of thebuildjob (vianeeds: build), ensuring a proper sequence in the CI pipeline.
82-88: Unit Tests Caching Step
Caching of Dart dependencies is implemented similarly as in the build job, which helps reduce redundant downloads and speeds up the test execution.
89-93: Installing Dependencies Based on Matrix
The command usingdart pub ${{ matrix.deps }} && dart pub getefficiently tests different dependency handling scenarios. This approach provides versatile testing of dependency resolution.
94-99: Test Coverage Execution
The "Run Tests With Coverage" step activates the coverage package and runs tests with branch coverage. Thecontinue-on-errorflag for non-stable Dart SDK versions is a pragmatic choice to prevent failures in experimental setups. Verify that this aligns with your overall test reliability goals.
100-104: Codecov Upload Integration
Uploading the coverage report with the Codecov action is correctly configured. Utilizing a secret token is a best practice for secure integrations.
|
@coderabbitai resolve |
✅ Actions performedComments resolved. |
| # Due to bad semver hygiene we need to bound the versions higher than | ||
| # our direct dependencies indicate. | ||
| file: ^7.0.0 | ||
| frontend_server_client: ^4.0.0 | ||
| pub_semver: ^2.1.4 | ||
| watcher: ^1.1.0 |
There was a problem hiding this comment.
As we are now actually testing on the lower-bounds as well, we need to accommodate for other packages bad semver hygiene.
To be honest it is very easy mistake to make in Dart, as just adding a new methods on a class is a breaking change (since someone might implement the class).
There was a problem hiding this comment.
Notice that these are only dev-dependencies needed to make the test pass, but that they may impact the minimal lower bound.
Happened for path actually, which was bumped to ^1.8.3 as a result.
| os: [windows-latest, ubuntu-latest, macos-latest] | ||
| dart_sdk: ['3.3.0'] | ||
| dart_sdk: ["3.3.0", stable, beta] | ||
| deps: [downgrade, upgrade] |
There was a problem hiding this comment.
We now also test with downgraded dependencies.
Obviously there are many valid combinations in between, but testing the lower bound often reveals issues.
There was a problem hiding this comment.
Question: Theoretically, If dart releases a bad version into beta this will prevent us from merging PRs. Do we see this as highly unlikely or should we exclude the beta from a required pass?
There was a problem hiding this comment.
Perhaps we should have the same thinking with Stable. If Dart releases a new version we are not compatible with that should not block our PR flow. It could be a job we run in main.
There was a problem hiding this comment.
Okay. Only lowest sdk (ie. 3.3.0) will break the build.
| - name: Check Dependency Bounds | ||
| if: ${{ matrix.dart_sdk != '3.3.0' }} # --tighten available from 3.5 | ||
| run: >- | ||
| dart pub downgrade --tighten && | ||
| dart pub upgrade --major-versions && | ||
| git diff-files --quiet |
There was a problem hiding this comment.
This helps us catch if dependencies are released in new major versions, and to see if our lower constraints are artificially low.
|
|
||
| unit_tests: | ||
| name: Run Unit Tests | ||
| needs: build |
There was a problem hiding this comment.
Since I spawning an awful lot of runners in this job, I make sure only to do it if the fast and simply build job completes. For the sake of the planet and all..
There was a problem hiding this comment.
Hmm, Don't we want as much information as possible in one run in the CI pipe? Seems like these could be broken for different reasons (for example som fatal info), but the feedback is still valuable?
There was a problem hiding this comment.
The first job is fast.
Also, to be honest my plan is to make sure caches are primed even more in this job, so that the latter job can benefit. Doing that mandates the needs to ensure the caches are actually primed.
There was a problem hiding this comment.
The first job is fast.
True, but pushing a new commit only to discover that there is a failure in the unit tests that was not caught is slow.
I think we should optimize developer time here.
There was a problem hiding this comment.
I'll drop needs:
| collection: ^1.17.1 | ||
| http_parser: ^4.0.2 | ||
| path: ^1.8.2 | ||
| path: ^1.8.3 |
There was a problem hiding this comment.
Bumped due to Check Dependency Bounds
SandPod
left a comment
There was a problem hiding this comment.
Neat cleanup! 👍
I have a couple of questions!
| - name: Check Dependency Bounds | ||
| if: ${{ matrix.dart_sdk != '3.3.0' }} # --tighten available from 3.5 | ||
| run: >- | ||
| dart pub downgrade --tighten && | ||
| dart pub upgrade --major-versions && | ||
| git diff-files --quiet |
There was a problem hiding this comment.
Question: Don't we need to run an analyze after both the downgrade and the upgrade to catch if there are any issues with the dependencies?
There was a problem hiding this comment.
I decided not to, but I can definitely add it back.
Analysis is only looking at our code, not the dependencies, and as such it should not be impacted by upgrade/downgrade as far as I can tell.
As long as we can resolve the constraints in both cases.
However, running the actual tests will often reveal that the constraints are not correct.
There was a problem hiding this comment.
I think a breaking change in the API of a dependency will not be visible when running the constraints checks. We might still be able to resolve the dependency, but we are using it in an invalid way.
And since unit tests run in isolation, we would only detect it if we have 100% code coverage for all paths in our code which is an assumption I don't think we should have.
So the analyzer would be needed to catch these.
There was a problem hiding this comment.
I'll add it back, but I'm not sure why you think the analyzer will catch this situation?
There was a problem hiding this comment.
The analyzer reports invalid dart code right?
There was a problem hiding this comment.
Implicit yes, but so does the compiler running before the test. The analyzer is for stuff that compiles, but is still problematic.
|
|
||
| unit_tests: | ||
| name: Run Unit Tests | ||
| needs: build |
There was a problem hiding this comment.
Hmm, Don't we want as much information as possible in one run in the CI pipe? Seems like these could be broken for different reasons (for example som fatal info), but the feedback is still valuable?
| os: [windows-latest, ubuntu-latest, macos-latest] | ||
| dart_sdk: ['3.3.0'] | ||
| dart_sdk: ["3.3.0", stable, beta] | ||
| deps: [downgrade, upgrade] |
There was a problem hiding this comment.
Question: Theoretically, If dart releases a bad version into beta this will prevent us from merging PRs. Do we see this as highly unlikely or should we exclude the beta from a required pass?
| - name: Upload Coverage | ||
| uses: codecov/codecov-action@v5 | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| files: coverage/lcov.info |
There was a problem hiding this comment.
Question: Does codecov publish the report as part of the PR in some way?
There was a problem hiding this comment.
Yes, it will be available from the PR, once we have a baseline.
You can also drill into the step and find an url already
There was a problem hiding this comment.
BTW. Not sure why I cannot reply to the question just above:
Question: Theoretically, If dart releases a bad version into beta this will prevent us from merging PRs. Do we see this as highly unlikely or should we exclude the beta from a required pass?
We don't block on a failure on beta, only on stable.
continue-on-error: ${{ matrix.dart_sdk != 'stable' }}| jobs: | ||
| dart_format: | ||
| name: Verify Dart Formatting | ||
| build: |
There was a problem hiding this comment.
Discussion: I'm not sure I think it is a good idea to combine all of these different validations into the same job. You are then required to go into the logs to understand what failed specifically. Especially formatting is very nice to run in isolation as that is as simple as just running the formatter locally, I will basically never have to view the specific error.
On top of that for the analyzer, the reason we run all the OSes is that we previously have had bugs that only propagated on windows, where we fucked up the imports path in the generated code. Since none of us at the office is running Windows, the only way we will discover problems is from users after a release. Hence I think it is important that we run the analyzer for at least one of the scenarios on all OSes.
There was a problem hiding this comment.
Disregard the comment on generated code, I thought this was the serverpod repo, not relic.
There was a problem hiding this comment.
A job will require a runner, which you will have to wait for, and it has a certain startup time.
I prefer to keep things as steps unless there is a clear benefit to running stuff in parallel.
I would like to know more about how the analyzer would come to different conclusions on windows. The reason to run only on linux is that I didn't deem that possible.
There was a problem hiding this comment.
I really think we should optimize developer roundtrip time here. Pushing a change only to resolve one step and having to wait for the CI pipe again is a pretty slow developer experience. we want to give as much information in one go as possible.
There was a problem hiding this comment.
I'll drop the needs:. Still interested in the windows vs linux analyzer result (for my education)
There was a problem hiding this comment.
Windows - that was an issue in combination with the code generator. We accidentally generated platform specific import paths which was not good... 🙃
| matrix: | ||
| os: [windows-latest, ubuntu-latest, macos-latest] | ||
| dart_sdk: ['3.3.0'] | ||
| dart_sdk: ["3.3.0", stable, beta] |
There was a problem hiding this comment.
Comment: I think it makes sense to test against beta every now and then, but I'm not sure we should do that in general PRs as the Dart team could have introduced breaking changes which will then block unrelated changes from being merged.
I do think it makes sense to run against beta on a scheduled runner so we get notified if the upcoming release is incompatible, but that should probably also be combined with a slack notification if the job fails!
There was a problem hiding this comment.
Notice the continue-on-error: ${{ matrix.dart_sdk != 'stable' }}. I think it is nice to get a heads-up on upcoming issues like this
There was a problem hiding this comment.
What happens if we fail with a continue-on-error? How are you notified that it failed? Or is the job marked as successfull anyways and you need to read the logs to understand if it failed?
There was a problem hiding this comment.
The job still fails (red cross), it just doesn't break the pipeline. It will be very visible when you are about to merge.
| dart pub global activate coverage && | ||
| dart pub global run coverage:test_with_coverage --branch-coverage |
There was a problem hiding this comment.
Question: Couldn't this be run with the integration testst too?
There was a problem hiding this comment.
For the integration tests you run the test-suite as above, but also make sure the server is started in a similar way, so you can catch coverage from both client and server.
I cannot recall how to do it of the top of my head, but as I recall coverage:test_with_coverage can be split into multiple steps, and for the server-side you would need some of those.
4c5c0ec to
acf19ed
Compare
SandPod
left a comment
There was a problem hiding this comment.
LGTM! 👍
I still think it might be better to have more pipes running in parallel to mininize number of roundtrips through the CI. But we could break that out if it becomes an issue.
| jobs: | ||
| dart_format: | ||
| name: Verify Dart Formatting | ||
| build: |
There was a problem hiding this comment.
Windows - that was an issue in combination with the code generator. We accidentally generated platform specific import paths which was not good... 🙃
| - name: Check Dependency Bounds | ||
| if: ${{ matrix.dart_sdk != '3.3.0' }} # --tighten available from 3.5 | ||
| run: >- | ||
| dart pub downgrade --tighten && | ||
| dart pub upgrade --major-versions && | ||
| git diff-files --quiet |
There was a problem hiding this comment.
The analyzer reports invalid dart code right?
Add test coverage reporting to track code execution during tests and identify
untested areas. Implement additional quality checks:
Summary by CodeRabbit
New Features
Chores