Skip to content

test(api): add fixture to exercise anti-slop CI gate - #155

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
zz/gate-demo-do-not-merge
Closed

test(api): add fixture to exercise anti-slop CI gate#155
github-actions[bot] wants to merge 1 commit into
mainfrom
zz/gate-demo-do-not-merge

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Do not merge. Do not delete yet. This branch exists purely so the anti-slop gate from #153 can be inspected failing, on a real PR, with real annotations.

It adds one deliberately sloppy file, apps/api/src/zz-slop-demo.ts, covering five rules at once:

Rule What triggers it
no-unsafe-dictionary-type type Settings = Record<string, unknown>
no-unknown-parameters readSettings(value: unknown)
no-runtime-typeof typeof value === "object" standing in for a parser
no-chained-type-assertions settings.label as unknown as string
no-conditional-empty-object-spread ...(tag ? { industry: tag } : {}) in a Prisma where

What to look at

  • The check-types, lint, test check is red, and it failed on the bun run lint:slop step.
  • bun run test never ran. The job uses shell: /usr/bin/bash -e, so it aborts at the first failing step — slop fails fast rather than burning the full suite first.
  • The violations appear as inline annotations on the Files-changed tab, with file, line and the reason, so a reviewer never has to open the logs.

Worth knowing

Getting this branch pushed at all required --no-verify. The pre-push hook refused it first, with the same failure — so this red run only happens for someone who deliberately bypassed the local check and then ignored CI.

Close and delete the branch whenever you have seen enough.

Deliberately sloppy file covering five rules at once. This branch exists
so the red CI run and its inline annotations can be inspected. It must
never be merged.
@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crm-agent Ready Ready Preview Aug 13, 2026 10:07pm
crm-api Ready Ready Preview Aug 13, 2026 10:07pm
crm-app Ready Ready Preview Aug 13, 2026 10:07pm

Request Review

@ripgrim ripgrim changed the title test(api): add fixture to verify anti-slop CI gate fails DO NOT MERGE — demo: anti-slop gate failing CI Aug 13, 2026
@github-actions github-actions Bot changed the title DO NOT MERGE — demo: anti-slop gate failing CI test(api): add fixture to exercise anti-slop CI gate Aug 13, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@ripgrim

ripgrim commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Demo served its purpose — the gate from #153 fails CI on real slop, with inline annotations, and stops before bun run test runs. Closing and deleting the branch.

@ripgrim ripgrim closed this Aug 13, 2026
@ripgrim
ripgrim deleted the zz/gate-demo-do-not-merge branch August 13, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant