ci(ai-builder): Gate the mcp-gate eval tier absolutely (no-changelog) (#35762)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Svetoslav Dekov
2026-08-06 17:37:04 +03:00
committed by GitHub
parent 8660662bd3
commit ff37ef5b3f
2 changed files with 3 additions and 1 deletions
@@ -111,7 +111,9 @@ function makeEval(totalRuns: number, cases: CaseSpec[]) {
describe('isGatedTier', () => {
it('is true only for known gated tiers', () => {
expect(isGatedTier('pr')).toBe(true);
expect(isGatedTier('mcp-gate')).toBe(true);
expect(isGatedTier('full')).toBe(false);
expect(isGatedTier('mcp')).toBe(false);
expect(isGatedTier(undefined)).toBe(false);
});
});
@@ -11,4 +11,4 @@
// ---------------------------------------------------------------------------
/** Tiers whose runs assert the absolute gate instead of comparing to a baseline. */
export const GATED_TIER_NAMES: ReadonlySet<string> = new Set(['pr']);
export const GATED_TIER_NAMES: ReadonlySet<string> = new Set(['pr', 'mcp-gate']);