mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-10 06:42:21 +00:00
TASK-3909cbf6-10c6-44ce-b82e-5bfb62cf34c8 isolate dashboard artifacts
This commit is contained in:
1 parent
cb145e56cb
commit
014bdb4f97
4 files changed
+186
-8
No files matched your search
@@ -2531,3 +2531,31 @@ test_integrity_note:
|
||||
did_relax_any_assertion: false
|
||||
if_true_explain_spec_basis: ""
|
||||
```
|
||||
|
||||
# Standalone dashboard artifact isolation (2026-10-01)
|
||||
|
||||
```yaml
|
||||
test_integrity_note:
|
||||
change_type: new_tests
|
||||
scenarios:
|
||||
- id: SCN-dashboard-artifacts
|
||||
given: "The dashboard test runs without an artifact environment, with an external runner directory, or with a repository/worktree target"
|
||||
when: "It chooses the screenshot output boundary before the browser or screenshot writer starts"
|
||||
then: "The default is a retained fresh external directory with provenance and hashes; explicit external output is honored; repository and symlink-resolved worktree targets fail before protected bytes change"
|
||||
observable_outcomes:
|
||||
- "Printed artifact directory, provenance, relative names, byte counts and SHA-256 hashes"
|
||||
- "Refusal code for direct and symlink-resolved tracked-worktree destinations"
|
||||
- "Unchanged tracked baseline bytes after refusal"
|
||||
determinism_controls:
|
||||
- "Disposable Git worktrees and temporary directories"
|
||||
- "Fixed fixture bytes and SHA-256 assertions; no browser, network, sleep or retry is needed for the boundary scenarios"
|
||||
anti_cheat_rationale:
|
||||
prevents:
|
||||
- "Silently falling back to tracked golden-image paths"
|
||||
- "Bypassing repository protection through a symlink"
|
||||
- "Claiming runner output without exact retained evidence provenance"
|
||||
- "Masking a protected-write failure by changing golden assertions"
|
||||
relaxation:
|
||||
did_relax_any_assertion: false
|
||||
if_true_explain_spec_basis: ""
|
||||
```
|
||||
Reference in new issue
Block a user