You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
||binding.currentJobId===preBinding.currentJobId)mismatch('continuation-current-job-stale','Raw current job binding does not prove the exact pre-reservation CAS transition.');
if(jobs.length!==2||newSet(jobs.map((job)=>job?.id)).size!==jobs.length)mismatch('continuation-job-identity','Raw job evidence contains extra or duplicate identities.');
if(!Array.isArray(jobBytes)||jobBytes.length!==2)mismatch('continuation-job-identity','Exactly two raw persisted job files are required.');
1211
1209
if(jobBytes.some((bytes)=>typeofbytes!=='string'||!bytes.endsWith('\n')))mismatch('continuation-job-record','Raw persisted job file bytes are invalid.');
1212
1210
constrouted=jobBytes.map((bytes)=>{letvalue;try{value=JSON.parse(bytes);}catch{mismatch('continuation-job-record','Raw persisted job bytes are malformed.');}if(!/^[a-f0-9]{64}$/u.test(value?.id))mismatch('continuation-job-record','Raw persisted job identity is invalid.');return{ bytes,id: value.id, value };});
constinstalledStorage=awaitresolveReadonlyQualificationStorage(suppliedRoot,expected.workspace,permissionModel).catch(()=>mismatch('continuation-job-record','Observed installed job storage is unsafe or absent.'));
1213
+
constinstalledStorage=awaitresolveReadonlyQualificationStorage(suppliedRoot,expected.workspace).catch(()=>mismatch('continuation-job-record','Observed installed job storage is unsafe or absent.'));
if(awaitreadFile(join(installedJobs,`${id}.json`),'utf8').catch(()=>null)!==bytes)mismatch('continuation-job-record','Observed installed job bytes do not match their persisted source files.');
@@ -1341,7 +1339,7 @@ async function validateContinuationWorkspaceBinding(input, expected, active) {
mismatch('continuation-artifact-location','Workspace-bound artifact storage resolved to another workspace.');
@@ -1404,19 +1402,13 @@ async function validateContinuationArtifactLocations(input, evidence, permission
1404
1402
if(remaining.length!==0)mismatch('continuation-artifact-location','Workspace-bound artifact evidence contains an unaccounted duplicate or substitute.');
0 commit comments