Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose wasm readiness analysis in the report (without any score) #1396

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Aug 15, 2024

@isoos isoos requested review from jonasfj and sigurdm August 15, 2024 10:15

Future<Subsection> _createWasmSubsection(PackageContext context) async {
final tr = await context.staticAnalysis;
final description = 'WASM readiness';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps:

Suggested change
final description = 'WASM readiness';
final description = 'WASM compatibility';

lib/src/report/multi_platform.dart Outdated Show resolved Hide resolved
lib/src/report/multi_platform.dart Outdated Show resolved Hide resolved
@@ -78,6 +78,10 @@ Could not determine supported platforms as package resolution failed.
Run `dart pub get` for more information.
</details>

### [x] 0/0 points: WASM readiness

Unable to detect compatibility with runtime `wasm`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a reason here. Is it because the resolution failed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either the resolution failed or there are error-level issues in the code, which prevent static analysis. As these are exposed at the other parts of the report, I don't think we need to repeat them here.

@kevmoo
Copy link
Member

kevmoo commented Aug 19, 2024

Love this! thanks!

@isoos isoos merged commit 9d1bb7b into dart-lang:master Aug 20, 2024
5 checks passed
@isoos isoos deleted the wasm-report branch August 20, 2024 09:26
@isoos
Copy link
Collaborator Author

isoos commented Aug 20, 2024

Could somebody push a new release with this? @sigurdm @jonasfj

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.

4 participants