Skip to content

main: format flagged files and keep coverage off the hidden-header fixture (part of #14802) - #14811

Merged
TrapsterDK merged 1 commit into
mainfrom
fmt-erlang-14802
Nov 24, 2026
Merged

TrapsterDK merged 1 commit into
mainfrom
fmt-erlang-14802

Conversation

@TrapsterDK

@TrapsterDK TrapsterDK commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Main-branch CI failures from #14802:

  • The Windows check format step flagged unformatted files on main: three Rust files plus two .bzl, one C++, one TOML and one JSON file. They are now formatted with the pinned rustfmt, buildifier, clang-format, taplo and biome.
  • //erlang/tests/fixtures/negative/undeclared_header:nif_header_hidden_test failed to build under coverage. Bazel gives a Starlark test that returns no InstrumentedFilesInfo a default one that forwards every dependency, so coverage compiled probe_nif.c, which must not compile without hidden.h. The header analysis test now returns its own empty InstrumentedFilesInfo.
  • With these packages affected, Windows coverage failed analysis of the msvc-pinned hermetic fixtures ("cc_test coverage needs an LLVM compiler"). toolchain_transition now turns --collect_code_coverage off when the selected compiler has no native coverage, so those tests run uninstrumented.
  • Windows check failed tree_rooted_manifest_maps_entries_into_the_tree in every erlang coverage conformance test: the expectation used Path::join (\) where the code joins with /.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus

…off the hidden-header fixture (part of #14802)

The Windows check format step flagged Rust, Starlark, C++, TOML and JSON
files on main; they are now formatted with the pinned formatters.

Under coverage, Bazel gives a Starlark test without InstrumentedFilesInfo
a default one that forwards every dependency, so
nif_header_hidden_test compiled probe_nif.c, a fixture that must not
compile without hidden.h. The header test now returns its own empty
InstrumentedFilesInfo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
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