optional base-directory override (defaults to resolveLocalArtifactBaseDir); must match the store's base dir
Fetch the serialized artifact bytes previously stored under fileId.
the MLModel.ArtifactFileID value
Optional_contextUser: UserInforequest user — required server-side for isolation/audit
the artifact bytes, or null when not found
The single production IArtifactLoader — the read-side inverse of MJFilesArtifactStore. Given a fileId (= the real
MJ: Filesrow id the artifact was stored under), it reads the bytes from local disk at<baseDir>/<fileId>.binand returns them, ornullwhen the file is absent.A missing file is a normal, expected
null(the model has no persisted artifact); only a genuine I/O failure (permissions, corruption) is logged.NOT for multi-host production — it can only read paths on the machine the artifact was written to. Production follow-up: replace the local
readFilewith a providerGetObjectkeyed by the File id; the id contract is unchanged.