summaryrefslogtreecommitdiff
path: root/src/SomhairlesDream.Server/ArtifactRunApi.fs
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-21 07:54:39 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-21 07:54:39 +0800
commitbba99bea934fe397b6aed59d3f33a5315799fa28 (patch)
tree9a32e7a70c68476d6d6e8e78c7db1bede047e388 /src/SomhairlesDream.Server/ArtifactRunApi.fs
parent56800fbbd4488db20abd4f44f0d39e48599be0ab (diff)
downloadsomhairles-dream-fsharp-bba99bea934fe397b6aed59d3f33a5315799fa28.tar.gz
Harden artifact serving: root-chain link validation, deterministic stream disposal
Diffstat (limited to 'src/SomhairlesDream.Server/ArtifactRunApi.fs')
-rw-r--r--src/SomhairlesDream.Server/ArtifactRunApi.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SomhairlesDream.Server/ArtifactRunApi.fs b/src/SomhairlesDream.Server/ArtifactRunApi.fs
index 48ecc08..6c00d66 100644
--- a/src/SomhairlesDream.Server/ArtifactRunApi.fs
+++ b/src/SomhairlesDream.Server/ArtifactRunApi.fs
@@ -91,7 +91,7 @@ module ArtifactRunApi =
| Error RunNotFound -> error options 404 "run not found"
| Error(RunNotComplete snapshot) -> jsonWithStatus options 409 snapshot
| Error(InvalidManifest message) -> error options 500 message
- | Error(InvalidArtifactPath message) -> error options 500 message
+ | Error(InvalidArtifactPath message) -> error options 400 message
| Error ArtifactNotFound -> error options 500 "manifest not found"
| Error(ArtifactMismatch message) -> error options 500 message