fix(ci): enforce Docker E2E boundary guard (#104797)

This commit is contained in:
Peter Steinberger
2026-07-11 16:56:46 -07:00
committed by GitHub
parent 02dc25a1b5
commit 3f7c78319a
2 changed files with 9 additions and 0 deletions
@@ -16,6 +16,7 @@ const MAX_TIMER_TIMEOUT_MS = 2_147_000_000;
export const BOUNDARY_CHECKS = [
["prompt:snapshots:check", "pnpm", ["prompt:snapshots:check"]],
["plugin-extension-boundary", "pnpm", ["run", "lint:plugins:no-extension-imports"]],
["lint:docker-e2e", "pnpm", ["run", "lint:docker-e2e"]],
["lint:tmp:no-random-messaging", "pnpm", ["run", "lint:tmp:no-random-messaging"]],
["lint:tmp:channel-agnostic-boundaries", "pnpm", ["run", "lint:tmp:channel-agnostic-boundaries"]],
["lint:tmp:tsgo-core-boundary", "pnpm", ["run", "lint:tmp:tsgo-core-boundary"]],
@@ -213,6 +213,14 @@ describe("run-additional-boundary-checks", () => {
});
});
it("keeps the Docker E2E package guard in CI boundary checks", () => {
expect(BOUNDARY_CHECKS).toContainEqual({
label: "lint:docker-e2e",
command: "pnpm",
args: ["run", "lint:docker-e2e"],
});
});
it("keeps the Telegram grammY type import guard in source boundary checks", () => {
expect(BOUNDARY_CHECKS).toContainEqual({
label: "lint:extensions:telegram-grammy-types",