Skip to content

[camera_web] Migrate to package:web #7012

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

Merged
merged 36 commits into from
Aug 6, 2024

Conversation

Rexios80
Copy link
Member

@Rexios80 Rexios80 commented Jun 28, 2024

Fixes flutter/flutter#139748

Notes:

  • Some fields are no longer nullable in package:web. We need to decide if we want to make them nullable again.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@Rexios80
Copy link
Member Author

I figured out how to run the tests compiled to WASM. Working on resolving the issues.

@Rexios80
Copy link
Member Author

Alright I think all the tests pass when compiled to WASM now

@Rexios80
Copy link
Member Author

The example app is having this issue: flutter/flutter#146539

@ditman
Copy link
Member

ditman commented Jun 29, 2024

I figured out how to run the tests compiled to WASM. Working on resolving the issues.

@Rexios80 Please describe? :)

@Rexios80
Copy link
Member Author

Rexios80 commented Jun 29, 2024

@ditman it's just flutter drive -d chrome --wasm

Probably requires master channel

@Rexios80
Copy link
Member Author

This is just a reminder to myself to merge with main and update https://github.com/flutter/packages/blob/main/script/configs/exclude_all_packages_app_wasm.yaml to remove this plugin from the exclusions

(away from dev computer right now)

@ditman
Copy link
Member

ditman commented Jul 11, 2024

Will work on this next, will try to get the update with main done and review locally. Thanks @Rexios80!

@ditman ditman force-pushed the feature/camera-web-migration-2 branch from ab44aff to 04610ce Compare July 12, 2024 02:10
@ditman
Copy link
Member

ditman commented Jul 12, 2024

Force-pushed the rebase, but I think I broke:

integration_test/zoom_level_capability_test.dart is being served at http://localhost:7357

It seems to be timing out :/

@Rexios80
Copy link
Member Author

I'm not sure what the Flutter team's policy is for rebase vs merge commits but I much prefer merge commits for the future if that's okay with you. It appears that the rebase invalidated my commit signing and we also lost easy access to the old CI runs.

@Rexios80
Copy link
Member Author

@ditman It runs fine for me individually

Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

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

LGTM! I think this is good to go. Some pending changes have an associated issue so we don't forget to tackle them later.

@kevmoo
Copy link
Contributor

kevmoo commented Aug 5, 2024

autosubmit?

Copy link
Contributor

@kevmoo kevmoo left a comment

Choose a reason for hiding this comment

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

@ditman changes LGTM!

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 5, 2024

This comment was marked as outdated.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024
@ditman
Copy link
Member

ditman commented Aug 6, 2024

The failed test was a flake, I'll keep an eye on this to ensure it lands by EOD today.

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024

This comment was marked as outdated.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024
@Rexios80
Copy link
Member Author

Rexios80 commented Aug 6, 2024

@ditman is there an issue to track the Mac_arm64 flakes?

@Rexios80 Rexios80 added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024
@ditman
Copy link
Member

ditman commented Aug 6, 2024

@ditman is there an issue to track the Mac_arm64 flakes?

@Rexios80 can't remember off the top of my head, but mitigating them is definitely very high in the list of priorities of the team (there was a discord thread not too long ago).

This comment was marked as outdated.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024
@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024

This comment was marked as outdated.

@Rexios80 Rexios80 added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2024
@auto-submit auto-submit bot merged commit cfbcc94 into flutter:main Aug 6, 2024
76 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 6, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 6, 2024
flutter/packages@82e8d1e...551bde5

2024-08-06 [email protected] Manual roll Flutter from 3832823 to 1dd7141 (21 revisions) (flutter/packages#7317)
2024-08-06 [email protected] [google_maps_flutter_web] Web changes to support heatmaps (flutter/packages#7315)
2024-08-06 [email protected] [google_maps_flutter_ios] iOS changes to support heatmaps (flutter/packages#7314)
2024-08-06 [email protected] [google_maps_flutter_android] Android changes to support heatmaps (flutter/packages#7313)
2024-08-06 [email protected] [camera_web] Migrate to `package:web` (flutter/packages#7012)
2024-08-06 [email protected] [go_router_builder] Fixes readme typos and uses code excerpts. (flutter/packages#7280)
2024-08-05 [email protected] [go_router] redirect example signature fix (flutter/packages#7278)
2024-08-05 [email protected] [google_maps_flutter_platform_interface] Platform interface changes to support heatmaps (flutter/packages#7312)
2024-08-05 [email protected] [pointer_interceptor] Add performance warning on using pointer interceptor on iOS (flutter/packages#7288)
2024-08-05 [email protected] Roll Flutter from cbfb222 to 3832823 (4 revisions) (flutter/packages#7316)
2024-08-05 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 4.3.4 to 4.3.5 (flutter/packages#7308)
2024-08-05 49699333+dependabot[bot]@users.noreply.github.com [image_picker]: Bump androidx.annotation:annotation from 1.8.0 to 1.8.1 in /packages/image_picker/image_picker_android/android (flutter/packages#7302)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
TytaniumDev pushed a commit to TytaniumDev/flutter that referenced this pull request Aug 7, 2024
flutter/packages@82e8d1e...551bde5

2024-08-06 [email protected] Manual roll Flutter from 3832823 to 1dd7141 (21 revisions) (flutter/packages#7317)
2024-08-06 [email protected] [google_maps_flutter_web] Web changes to support heatmaps (flutter/packages#7315)
2024-08-06 [email protected] [google_maps_flutter_ios] iOS changes to support heatmaps (flutter/packages#7314)
2024-08-06 [email protected] [google_maps_flutter_android] Android changes to support heatmaps (flutter/packages#7313)
2024-08-06 [email protected] [camera_web] Migrate to `package:web` (flutter/packages#7012)
2024-08-06 [email protected] [go_router_builder] Fixes readme typos and uses code excerpts. (flutter/packages#7280)
2024-08-05 [email protected] [go_router] redirect example signature fix (flutter/packages#7278)
2024-08-05 [email protected] [google_maps_flutter_platform_interface] Platform interface changes to support heatmaps (flutter/packages#7312)
2024-08-05 [email protected] [pointer_interceptor] Add performance warning on using pointer interceptor on iOS (flutter/packages#7288)
2024-08-05 [email protected] Roll Flutter from cbfb222 to 3832823 (4 revisions) (flutter/packages#7316)
2024-08-05 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 4.3.4 to 4.3.5 (flutter/packages#7308)
2024-08-05 49699333+dependabot[bot]@users.noreply.github.com [image_picker]: Bump androidx.annotation:annotation from 1.8.0 to 1.8.1 in /packages/image_picker/image_picker_android/android (flutter/packages#7302)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
flutter/packages@82e8d1e...551bde5

2024-08-06 [email protected] Manual roll Flutter from 3832823 to 1dd7141 (21 revisions) (flutter/packages#7317)
2024-08-06 [email protected] [google_maps_flutter_web] Web changes to support heatmaps (flutter/packages#7315)
2024-08-06 [email protected] [google_maps_flutter_ios] iOS changes to support heatmaps (flutter/packages#7314)
2024-08-06 [email protected] [google_maps_flutter_android] Android changes to support heatmaps (flutter/packages#7313)
2024-08-06 [email protected] [camera_web] Migrate to `package:web` (flutter/packages#7012)
2024-08-06 [email protected] [go_router_builder] Fixes readme typos and uses code excerpts. (flutter/packages#7280)
2024-08-05 [email protected] [go_router] redirect example signature fix (flutter/packages#7278)
2024-08-05 [email protected] [google_maps_flutter_platform_interface] Platform interface changes to support heatmaps (flutter/packages#7312)
2024-08-05 [email protected] [pointer_interceptor] Add performance warning on using pointer interceptor on iOS (flutter/packages#7288)
2024-08-05 [email protected] Roll Flutter from cbfb222 to 3832823 (4 revisions) (flutter/packages#7316)
2024-08-05 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 4.3.4 to 4.3.5 (flutter/packages#7308)
2024-08-05 49699333+dependabot[bot]@users.noreply.github.com [image_picker]: Bump androidx.annotation:annotation from 1.8.0 to 1.8.1 in /packages/image_picker/image_picker_android/android (flutter/packages#7302)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: camera platform-web
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[camera_web] migrate to pkg:web
3 participants