P01: cross-platform lockfile, regression contracts and verified CI closure (#1)
fix(p01): cross-platform lock, TS regressions and notes [skip ci]
This commit was merged in pull request #1.
This commit is contained in:
1 parent
d8ac96e39d
commit
667a140c4e
22 files changed
+1213
-2812
No files matched your search
@@ -96,7 +96,7 @@ function restoreEnv(): void {
|
||||
async function createOwnerCookie(email = "r4p1-owner@datastack.dev"): Promise<string> {
|
||||
resetAdminStateForTests();
|
||||
await createInitialAdmin(email, "OwnerPassword123!");
|
||||
const secret = getAdminSessionSecret();
|
||||
const secret = getAdminSessionSecret()!;
|
||||
const token = await createAdminSessionToken(
|
||||
email,
|
||||
secret,
|
||||
@@ -531,7 +531,7 @@ test("R4-Phase-01 [AUDIT-09 / ERR-R4-04 & ERR-R4-05]: Fail-loud audit DB degrade
|
||||
assert.equal(unauthSync.status, 401);
|
||||
|
||||
// Owner session v1 works before logout/revocation
|
||||
const secret = getAdminSessionSecret();
|
||||
const secret = getAdminSessionSecret()!;
|
||||
const ownerTokenV1 = await createAdminSessionToken(
|
||||
"r4-audit-owner@datastack.dev",
|
||||
secret,
|
||||
|
||||
Reference in new issue
Block a user