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:
pulse-triage[bot]
2026-10-29 16:33:08 +00:00
parent bd20f7ce54
commit 0e26d4ab71

View File

@@ -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);