Skip to content

ci: run mobile openapi:check serially to avoid race with format:check#28

Merged
MehrshadFb merged 1 commit into
mainfrom
ci/fix-mobile-parallel-race
Jun 27, 2026
Merged

ci: run mobile openapi:check serially to avoid race with format:check#28
MehrshadFb merged 1 commit into
mainfrom
ci/fix-mobile-parallel-race

Conversation

@MehrshadFb

@MehrshadFb MehrshadFb commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Fix for the CI failure on main after #27. On the mobile job, openapi:check regenerates lib/api/schema.d.ts and runs prettier --write on it. When that ran in parallel with format:check (prettier . --check over the whole tree), prettier could read the schema file mid-rewrite and report inconsistent formatting.

Pull openapi:check out of the parallel block and run it serially first. The other three checks (format:check, lint, tsc --noEmit) are truly read-only and stay parallel.

Test plan

  • Mobile CI is green

@MehrshadFb MehrshadFb merged commit 77b5e2e into main Jun 27, 2026
4 checks passed
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