Skip to content

Fix CI: Enable flow_modern_syntax in OSS test config - #5307

Closed
captbaritone wants to merge 1 commit into
mainfrom
fix-ci-failures-20260601
Closed

captbaritone wants to merge 1 commit into
mainfrom
fix-ci-failures-20260601

Conversation

@captbaritone

Copy link
Copy Markdown
Contributor

Summary

  • The "Compiler output check" CI job has been failing on all recent commits since 045f228 ("Implement feature flag to gate rollout of flow modern syntax")
  • That commit added a flow_modern_syntax feature flag and enabled it in the Rust test fixtures, but did not add it to scripts/config.tests.json
  • When CI regenerates Flow artifacts using config.tests.json, it produces classic Flow syntax (+ for readonly, {||} for exact objects) while the committed files use modern syntax (readonly, {})
  • This adds "flow_modern_syntax": {"kind": "enabled"} to the feature flags in scripts/config.tests.json to match

Test plan

  • CI should pass on this PR — the "Compiler output check" job should no longer show diffs in generated Flow files

The "Implement feature flag to gate rollout of flow modern syntax" commit
(045f228) added a flow_modern_syntax feature flag and enabled it in the
Rust test fixtures, but did not add it to scripts/config.tests.json. This
caused the "Compiler output check" CI job to fail because the committed
generated files use modern Flow syntax (readonly, {}) while the CI
compiler produces classic syntax (+, {||}).
@captbaritone
captbaritone force-pushed the fix-ci-failures-20260601 branch from 2dfc3be to b7ad957 Compare June 1, 2026 21:01
@meta-codesync

meta-codesync Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

@captbaritone has imported this pull request. If you are a Meta employee, you can view this in D107158647.

@meta-codesync

meta-codesync Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

@captbaritone merged this pull request in caac2d4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant