mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-28 16:58:31 +01:00
Keep the serialization pre-install control bound to its CI job
Follow the frontend build/audit/runtime job split and bound extraction to that job rather than searching the remaining workflow. Keep every serializer graph, pre-install ordering and strict-audit assertion unchanged. Contract-Neutral: Existing security-proof adapter follows the candidate CI job split; no dependency graph, runtime or contract property changes. Change-source: pulse-maintainer
This commit is contained in:
@@ -172,7 +172,9 @@ test('prereleases and malformed locked versions cannot claim compatibility', ()
|
||||
|
||||
test('CI fails the graph check before installation without relaxing the audit', () => {
|
||||
const workflow = readFileSync(new URL('../../.github/workflows/build-and-test.yml', import.meta.url), 'utf8');
|
||||
const frontend = workflow.slice(workflow.indexOf('\n frontend:'));
|
||||
const job = /\n frontend-checks:\n([\s\S]*?)(?=\n [\w-]+:\n|$)/.exec(workflow);
|
||||
assert.ok(job, 'the build/audit/runtime job must contain the graph check');
|
||||
const frontend = job[1];
|
||||
const check = frontend.indexOf('- name: Check Solid serialization dependency edges');
|
||||
const install = frontend.indexOf('- name: Install frontend dependencies');
|
||||
assert.ok(check >= 0 && check < install);
|
||||
|
||||
Reference in New Issue
Block a user