GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Move mechanical Bugbot rules to lint and CI checks · Issue #26852 · getsentry/sentry-javascript

Move mechanical Bugbot rules to lint and CI checks #26852

New issue
Copy link
New issue
Copy link
Backlog
Backlog
Move mechanical Bugbot rules to lint and CI checks#26852
Copy link

Description

@sentry-junior
sentry-junior
bot
opened on Nov 25, 2026
Issue body actions

Several rules in .cursor/BUGBOT.md are mechanical enough to enforce with Oxlint, test harness checks, or CI scripts instead of AI review. Counts below are rough scans of packages/*/src at cee40e6.

Zero/near-zero baseline (turn on now)

  • chore(lint): Move mechanical Bugbot rules to lint and the test runner #26854
  • chore(lint): Forbid non-null assertions in SDK source #26856

New sdk/* lint rules

  • chore(lint): Require a DEBUG_BUILD gate on debug logs in browser-facing code #26861
  • chore(lint): Allow console calls in SDK source only inside consoleSandbox #26860
  • fix: Unref fetch and react-router timeout timers, require unref'd server timers #26881
  • chore(lint): Require a mechanism on captureException calls in SDK code #26880
  • Hard-coded attribute/op strings that have a @sentry/conventions constant (src and tests).
  • Literal sentry.origin values matching the trace origin spec (0 current violations).

Test harness checks

  • Validate sentry.origin, sentry.op, and mechanism.type on every captured span/event in node, browser, and E2E test helpers. Most startSpan* calls pass attributes through variables, so lint can't see them.

CI scripts

  • dependencies allowlist for core, browser, browser-utils.
  • bundler-tests check that a bare import '@sentry/browser' / core tree-shakes to an empty bundle (both declare sideEffects: false).
  • Export snapshot per package that fails on removals unless changelog/migration docs change.

Stale Bugbot rules to remove

  • chore(lint): Move mechanical Bugbot rules to lint and the test runner #26854

Judgment rules (error swallowing vs double capture, dataCollection and sanitization through helpers, scope/client API necessity, breaking changes, test quality) stay in Bugbot. Once a rule is enforced, remove it from BUGBOT.md.

via @mydea.

--

View Session [Sentry]

Activity

  1. linear-code commented on Nov 25, 2026

    @linear-code
    linear-codeBot
    on Nov 25, 2026 – with Linear Code
    More actions

    JS-4154

  2. sentry-junior
    added 4 commits that reference this issue on Nov 25, 2026

    chore(lint): Enforce zero-baseline Bugbot rules with Oxlint

    091c3d3

    feat(eslint-plugin-sdk): Add no-unsafe-html-writes rule

    0320594

    test(node-integration-tests): Fail when a Docker Compose service has …

    55f5daf

    test(node-integration-tests): Lint direct Node version checks in suites

    4bda69e
  3. mydea
    added a commit that references this issue on Nov 25, 2026

    chore(lint): Forbid non-null assertions in SDK source (#26856)

    0d64aab
  4. sentry-junior
    added 2 commits that reference this issue on Nov 25, 2026

    test(node-integration-tests): Treat a NONE healthcheck test as missing

    11d4958

    chore(lint): Ban Node built-in imports in more browser and edge packages

    86e6e29
  5. mydea
    added a commit that references this issue on Nov 25, 2026

    chore(lint): Move mechanical Bugbot rules to lint and the test runner (…

    3069940
  6. sentry-junior
    added a commit that references this issue on Nov 25, 2026

    chore(lint): Require a DEBUG_BUILD gate on debug logs in browser-faci…

    d464ccc
  7. mydea
    added 2 commits that reference this issue on Nov 25, 2026

    chore(lint): Require a DEBUG_BUILD gate on debug logs in browser-faci…

    fc11404

    test(node): Check docker-compose healthchecks in a static test (#26884)

    5b76329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.