mirror of
https://github.com/n8n-io/n8n.git
synced 2026-08-30 18:01:23 +08:00
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:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user