Skip to content

Upgrade OCamlformat to 0.29 - #8591

Merged
cknitt merged 1 commit into
masterfrom
codex/upgrade-ocamlformat-0.29
Aug 28, 2026
Merged

Upgrade OCamlformat to 0.29#8591
cknitt merged 1 commit into
masterfrom
codex/upgrade-ocamlformat-0.29

Conversation

@cknitt

@cknitt cknitt commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • upgrade OCamlformat from 0.27 to 0.29
  • apply the resulting mechanical reformat separately from the OCaml 5.5 compiler changes

OCamlformat 0.27 requires OCaml <5.4, so this prepares the development toolchain for the following OCaml 5.5 upgrade while keeping its formatting churn isolated.

This is the third PR in the "Flow Forward" series. It is stacked on the Flow parser 0.320.0 upgrade, and the OCaml 5.5 upgrade follows on top.

Related to #8567.

Base automatically changed from codex/upgrade-flow-parser-last-ocaml to master August 28, 2026 18:39
Signed-off-by: Christoph Knittel <ck@cca.io>
@cknitt
cknitt force-pushed the codex/upgrade-ocamlformat-0.29 branch from dfadefd to 8acea61 Compare August 28, 2026 18:39
@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.67574% with 351 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.92%. Comparing base (9fd2d39) to head (8acea61).

Files with missing lines Patch % Lines
analysis/reanalyze/src/dead_common.ml 62.74% 38 Missing ⚠️
tools/src/tools.ml 75.00% 24 Missing ⚠️
analysis/src/completion_back_end.ml 88.17% 22 Missing ⚠️
analysis/src/find_files.ml 70.00% 21 Missing ⚠️
analysis/src/cmt_viewer.ml 0.00% 20 Missing ⚠️
analysis/src/dump_ast.ml 8.33% 11 Missing ⚠️
analysis/src/process_cmt.ml 62.06% 11 Missing ⚠️
analysis/src/process_extra.ml 76.08% 11 Missing ⚠️
compiler/gentype/translate_core_type.ml 45.00% 11 Missing ⚠️
tools/src/migrate.ml 75.00% 10 Missing ⚠️
... and 64 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8591      +/-   ##
==========================================
- Coverage   75.92%   75.92%   -0.01%     
==========================================
  Files         475      475              
  Lines       63033    63015      -18     
==========================================
- Hits        47859    47842      -17     
+ Misses      15174    15173       -1     
Files with missing lines Coverage Δ
analysis/reanalyze/src/dce_file_processing.ml 95.00% <100.00%> (ø)
analysis/reanalyze/src/dead_optional_args.ml 92.00% <100.00%> (ø)
analysis/reanalyze/src/declarations.ml 85.71% <100.00%> (-0.96%) ⬇️
analysis/reanalyze/src/exn_lib.ml 100.00% <100.00%> (ø)
analysis/reanalyze/src/file_annotations.ml 68.42% <100.00%> (-1.58%) ⬇️
analysis/reanalyze/src/log_.ml 67.22% <100.00%> (ø)
analysis/reanalyze/src/side_effects.ml 77.19% <100.00%> (ø)
analysis/src/cmt.ml 88.23% <100.00%> (ø)
analysis/src/codemod.ml 68.96% <100.00%> (ø)
analysis/src/completion_expressions.ml 79.84% <100.00%> (ø)
... and 105 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@8591

@rescript/belt

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/belt@8591

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@8591

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@8591

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@8591

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@8591

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@8591

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@8591

commit: 8acea61

@github-actions

Copy link
Copy Markdown

@cknitt
cknitt merged commit 9be2ff5 into master Aug 28, 2026
29 checks passed
@cknitt
cknitt deleted the codex/upgrade-ocamlformat-0.29 branch August 28, 2026 19:41
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.

2 participants