Add wasm_dry_run_package event to track public package names from wasm dry run findings.#2279
Conversation
…m dry run findings.
Package publishing
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
There was a problem hiding this comment.
Code Review
This pull request introduces a new analytics event, flutterWasmDryRunPackage, to track detailed information from wasm dry runs, including package names and versions. The changes are consistent across the CHANGELOG.md, pubspec.yaml, and source files. A new enum and event constructor are added, along with corresponding tests. My review includes a suggestion to improve the clarity of the documentation for the new event and a note on a small redundancy in the updated test file to enhance maintainability.
| expect(constructedEvent1.eventData.length, 2); | ||
| }); | ||
| test('Event.flutterWasmDryRun constructed', () { | ||
| test('Event.flutterWasmDryRun constructed with findings', () { |
There was a problem hiding this comment.
While renaming this test is a good clarification, the test body contains redundant code. Lines 473-484 are identical to the test case Event.flutterWasmDryRun constructed no findings on line 458. To avoid duplication and improve test suite clarity, consider removing the redundant part from this test and only testing the 'with findings' scenario.
PR HealthLicense Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with
API leaks
|
| Package | Leaked API symbol | Leaking sources |
|---|---|---|
| unified_analytics | Condition | survey_handler.dart::Survey::conditionList survey_handler.dart::Survey::new::conditionList |
| unified_analytics | PersistedSurvey | survey_handler.dart::SurveyHandler::fetchPersistedSurveys |
| unified_analytics | GAClient | analytics.dart::Analytics::fake::gaClient analytics.dart::AnalyticsImpl::new::gaClient |
| unified_analytics | UserProperty | analytics.dart::FakeAnalytics::userProperty |
This check can be disabled by tagging the PR with skip-leaking-check.
Breaking changes ⚠️
| Package | Change | Current Version | New Version | Needed Version | Looking good? |
|---|---|---|---|---|---|
| unified_analytics | Breaking | 8.0.5 | 8.0.10 | 9.0.0 Got "8.0.10" expected >= "9.0.0" (breaking changes) |
This check can be disabled by tagging the PR with skip-breaking-check.
Coverage ⚠️
| File | Coverage |
|---|---|
| pkgs/unified_analytics/lib/src/constants.dart | 💔 Not covered |
| pkgs/unified_analytics/lib/src/enums.dart | 💚 100 % |
| pkgs/unified_analytics/lib/src/event.dart | 💚 98 % ⬆️ 0 % |
This check for test coverage is informational (issues shown here will not fail the PR).
This check can be disabled by tagging the PR with skip-coverage-check.
Changelog Entry ✔️
| Package | Changed Files |
|---|
Changes to files need to be accounted for in their respective changelogs.
This check can be disabled by tagging the PR with skip-changelog-check.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
No description provided.