test: align historic sql pattern skill with shards

This commit is contained in:
Andrey Avtomonov 2026-05-11 20:21:39 +02:00
parent 3e11e33b8a
commit 8deac9d530
3 changed files with 13 additions and 10 deletions

View file

@ -102,11 +102,11 @@ class HistoricSqlAcceptanceAgentRunner extends AgentRunnerService {
}
}
if (params.telemetryTags.unitKey === 'historic-sql-patterns') {
if (params.telemetryTags.unitKey === 'historic-sql-patterns-part-0001') {
const result = await emitEvidence.execute(
{
kind: 'pattern',
rawPath: 'patterns-input.json',
rawPath: 'patterns-input/part-0001.json',
pattern: {
slug: 'paid-order-lifecycle',
title: 'Paid Order Lifecycle',

View file

@ -85,7 +85,7 @@ describe('ingest runtime assets', () => {
const body = await readFile(join(skills[0]!.path, 'SKILL.md'), 'utf-8');
expect(body).toContain('# Historic SQL Patterns');
expect(body).toContain('patterns-input.json');
expect(body).toContain('patterns-input/part-0001.json');
expect(body).toContain('patternsArraySchema');
expect(body).toContain('emit_historic_sql_evidence');
expect(body).toContain('cross-table');