Skip to content

feat: Add support for Windows CI - #1095

Open
fuzzybinary wants to merge 12 commits into
v4from
jward/windows-ci
Open

feat: Add support for Windows CI#1095
fuzzybinary wants to merge 12 commits into
v4from
jward/windows-ci

Conversation

@fuzzybinary

@fuzzybinary fuzzybinary commented Jul 28, 2026

Copy link
Copy Markdown
Member

What and why?

Note

The .gitlab job for windows integration testing has been commented out, because our current CI runners cannot create a graphics stack to actually run them. Other changes will remain intact because they are useful for linux and macOS integration tests.

Add support for windows CI for unit and integration testing.

Integration tests on Desktop must be run one file at a time because of a bug in the Flutter tool, so a script has been introduced to do that

Additionally, since many of the melos steps need to be executed cross platform, we've had to abstract some of them into Dart scripts. The two major examples of this are:

  • run_with_junit which pipes flutter test output to tojunit, but preserves the exit / status code of flutter test command. This is used because Windows pipes will only return the status code of the last element in the pipe, which doesn't preserve the pass / fail state of the tests
  • generate_env since old .env file generation used tee, which is not available on Windows, we've created a custom script that generates the .env files properly cross platform.

refs: RUM-17631

Review checklist

  • This pull request has appropriate unit and / or integration tests
  • This pull request references a Github or JIRA issue

Windows has no unit tests because we rely on FFI, so there's very little to test in the form of interop.

refs: RUM-17631
# Conflicts:
#	packages/datadog_flutter_plugin/datadog_flutter_plugin_desktop/lib/src/ffi_bindings.dart
@fuzzybinary
fuzzybinary requested a review from a team as a code owner July 28, 2026 18:44
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jul 28, 2026

Copy link
Copy Markdown

Pipelines

Unblock PR with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

DataDog/dd-sdk-flutter | web-integration-test   View in Datadog   GitLab

DataDog/dd-sdk-flutter | ios-integration-test   View in Datadog   GitLab

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 764f54b | Docs | Datadog PR Page | Give us feedback!

@fuzzybinary

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 546a9444e9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread melos.yaml
Comment thread tools/ci/bin/desktop_integration_tests.dart Outdated
Comment thread tools/ci/bin/desktop_integration_tests.dart
Comment thread melos.yaml
@sbarrio
sbarrio requested a review from barboraplasovska July 29, 2026 07:05
@fuzzybinary
fuzzybinary requested a review from a team as a code owner July 29, 2026 14:41
@fuzzybinary
fuzzybinary requested review from sameerank and vjfridge and removed request for a team July 29, 2026 14:41
@fuzzybinary fuzzybinary changed the title feat: Add support for Windows CI / Integration Testing feat: Add support for Windows CI Jul 29, 2026
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