Skip to content

fix(render): resolve the GPU skip log from the render crate - #584

Merged
lazyxeon merged 1 commit into
mainfrom
cursor/fix-gpu-skip-workspace-target-3041
Oct 29, 2026
Merged

lazyxeon merged 1 commit into
mainfrom
cursor/fix-gpu-skip-workspace-target-3041

Conversation

@lazyxeon

@lazyxeon lazyxeon commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Closes #568.

record_gpu_skip_for_tests resolved target/ by walking the runtime CARGO_MANIFEST_DIR. Scene streaming tests created astraweave-scene/target through cwd-relative paths, so that walk stopped at the crate directory and the guard panicked when AW_GPU_SKIP_LOG was the workspace target. macOS Test full is the job that reaches the skip log.

The workspace target is now CARGO_TARGET_DIR when set, otherwise the parent of the render crate's compile-time manifest joined with target. A path outside that directory still panics. tests/support/gpu_capability.rs uses the same rule. Scene streaming writes cell files under CARGO_TARGET_TMPDIR.

No new dependency.

Report

  1. Head SHA: 9719cac378a49d497c8d6c6b6b95fc22bd2a77c4. Green: all 46 required checks passed on that SHA.
  2. Commands run, and their exit codes:
    • cargo test -p astraweave-render --lib skip_log_tests -- --test-threads=1 — 0 (5 passed)
    • cargo test -p astraweave-scene --test streaming_integration -- --test-threads=1 — 0 (7 passed; astraweave-scene/target was absent afterward)
    • AW_CI_PACKAGES=astraweave-render,astraweave-scene bash scripts/ci/run-gate.sh — 0
    • AW_CI_PROFILE=ci-pr AW_CI_PACKAGES=astraweave-render,astraweave-scene bash scripts/ci/run-tests.sh — 0 (5233 passed, 37 skipped)
    • cargo run -p aw_trace_sync -- --check — 0
    • bash scripts/ci/player_facing_names.sh — 0
  3. Not run, and why:
    • Replay hash step: astraweave-render and astraweave-scene are not in that step.
    • Test full (macos-latest): this environment is Linux. The regression test covers the lookup that job hits.
  4. Measurements: not measured.
  5. Replay hashes: unchanged. The hashed crates were not edited, and the replay hash test was not run.
  6. Deferred issue links: none.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Security enhancement

Security Considerations

  • Does this PR introduce new dependencies? No.
  • Does this PR modify how user input is handled? No. The skip log still refuses a path outside the workspace target.
  • Does this PR change authentication or authorization mechanisms? No.
  • Does this PR access sensitive data or modify how it's stored? No.
  • Does this PR introduce new network communication or modify existing protocols? No.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have run security checks (cargo audit, cargo deny) locally
Open in Web Open in Cursor 

Scene streaming tests created astraweave-scene/target, and the runtime
ancestor walk stopped there, so the workspace AW_GPU_SKIP_LOG failed the
guard. Resolve target/ from the render crate's compile-time manifest.
A path outside that directory still panics.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T18:37:17.385299Z 9719cac PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs review @ 9719cac: clear. No blockers.

  • Comments vs code: match. existing_workspace_target (renderer.rs) and existing_target_dir (gpu_capability.rs) both use CARGO_TARGET_DIR, or else env!("CARGO_MANIFEST_DIR") parent + target, with no runtime ancestor walk. scratch_cells() uses CARGO_TARGET_TMPDIR.
  • Render trace v1.79: the revision notice and contract row 29 describe the new resolution and the unchanged outside-dir panic accurately. Both cited tests exist (crate_local_target_keeps_the_workspace_skip_log, skip_log_outside_the_workspace_target_still_panics). The older notices weren't edited; the stamp history just gained a new leading entry.
  • Stamp: b1e995cb is an ancestor of the head, and it's the parent the notice describes.
  • Stale docs: none. CI_ARCHITECTURE, AGENTS.md and the mdBook pages don't describe the skip-log path or the scene scratch dir. The CI_FAILURE_LEDGER macOS row (target/gpu-skip-reasons.txt) is still true.
  • aw_doc_lint --mode warn: clean (0 un-allowlisted).

Non-blocking: the ledger has no #568 row. I'll add it in my follow-up docs PR if wanted.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adversarial review of 9719cac378a49d497c8d6c6b6b95fc22bd2a77c4. No blocking defect in the #568 fix.

The macOS panic is test_memory_accounting_overwrite calling record_gpu_skip_for_tests after streaming_integration had created astraweave-scene/target. The old resolver walked runtime CARGO_MANIFEST_DIR and stopped at that directory, so the absolute workspace AW_GPU_SKIP_LOG failed the parent check (renderer.rs on main, the line Annubis cited). The panic string names astraweave-scene/target. A /private/var symlink mismatch would still match after both sides canonicalize. This commit stops reading that runtime manifest in the two render writers, and the streaming tests that used a relative target/ now write under CARGO_TARGET_TMPDIR.

Security. The guard is unchanged: the log parent must already exist, canonicalize to the chosen target directory, and equal it exactly (a subdirectory does not pass). A final-path symlink is refused. The append uses libc::O_NOFOLLOW. Newlines, CR, and % are still stripped. A failed write still panics. The allowed root is the workspace target/ (or CARGO_TARGET_DIR) rather than the nearest target/ directory, so a crate-local directory cannot redirect the log. No new dependency, no unsafe (#![deny(unsafe_code)] stays), no sim write. AW_GPU_SKIP_LOG may still name any file whose parent is that directory. That was already the check.

Determinism. astraweave-render and astraweave-scene are not in the Replay hash step of determinism-replay.yml. GPU readback still does not write sim state. Replay hash (ubuntu-latest) and Replay hash (macos-latest) passed on this SHA. hash (windows-latest) and Replay hash (windows-latest) were still pending. Expected unchanged. GPU frame budget: not measured.

What I ran. A workspace-member integration test prints CARGO_TARGET_TMPDIR as <workspace>/target/tmp (crate_target_prefix=false). From that member directory, ./target resolves to <crate>/target. #[tokio::test] in tokio-macros 2.7.2 defaults to current_thread (entry.rs flavor default), so test_memory_accounting_overwrite still runs on the test thread after .await, and the required-name grep (test_memory_accounting_overwrite:) still matches that thread name. I did not compile astraweave-render here.

CI. Gate, cargo-audit, and cargo-deny passed on this SHA. Test full does not run on pull_request (ci.yml test-full), so the job in #568 is not this PR's required check. The next schedule or main run is the confirmation.

Residuals are inline. None of them recreate astraweave-scene/target on the Test full job as it is wired today.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

if candidate.is_dir() {
return candidate;
}
let manifest = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CARGO_TARGET_DIR is returned above this line, before the compile-time parent is considered. A relative value is canonicalized from the test process cwd. Cargo runs an integration test with cwd at the package directory, so CARGO_TARGET_DIR=./target becomes <crate>/target.

I checked that with a two-package workspace: from the member directory, ./target resolved to the member target/, and <workspace>/target was a different directory. .github/scripts/cache-config.sh exports CARGO_TARGET_DIR=./target on Linux and macOS. The Test full job does not source that file. scripts/ci/run-tests.sh and .github/actions/rust-ci-setup do not export it either. ci.yml sets AW_GPU_SKIP_LOG to the absolute ${GITHUB_WORKSPACE}/target/gpu-skip-reasons.txt. On that job this fallback runs.

A shell that sources cache-config.sh and then runs cargo test puts the guard back on a crate-local directory when that directory exists, and panics with missing at when it does not. The new trace text calls this value the workspace target. That holds for an absolute CARGO_TARGET_DIR.

.expect("clock")
.as_nanos()
);
let log = workspace.join(log_name);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log is existing_workspace_target() joined with a unique name, and the guard then requires the file's parent to be that same directory. The assertion passes for any existing directory other than the decoy. macOS sets AW_GPU_SKIP_LOG to a fixed path, ${GITHUB_WORKSPACE}/target/gpu-skip-reasons.txt, and the guard compares that parent to the resolver.

assert_ne! against astraweave-render/target does catch the old walk when the runtime manifest is this crate: that walk returns the decoy. Pin the resolved path, when CARGO_TARGET_DIR is unset, to Path::new(env!("CARGO_MANIFEST_DIR")).parent().unwrap().join("target").

Drop calls remove_dir_all on astraweave-render/target when this test created it. That is the directory the old walk would have selected. CI's artifacts live in the repo-root target/, so that delete does not remove the build tree on the Test full layout. The None override, which writes gpu-skip-reasons.txt, is not exercised.

if candidate.is_dir() {
return candidate;
}
let manifest = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the resolver behind note_skip / skip_log_path. src/lib.rs compiles this file with #[path] under cfg(test), and the integration tests compile it again. The new tests call record_gpu_skip_for_tests_at only, so crate_local_target_keeps_the_workspace_skip_log never enters this function.

The two copies match in this commit. check-gpu-skip-log.sh reads the lines note_skip appends. A later edit to this copy alone puts the macOS census back on the runtime ancestor walk while the lib test stays green.

| **Status** | **ACTIVE WORKZONE** — Editor Multi-Tool Architecture Campaign Sub-phase 3 (Mediator Brush) is in flight as of campaign-doc commit `e3d07f366` (2026-05-08, Round-8-Closure). Fix 27 Unified Pipeline Campaign is structurally complete (per CLAUDE.md) but deeper editor↔runtime unification continues. Treat this trace as a **navigational map**; per-subsystem detailed traces are follow-up work. |
| **Owner notes** | This trace covers an unusually large system (~78K LoC source + 71 WGSL files + editor viewport). Per the template's "One last thing" rule on scale, this doc is intentionally structured as a **subsystem map + load-bearing-aggregator detail**, not an exhaustive per-file trace. Sub-systems like Lumen GI, MegaLights, Nanite, Atmosphere, GPU Particles, Volumetric Fog, IBL, and TAA each warrant their own dedicated trace if and when they enter focused work. The doc covers terrain materials by reference to `docs/architecture/terrain_materials.md`. |

> **Revision notice — 2026-10-29 (v1.79).** `record_gpu_skip_for_tests` and `tests/support/gpu_capability.rs` resolve the workspace `target/` from this crate's compile-time manifest (its parent joined with `target`), or from `CARGO_TARGET_DIR` when that is set. The calling test's runtime `CARGO_MANIFEST_DIR` is not walked. A `<crate>/target` directory no longer becomes the skip directory, and a log whose parent is the workspace `target/` still passes the guard. A path outside that directory still panics. Scene streaming tests write cell files under `CARGO_TARGET_TMPDIR` instead of `astraweave-scene/target`. `last_verified_commit` names the parent `b1e995cb35bf2c16a48dbf0842891142e538870a`. That parent walks runtime ancestors and panics once `astraweave-scene/tests/streaming_integration.rs` has created `astraweave-scene/target`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test_memory_budget_enforcement and test_performance_no_stalls are the two calls that moved to CARGO_TARGET_TMPDIR. test_async_cell_loading, test_streaming_with_camera_movement, and test_lru_cache_functionality still create assets/cells relative to the process cwd. For this integration test that cwd is astraweave-scene/.

WorldPartitionManager loads assets/cells/{x}_{y}_{z}.ron (astraweave-scene/src/streaming.rs, the path built in the load spawn). Those three tests still write that tree. The paths are not named target, so they do not recreate astraweave-scene/target. The files under CARGO_TARGET_TMPDIR are not the path that spawn opens.

A workspace member's CARGO_TARGET_TMPDIR is <workspace>/target/tmp (checked with a two-package workspace: crate_target_prefix=false, workspace_target_prefix=true). scratch_cells does not create <crate>/target.

| 27 | **Fate-scars do not add a volumetric pass.** A 32³ world-space texture is sampled by `fog_density.wgsl` at the froxel's world position and written into the existing density volume (R density, G forward weight, B tint). `scatter.wgsl` consumes those channels. The froxel dimensions stay the quality preset. WGSL does not read `i64`, and the scar is not addressed by `froxel_idx % 64`. Fog-off (`enabled == false`, or no pass) uploads nothing. | Yes | `scar_shader_samples_world_space_and_has_no_i64`; `Renderer::upload_veil_scar_volume` returns before work when fog is absent |
| 28 | **Linux render tests default to one thread until libvulkan ≥ 1.4.345.** When `RUST_TEST_THREADS` is unset, `serialize_lib_tests.rs` sets it to `1` before libtest reads it. `--test-threads` and an already-set variable still win. Lib tests compile the module. Integration tests include `tests/support/linux_test_threads.rs`, including `frame_alloc.rs`, `stream_fallback.rs`, and `instance_debug_flags.rs`. The production library does not. `InstanceDescriptor::default()` ignores `WGPU_DEBUG` and still enables debug utils in debug builds. The check is a child process whose environment is `Command::env`; the parent does not call `set_var`. Remove the hook after a parallel `cargo test -p astraweave-render` with every Mesa ICD loaded finishes on that loader (Vulkan-Loader #1863 / #1866; tag `v1.4.344` does not contain `5ee27b3`). | Yes | `serialize_lib_tests::lib_tests_default_to_one_thread`; `tests/instance_debug_flags.rs`; `tests/frame_alloc.rs`; `tests/stream_fallback.rs` |
| 29 | **A missing headless adapter is a skip line or a panic.** `NotFound` appends `SKIP(gpu)` under the workspace `target/` directory only when `AW_GPU_SKIP_IF_UNAVAILABLE` is set. Otherwise it panics. A device refusal panics, including from `request_headless` while that variable is set. `prefer_fallback` tries software and then hardware unless that variable is set, in which case it does not continue. The append flag is `libc::O_NOFOLLOW`. `upscale_pass_creation`, `cloud_pass_creation`, and `enabling_sample_hiz_rebinds_to_the_current_depth_view` record a skip or panic when depth `textureLoad` is absent. `golden_gradient_matches_with_tolerance` records `NotFound` under its own thread name. On macOS Test full, `scripts/ci/check-gpu-skip-log.sh` fails if any name in `scripts/ci/gpu-skip-required-macos.txt` is absent, even when the log already has another line. That list is the default-feature software-only tests profile ci runs. `gpu-tests` binaries stay off it. `test_backend_detection`, `golden_triangle_render`, and `golden_determinism_check` are on it: an integration test sets `cfg(test)`, and those three request only a software adapter. `choose_adapter` is unchanged. | Yes | `probe_stop`; `depth_texture_load_gate`; `fallback_probes`; `headless_for_tests`; `record_gpu_skip_for_tests`; `scripts/ci/check-gpu-skip-log.sh` |
| 29 | **A missing headless adapter is a skip line or a panic.** `NotFound` appends `SKIP(gpu)` under the workspace `target/` directory only when `AW_GPU_SKIP_IF_UNAVAILABLE` is set. That directory is `CARGO_TARGET_DIR` when set, otherwise the parent of the render crate's compile-time manifest joined with `target` (`renderer.rs` and `tests/support/gpu_capability.rs`). The calling test's runtime manifest is not walked, so `<crate>/target` does not move the log. A parent outside that directory still panics. When `AW_GPU_SKIP_IF_UNAVAILABLE` is unset, `NotFound` panics. A device refusal panics, including from `request_headless` while that variable is set. `prefer_fallback` tries software and then hardware unless that variable is set, in which case it does not continue. The append flag is `libc::O_NOFOLLOW`. `upscale_pass_creation`, `cloud_pass_creation`, and `enabling_sample_hiz_rebinds_to_the_current_depth_view` record a skip or panic when depth `textureLoad` is absent. `golden_gradient_matches_with_tolerance` records `NotFound` under its own thread name. On macOS Test full, `scripts/ci/check-gpu-skip-log.sh` fails if any name in `scripts/ci/gpu-skip-required-macos.txt` is absent, even when the log already has another line. That list is the default-feature software-only tests profile ci runs. `gpu-tests` binaries stay off it. `test_backend_detection`, `golden_triangle_render`, and `golden_determinism_check` are on it: an integration test sets `cfg(test)`, and those three request only a software adapter. `choose_adapter` is unchanged. | Yes | `probe_stop`; `depth_texture_load_gate`; `fallback_probes`; `headless_for_tests`; `record_gpu_skip_for_tests`; `crate_local_target_keeps_the_workspace_skip_log`; `skip_log_outside_the_workspace_target_still_panics`; `scripts/ci/check-gpu-skip-log.sh` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parenthetical names renderer.rs and tests/support/gpu_capability.rs. Two other writers still walk runtime CARGO_MANIFEST_DIR ancestors and stop at the first target/ directory:

  • astraweave-fluids/tests/gpu_execution_tests.rs existing_target_dir
  • tools/aw_headless/src/lib.rs skip_missing_adapter

macOS Test full uses profile ci, which has no PR filter, so both packages run. astraweave-scene/target is not an ancestor of either manifest, so the directory this PR removes was not their trigger. astraweave-audio tests still call create_dir_all("target") with cwd at that package, which creates astraweave-audio/target. That directory is not on the fluids or headless ancestor chain. A target/ directory directly under astraweave-fluids/, tools/aw_headless/, or tools/ still rejects the absolute AW_GPU_SKIP_LOG.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review @ 9719cac378a49d497c8d6c6b6b95fc22bd2a77c4: clear. No blockers. Docs are already cleared by Astranox (review 5703083105); the adversarial pass is review 5703298683.

Fix proven by an isolated mutation (#568). I put back only main's runtime CARGO_MANIFEST_DIR ancestor walk in existing_workspace_target (renderer.rs) and left the tests and the scene change alone. renderer::skip_log_tests::crate_local_target_keeps_the_workspace_skip_log then FAILS (panic at renderer.rs:12265). With the fix, all 5 skip_log_tests pass. A second mutation reverted only the scene CARGO_TARGET_TMPDIR change; it caused no new non-GPU failure, which fits the render-side resolver being the real fix. After the full test runs, astraweave-scene/target doesn't exist.

Commands (Linux box, zig CXX, lavapipe/GL adapter):

  • AW_CI_PACKAGES=astraweave-render,astraweave-scene bash scripts/ci/run-gate.sh: exit 0
  • AW_CI_PROFILE=ci-pr ... run-tests.sh: exit 100 (5219 pass / 14 fail / 37 skip). The failures are GPU-capability panics (depth textureLoad is absent) because AW_GPU_SKIP_IF_UNAVAILABLE was unset.
  • Same command with AW_GPU_SKIP_IF_UNAVAILABLE=1 and AW_GPU_SKIP_LOG=<workspace>/target/gpu-skip-reasons.txt: exit 100 (5227 pass / 6 fail / 37 skip). The skip log took 8 lines from the workspace target with no guard panic. The 6 remaining failures (gated_passes ×5, particle_present::emitter_draw_into_submits) also fail at base b1e995c with the same environment, so they're box-adapter limits and not from this PR.

Report accuracy: the commands and the 5/7 counts match what I reproduced. I couldn't reproduce the body's 5233 passed, 37 skipped on my adapter (see above), and it reads like an adapter that supports depth textureLoad. Non-blocking.

Determinism: no hashed crate touched (render and scene aren't in the Replay hash step), so I didn't run it. Perf/frame budget: this touches the test-only path, so there's no runtime perf surface. Not measured. Deps: none added. Workflows: none changed, so actionlint and test_workflow_policy weren't needed.

Security items for a fresh security agent (no ruling from me):

  1. The allowed skip-log root is now compile-time env!("CARGO_MANIFEST_DIR")/../target, or CARGO_TARGET_DIR when set. Check that trusting CARGO_TARGET_DIR from the environment is acceptable for this test-only writer.
  2. AW_GPU_SKIP_LOG can still name any file directly under that root (unchanged; the parent must canonicalize-equal the root, O_NOFOLLOW on the final component).

Not verified: macOS Test full (Linux box). It doesn't run on pull_request, so the next nightly or main run is the confirmation for #568.

@cursor

cursor Bot commented Oct 29, 2026

Copy link
Copy Markdown

Clear at 9719cac378a49d497c8d6c6b6b95fc22bd2a77c4. Both security items from the Astraea review are clear. No follow-up issue.

Source items: #584 (review)

1. Trusting CARGO_TARGET_DIR — clear

existing_workspace_target (renderer.rs) and existing_target_dir (tests/support/gpu_capability.rs) use CARGO_TARGET_DIR when it is set, and otherwise the parent of this crate's compile-time manifest joined with target. The directory must already exist: canonicalize failure panics, and the writer does not create it. The log's parent has to canonicalize equal to that directory before any create.

That variable is Cargo's target directory. The same user who exports it owns the test process, and Cargo already writes the build tree there. This writer only runs from test paths (headless_for_tests, depth-load skip helpers called from tests, and tests/support/gpu_capability.rs). new_headless does not write the log. A relative value resolves against the process cwd; if that root is not the parent of AW_GPU_SKIP_LOG, the writer panics and does not create the file. CI's Test full job sets AW_GPU_SKIP_LOG to an absolute ${GITHUB_WORKSPACE}/target/gpu-skip-reasons.txt and does not export CARGO_TARGET_DIR, so the compile-time workspace target/ is the root on that job.

2. AW_GPU_SKIP_LOG may name any direct child — clear

Unchanged, and acceptable for this writer. The guard is parent equality after canonicalize, not a basename allowlist, so the file can be any direct child of the root and cannot be a path in a subdirectory. .. that leaves the root fails that equality. An existing symlink at the final component is refused. On Unix the open also sets libc::O_NOFOLLOW, so a swapped final component is not followed. renderer.rs additionally refuses an existing file whose canonical parent is not that directory. The appended line strips \n, \r, and % from the reason.

The env var is the operator's (the workflow sets one absolute path). A test process can already create files under target/. There is no second user, and this does not widen writes past the directory Cargo is already using. Windows does not pass O_NOFOLLOW; symlink_metadata still rejects an existing symlink. That race stays inside the same user's test process, and it is not a privilege boundary.

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.

[annubis][medium][D-CI] main: scheduled Test full (macos) fails: scene memory_accounting test panics on gpu-skip-reasons.txt path outside crate target

2 participants