Skip to content

Fix WIT dependency analyzer tool argument configuration on macOS #12

@avrabe

Description

@avrabe

Problem

The WIT dependency analyzer tool is failing on macOS with incorrect argument usage:

Usage: bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/tools/wit_dependency_analyzer/wit_dependency_analyzer_/wit_dependency_analyzer <config.json>

Root Cause

Multiple targets using the WIT dependency analyzer aren't receiving the expected config.json argument format on macOS.

Impact

  • Failing targets:
    • //test/integration:validate_consumer_deps
    • //test_wit_deps/consumer:check_deps
  • Only affects macOS builds, Linux builds work fine
  • Currently excluded from macOS CI to prevent build failures

Solution

Investigate the CheckWitDependencies command configuration to ensure it passes the correct config.json file to the wit_dependency_analyzer tool. This appears to be a systematic issue affecting all WIT dependency analysis targets on macOS.

Workaround

Temporarily excluded both failing targets from macOS CI builds:

  • -//test/integration:validate_consumer_deps
  • -//test_wit_deps/consumer:check_deps

Labels

  • Type: Bug
  • Component: WIT Dependency Analysis
  • Platform: macOS
  • Priority: Medium (affects multiple targets systematically)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions