fix(deploy): source immutable packages from current code channel
This commit is contained in:
parent
ee07b4c04b
commit
0bf220c917
9 changed files with 41 additions and 17 deletions
|
|
@ -29,12 +29,13 @@ test("every bridge record binds one existing immutable engineering commit and sa
|
|||
}
|
||||
});
|
||||
|
||||
test("blocked bridge stores no fabricated workorder or deployment receipt", () => {
|
||||
test("blocked bridge stores the approved failed-before-mutation workorder without secrets", () => {
|
||||
const workorder = readJson("tonggan-bridge/workorders/TGB-20260727-001.json");
|
||||
const receipt = readJson("tonggan-bridge/receipts/TGB-20260727-001.json");
|
||||
assert.equal(workorder.workorder_id, null);
|
||||
assert.equal(workorder.owner_email_approval, "not_requested");
|
||||
assert.equal(receipt.deployment_result, "NOT_DEPLOYED");
|
||||
assert.equal(workorder.workorder_id, "56f6ca23-d242-4fab-88f3-81fed692e00d");
|
||||
assert.equal(workorder.owner_email_approval, "approved");
|
||||
assert.equal(receipt.deployment_result, "FAILED_BEFORE_MUTATION");
|
||||
assert.equal(receipt.diagnostic_code, "DEPLOYMENT_SOURCE_COMMIT_NOT_FOUND_IN_CONFIGURED_REPOSITORY");
|
||||
assert.equal(receipt.server_runtime_proven, false);
|
||||
assert.equal(receipt.public_route_proven, false);
|
||||
assert.doesNotMatch(JSON.stringify({ workorder, receipt }), /Bearer |session_token|approval_token|password|private_key/i);
|
||||
|
|
|
|||
Loading…
Reference in a new issue