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

[coverage] VmService exception at exit on github CI #685

Open
liamappelbe opened this issue Oct 23, 2024 · 1 comment · May be fixed by #1189
Open

[coverage] VmService exception at exit on github CI #685

liamappelbe opened this issue Oct 23, 2024 · 1 comment · May be fixed by #1189
Assignees

Comments

@liamappelbe
Copy link
Contributor

liamappelbe commented Oct 23, 2024

dart-lang/native#1676
https://github.com/dart-lang/native/actions/runs/11472010902/job/31924474755?pr=1676

The connection is being disposed early. Haven't been able to repro locally. I'll have to debug on CI.

I can add a check to the service.resume call, to make sure the service isn't disposed, but I'd like to understand the issue first, otherwise it could mask a bug.

@talesbarreto
Copy link

Same here. It works just fine on iMac but fails on GitHub Actions.

My config:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: dart-lang/setup-dart@v1
        with:
          sdk: '3.5.4'
...
      - name: Test
        run: dart run coverage:test_with_coverage

I gave up and switched to Flutter image instead, running the test using flutter test --coverage

liamappelbe added a commit that referenced this issue Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants