Repository navigation
[infra] Migrate to ecosystem health publish check and setup-dart publish workflow - #3774
Conversation
PR HealthPublish ✔️
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. This check can be disabled by tagging the PR with Changelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. This check can be disabled by tagging the PR with
Breaking changes
|
| Package | Change | Current Version | New Version | Needed Version | Looking good? |
|---|---|---|---|---|---|
| hooks_runner | None | 2.0.0 | 2.0.1-wip | 2.0.1-wip | ✔️ |
| jni_flutter | Non-Breaking | 1.1.0 | 1.1.0 | 1.1.1 Got "1.1.0" expected >= "1.1.1" (non-breaking changes --> patch) |
|
| jni_util | None | 1.0.0 | 1.0.0 | 1.0.0 | ✔️ |
| data_assets | None | 0.20.0 | 0.20.1-wip | 0.20.1-wip | ✔️ |
| ffi | None | 2.2.0 | 2.2.1-wip | 2.2.1-wip | ✔️ |
| hooks | Non-Breaking | 2.2.0 | 2.2.1-wip | 2.2.1-wip | ✔️ |
| code_assets | None | 2.2.0 | 2.2.0 | 2.2.0 | ✔️ |
| jni | Non-Breaking | 1.2.1 | 1.2.2-wip | 1.2.2-wip | ✔️ |
| objective_c | Non-Breaking | 9.6.4 | 9.7.0-wip | 9.7.0-wip | ✔️ |
| native_toolchain_c | Non-Breaking | 0.19.6 | 0.20.0-wip | 0.20.0-wip | ✔️ |
| record_use | Non-Breaking | 1.1.1 | 1.1.2-wip | 1.1.2-wip | ✔️ |
| web_assets | None | 0.0.1 | 0.0.2-wip | 0.0.2-wip | ✔️ |
This check can be disabled by tagging the PR with skip-breaking-check.
API leaks ✔️
The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
| Package | Leaked API symbol | Leaking sources |
|---|
This check can be disabled by tagging the PR with skip-leaking-check.
dcharkes
left a comment
There was a problem hiding this comment.
This PR seems to do a bunch of different things. It's not clear to me whether they must be in the same PR or not?
- it rolls the ecosystem version, can be a separate PR that just rolls a dep? rubberstamp lgtm
- it changes the checks. Why? Does our team want that? Is an upstream bug fixed which caused us to disable a check? requires motivation
- fail_on and warn_on are new? What do they do? Did everything used to fail it before? Or did ecosystem made an opinionated decision before what is a warning and an error? Did any behavior change?
- flutter packages and ignore publish are new features that now enable us to use autopublishing again on this repo? (Don't we have a tracking bug of why we disabled autopublishing? Shouldn't that bug be linked.)
- changing the tag can be done in a separate PR? I don't think our team uses dotted package versions. So this might not be needed at all?
|
Also, please rebase. |
1bc4c11 to
01dd6d3
Compare
already done by dependabot, so not applicable anymore.
We migrated away from the firehose publishing workflow, to the general setup-dart one, meaning we now run our publishing checks as part of the health workflow.
No behavior change really. Just making defaults explicit and accounting for the new publish check.
done in a follow up PR #3831 .
reverted. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3774 +/- ##
=======================================
Coverage 86.19% 86.19%
=======================================
Files 324 324
Lines 21135 21135
=======================================
Hits 18218 18218
Misses 2917 2917
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Note
This PR was generated by an AI coding agent (Jetski) on behalf of @mosuem.
Migrates publishing validation and tag-triggered publishing to the split workflow architecture from
dart-lang/ecosystem#454(replacing the deprecateddart-lang/ecosystem/.github/workflows/publish.yaml):.github/workflows/health.yaml: Addpublishtochecksandfail_on(preserving the previouspublish.yamlbehavior where publish validation failed PRs rather than only warning), carry overignore_publishfrom the previouspublish.yaml, and includepkgs/jni_flutterinflutter_packages..github/workflows/post_summaries.yaml: RemovePublishfromworkflow_run.workflowssince PR publish summaries now come fromHealth..github/workflows/publish.yaml: Remove thepull_requesttrigger and delegate tag-triggered publishing (keeping the existingtags:patterns unchanged) todart-lang/setup-dart/.github/workflows/publish.yml@40657d0d0732d6fd3809f5841380e7519e355b50withworking-directory: pkgs/{package}anduse-flutter: ${{ startsWith(github.ref_name, 'jni_flutter-') }}(viadart-lang/setup-dart#207).