Giter Site home page Giter Site logo

Comments (7)

jmagman avatar jmagman commented on June 29, 2024

I think these are builds that show those macOS sandbox-related failures:
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20custom_package_tests%20stable/2/overview
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20macos_platform_tests%20master%20-%20packages/2/overview

@vashworth instead, can we disable the sandbox for the url_launcher_macos and pigeon example app, then have a TODO and tracking issue to turn it back on when that tools change gets to stable?

from flutter.

vashworth avatar vashworth commented on June 29, 2024

I think these are builds that show those macOS sandbox-related failures: https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20custom_package_tests%20stable/2/overview https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20macos_platform_tests%20master%20-%20packages/2/overview

@vashworth instead, can we disable the sandbox for the url_launcher_macos and pigeon example app, then have a TODO and tracking issue to turn it back on when that tools change gets to stable?

Sure, I'll try that

from flutter.

vashworth avatar vashworth commented on June 29, 2024

I think these are builds that show those macOS sandbox-related failures: https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20custom_package_tests%20stable/2/overview https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20macos_platform_tests%20master%20-%20packages/2/overview

@vashworth instead, can we disable the sandbox for the url_launcher_macos and pigeon example app, then have a TODO and tracking issue to turn it back on when that tools change gets to stable?

So doing this for pigeon will fix the custom_package_tests stable.

However to fix for macos_platform_tests stable, we'd actually have to disable sandboxing for the following package example apps: flutter_image, google_sign_in, google_sign_in_ios, image_picker, in_app_purchase, in_app_purchase_storekit, path_provider, path_provider_foundation, shared_preferences, shared_preferences_foundation, url_launcher, url_launcher_macos, video_player, video_player_avfoundation. The test failure doesn't show because it fails before it reaches, but there's a later part of the test that does flutter test -d macos on each of those, which will fail without #149618.

@jmagman Do you think it'd still be better to disable them directly rather than just keep them on Mac-13 for now? I think it's probably fine and chances of a new one being added are super low, so I'm okay to just directly disable all of them for now, but it is a lot more than just url_launcher_macos.

from flutter.

jmagman avatar jmagman commented on June 29, 2024

I think we should disable sandboxing on all of them temporarily, as long as we have an action item to turn it back on after next stable.
@stuartmorgan do you have any concerns about this?

from flutter.

stuartmorgan avatar stuartmorgan commented on June 29, 2024

I guess I'm okay with that.

Long term, do we think we're just stuck with this though? Never testing any our macOS plugins the same way they will run for most users is... not ideal.

from flutter.

jmagman avatar jmagman commented on June 29, 2024

It's definitely not ideal, but it would require more work to clear out the app containers between test runs (some more details in the referenced PR #149618). I think turning the sandbox off for tests is the best bad solution we have to unblock the macOS 14 update... 😞

from flutter.

vashworth avatar vashworth commented on June 29, 2024

Closing in favor of #149844

from flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.