Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinks in folders during workspace discovery #3056

Closed
bakjos opened this issue Dec 6, 2024 · 0 comments · Fixed by #3064
Closed

Symlinks in folders during workspace discovery #3056

bakjos opened this issue Dec 6, 2024 · 0 comments · Fixed by #3064

Comments

@bakjos
Copy link

bakjos commented Dec 6, 2024

When repinning a workspace containing symlinks in the directories (it happens with a lot of the node modules) it throws

STDERR ------------------------------------------------------------------------
Error: Failed to splice workspace

Caused by:
    0: Failed to walk filesystem finding workspace Cargo.toml files
    1: IO error for operation on <workspace>/node_modules/.pnpm/node_modules/@opentelemetry/exporter-trace-otlp-grpc: No such file or directory (os error 2)
    2: No such file or directory (os error 2)

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: cargo_bazel::metadata::workspace_discoverer::discover_workspaces_with_cache
   2: cargo_bazel::splicing::splicer::Splicer::splice_workspace
   3: cargo_bazel::cli::splice::splice
   4: cargo_bazel::main
   5: std::sys::backtrace::__rust_begin_short_backtrace
   6: std::rt::lang_start::{{closure}}
   7: std::rt::lang_start_internal
   8: _main

The directory <workspace>/node_modules/.pnpm/node_modules/@opentelemetry/exporter-trace-otlp-grpc exists but is a symlink

It was introduced by 72556e5#diff-b9c333a6a7559a3bb3323ac50872a2dc88c9478804f9b998e8b3f87ee8036966R102

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 a pull request may close this issue.

1 participant