Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Jul 14, 2025

This PR contains several improvements to our CI process which aim to make the CI workflow cleaner and to make it easier to configure required tests in code.

Restructuring

Before the change:

image

After the change:
image

After the change, with some of the groups expanded:
image

As can be observed in the screenshots, this restructuring makes it clearer what all the CI check is doing, when viewing the workflow summary in CI.

The restructure also moves the Swift tests from a separate workflow file into the main ci.yml file.

Functional changes

This PR also adds a "Check required jobs" job, which passes only if all other jobs in ci.yml pass. We intend to make this check the only required status from ci.yml to make PRs mergeable.

Making "Check required jobs" required will indirectly make the previously non-required checks required: Test Node, Test Swift, and the -Funstable-mobile-app tests. With this change, it is now also possible to configure the required checks in code.

Also, this PR adds an optimization, so that any in progress jobs are cancelled if a new commit is pushed to the branch.

Closes #2509
Closes #2558
Closes #2597

@szokeasaurusrex szokeasaurusrex changed the title wip: try dependcy flow wip: try dependency flow Jul 14, 2025
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/ci-cleanup branch 12 times, most recently from f63f471 to ab0743d Compare July 14, 2025 16:14
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/ci-cleanup branch 4 times, most recently from 00f8f80 to 72fd6e9 Compare July 15, 2025 10:04
@szokeasaurusrex szokeasaurusrex changed the title wip: try dependency flow ci: Restructure CI process Jul 15, 2025
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review July 15, 2025 10:17
Copy link
Contributor

@loewenheim loewenheim left a comment

Choose a reason for hiding this comment

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

Seems like a very good idea!

@szokeasaurusrex szokeasaurusrex merged commit 9786fac into master Jul 15, 2025
48 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/ci-cleanup branch July 15, 2025 12:29
szokeasaurusrex added a commit that referenced this pull request Jul 15, 2025
I think this was accidentally committed in #2599
szokeasaurusrex added a commit that referenced this pull request Jul 15, 2025
I think this was accidentally committed in #2599
szokeasaurusrex added a commit that referenced this pull request Jul 15, 2025
I think this was accidentally committed in #2599
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.

Define required tests in code Make Swift tests required Use reusable workflows for CI jobs

3 participants