Skip to content

CI evidence run: test linux on release/5.0 (do not merge) - #2

Closed
orestesgaolin wants to merge 6 commits into
release/5.0from
ci/linux-evidence
Closed

orestesgaolin wants to merge 6 commits into
release/5.0from
ci/linux-evidence

Conversation

@orestesgaolin

Copy link
Copy Markdown

Fork-internal run of test-linux.yaml for leancodepl#3309 after the rebase onto release/5.0. Closed after the run.

🤖 Generated with Claude Code

orestesgaolin and others added 6 commits November 26, 2026 21:45
The bundle threw `UnsupportedError('Unkown platform')` in the
PlatformAutomator constructor on Linux. Linux now has its own branch:
Dart-side tests run, and native actions throw a clear UnsupportedError.
On Linux the app reads PATROL_APP_SERVER_PORT and PATROL_TEST_SERVER_PORT
from the process environment, so a driver can pick ports without a rebuild.

Refs leancodepl#3272

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port 0, negative and too large values from the environment now fall back
to the dart-define or the default port, as documented.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uild

Adds TargetPlatform.linux and a Dart driver for `patrol test -d linux`:
it builds the app, launches it once to list tests, then once per test,
and asks the app's PatrolAppService to run each one over loopback HTTP.
`patrol develop -d linux` drives `flutter run` like web, and
`patrol build linux` builds the bundle. No native automation.

Refs leancodepl#3272

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- patrol build linux: pass --no-tree-shake-icons to flutter build linux.
- Count tests that crash or do not become ready in the test summary, once:
  report them to the log reader only when the app did not report the
  result itself.
- Give each readiness request only the time left until the deadline, so
  the wait stops at the ready timeout.
- Stop at once when listDartTests answers with invalid JSON instead of
  retrying until the timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the Linux scaffold and a Linux test to e2e_app, and a
`test linux` workflow that runs them under Xvfb on ubuntu-latest.

Refs leancodepl#3272

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@orestesgaolin

Copy link
Copy Markdown
Author

Evidence run done: https://github.com/makevisible/patrol/actions/runs/45893595504 (success).

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.

1 participant