Skip to content

main: remaining whole-repo gate failures (part of #14802) - #14819

Merged
TrapsterDK merged 4 commits into
mainfrom
gate-main-failures-14802
Nov 24, 2026
Merged

TrapsterDK merged 4 commits into
mainfrom
gate-main-failures-14802

Conversation

@TrapsterDK

@TrapsterDK TrapsterDK commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #14802: these failures remain on main after #14803, #14804 and #14805.

  • //tools/api:api_test: api/starlark.json is regenerated with //tools/api:update.
  • Windows dx_exec_update_test / dx_exec_quality_test failed to compile: test_env and the REASON_OUTSIDE_WORKSPACE import were used only by cfg(unix) tests.
  • //core/modules:consumer_deps_test: nested locks lack rules_dart 0.9.1 / rules_flutter 0.1.0. A nested re-record through lock-refresh.yml (nested=true) pushes to this branch.
  • Windows test failures:
    • npm_hub_test compared paths that used \.
    • dx_release_tools_test expected that /definitely/missing/dir could not be written.
    • workspace_cwd_test did not expect the quotes Rust adds around batch arguments that contain =.
  • Clippy findings on every OS: collapsible ifs, string_add, indexing, and unused crate dependencies. The unused dependencies include unix-only test deps on Windows and two disallowed_methods expectations that were unfulfilled off linux_x86_64 or unix.

rustfmt, macOS disk, Linux out-of-memory and the erlang fixture are handled in #14809 and #14811.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus

TrapsterDK and others added 3 commits November 24, 2026 09:16
api/starlark.json is regenerated with //tools/api:update. On Windows the
exec_update test_env helpers and the exec_quality REASON_OUTSIDE_WORKSPACE
import had only cfg(unix) users and failed the -D dead_code build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
…t of #14802)

- npm_hub_test reported javascript\private\quality; compare with / separators.
- dx_release_tools_test expected /definitely/missing/dir to be unwritable, but a
  Windows runner may create it; the output now sits under a regular file.
- workspace_cwd_test: Rust quotes batch-file arguments that hold `=`, and the
  fake dx.cmd echoes them with the quotes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
- Collapse nested ifs, drop string `+`, a redundant as_deref and a
  must_use discard; analysis_scaling_check avoids indexing.
- Drop unused deps: dx_archive and tempfile from dx_cli, the
  all_crate_deps sets of two release tests, and unix-only test deps
  (dx_os_sys, dx_test_scratch, dx_testing) on Windows.
- Move disallowed_methods expectations to the one cfg-gated function
  that runs a program, so other OSes see no unfulfilled expectation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

/evidence platforms=["windows_x86_64","windows_arm64","macos_arm64"] task=check scope=//core/modules:npm_hub_test,//deploy/private/release:dx_release_tools_test,//tools/repin_all:workspace_cwd_test,//cli/exec_update:dx_exec_update_test,//cli/exec_quality:dx_exec_quality_test,//cli/cli/tests/adopt:adopt_test,//cli/cli/tests/agents:agents_test,//tools/ci:gitlab_example_test,//deploy/private/release/tests:release_consumer_smoke_test,//deploy/private/release:candidate_identity_test,//deploy/private/release:release_artifacts_verify

…part of #14802)

A forwarding test or binary passes on the upstream crate, which a
transition can put in another output root (Windows +crt-static). Clippy
ran in the forwarder's configuration, so rustc wrote its .d file into
the upstream's directory, which no action had created. On Windows this
gave "error writing dependencies ... (os error 3)" for
//tools/testing/hermetic:qt_tasks. The aspect now follows `upstream`
and reuses the upstream's result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

/evidence platforms=["windows_x86_64","windows_arm64"] task=check scope=//tools/testing/hermetic:qt_tasks,//cli/exec_update:dx_exec_update_test,//tools/testing:analysis_scaling_check

@TrapsterDK
TrapsterDK merged commit df68789 into main Nov 24, 2026
17 of 27 checks passed
@TrapsterDK
TrapsterDK deleted the gate-main-failures-14802 branch November 24, 2026 09:37
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