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
{{ message }}
Repository navigation
Commit 8dfdef5
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Harden workflow YAML and scanner file handling (#67473)
* Initial plan
* Harden maintenance YAML and scanner file handling
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Complete descriptor I/O and evidence hardening
Handle partial descriptor reads and writes with shared helpers, reject replaced TLC log artifacts, and bound ledger reads despite concurrent growth. Add focused regression coverage.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <jhalleux@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
if(bytesWritten===0)thrownewError("Unable to make progress writing JSON evidence");
44
+
offset+=bytesWritten;
45
+
}
46
+
}
47
+
18
48
functionclassify(exitCode,signal,timedOut,log){
19
49
if(timedOut)return"timed_out";
20
50
if(exitCode===0&&!signal&&log.includes("Model checking completed. No error has been found.")&&/(?:^|\n)\d+statesgenerated,\d+distinctstatesfound,0statesleftonqueue\.(?:\r?\n|$)/.test(log))return"passed";
@@ -162,8 +192,8 @@ async function runVerification(options) {
constSUCCESS="Model checking completed. No error has been found.\n42 states generated, 21 distinct states found, 0 states left on queue.\nThe depth of the complete state graph search is 7.\n";
13
13
constINVARIANT_FALSE="Error: The invariant of DAGValidity is equal to FALSE\n";
@@ -47,6 +47,12 @@ if (mode === "passed") {
47
47
} else if (mode === "violation") {
48
48
console.error("Error: Invariant Safety is violated.");
0 commit comments