Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const REISSUED_583_ADMISSION_FINGERPRINT = '817ab57d30cc89dab4a81016f5c826857b8d
const CURRENT_PLAN_MANIFEST_DIGEST = 'bda91890329f1da236a0cddbafa65afe25ff986fb1aa0b04594d2c79d521f70a';
const BASE_LEDGER_MIGRATION = readFileSync(new URL('../../../src/db/migrations/582_addie_fixed_trace_component_smoke_private_ledger.sql', import.meta.url), 'utf8');
const REISSUED_GUARD_MIGRATION = readFileSync(new URL('../../../src/db/migrations/583_reissue_addie_fixed_trace_component_smoke_plan_guard.sql', import.meta.url), 'utf8');
const GA_REISSUE_MIGRATION = readFileSync(new URL('../../../src/db/migrations/615_reissue_addie_fixed_trace_component_smoke_3_2_ga.sql', import.meta.url), 'utf8');
const GA_REISSUE_MIGRATION = readFileSync(new URL('../../../src/db/migrations/616_reissue_addie_fixed_trace_component_smoke_3_2_ga.sql', import.meta.url), 'utf8');

async function rejects(statement: string, values: unknown[] = [], subject = client!) {
await subject.query('SAVEPOINT private_ledger_expected_failure');
Expand Down
3 changes: 1 addition & 2 deletions static/compliance/published-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"npm_tags": [
"adcp-3.0",
"latest",
"rc",
"beta"
"rc"
],
"package_only_versions": [
"3.0.24",
Expand Down
9 changes: 8 additions & 1 deletion tests/docs-nav-validation.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,14 @@ test('OpenAPI navigation uses release-pinned public sources', () => {
function stableDocsRef() {
if (process.env.STABLE_DOCS_REF) return process.env.STABLE_DOCS_REF;
const line = /^(\d+\.\d+)$/.exec(defaultVersion)?.[1];
return line ? `origin/${line}.x` : null;
if (!line) return null;
const branch = `${line}.x`;
// On the stable maintenance branch itself, or a pull request into it, the
// branch is its own release surface. Comparing against its pre-change tip
// would reject every navigation change there, including the GA flip that
// makes it the stable surface.
if ((process.env.GITHUB_BASE_REF || process.env.GITHUB_REF_NAME) === branch) return 'HEAD';
return `origin/${branch}`;
}

test('default navigation matches the stable release branch surface', () => {
Expand Down
Loading