Skip to content

fix(ci): disposition effect-patterns violations and wire scan into CI - #1566

Open
dezren39 wants to merge 2 commits into
mainfrom
queue/7181-1496-effect-patterns
Open

dezren39 wants to merge 2 commits into
mainfrom
queue/7181-1496-effect-patterns

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown

Opened by the git hygiene sweep (issue #1371) from previously-unpushed work found in the laptop worktree ~/git/fleet/7181.

The branch carries commit 35a27a4 ("fix(ci): disposition effect-patterns violations and wire scan into CI") merged with origin/effect-patterns-triage at 863e6cd. The sweep pushed the branch and opened this PR; it did not author or modify the work.

Refs #1496


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

repo-worker-opencode and others added 2 commits November 3, 2026 01:26
Triage #1496: the main ast-grep rule scan reported 32 error-level
diagnostics with nothing running it.

- Exclude the vendored packages/core/src/database/drizzle/** tree via
  --globs in lint:effect-patterns (upstream star-import style, already
  /* oxlint-disable */; rewriting would diverge the vendored copy).
- Fix 14 first-party sites: die with new Error (4), drop vacuous
  JSON.parse casts (5), drop createServer alias (1), named platform
  imports in cross-spawn-spawner (2), dedicated import type for the
  colliding SDK type (1), and add a Check Effect patterns step to
  test.yml so new violations fail CI.
- Suppress 3 sites with rationale at the site: schema Messaging alias
  (name taken by the module self-namespace export) and 2 platform-node
  star imports (colliding layer exports, aliases banned, barrel
  unusable under workerd).

Verification: bun run lint:effect-patterns exits 0; test:lint-rules
6/6 and test:effect-simplification-rules 10/10 pass; a synthetic
star-import violation fails the scan; util typechecks clean (core
typecheck still reports the pre-existing model-route.ts TS6133).

Refs #1496
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: de984aa7-6296-40e5-9b37-bec03e1c27db
Commits

Reviewing files that changed from the base of the PR and between 3bd4efa and 863e6cd.

Files selected for processing: 17
  • .github/workflows/test.yml
  • package.json
  • packages/core/src/aisdk.ts
  • packages/core/src/codemode/web.ts
  • packages/core/src/database/sqlite.workerd.ts
  • packages/core/src/mcp/client.ts
  • packages/core/src/messaging.ts
  • packages/core/src/plugin/provider/chatgpt.ts
  • packages/core/src/plugin/provider/openai.ts
  • packages/core/src/tool/read-filesystem.ts
  • packages/core/src/tool/runtime.ts
  • packages/core/src/workspace.ts
  • packages/server/src/handlers/completions.ts
  • packages/server/src/inherited-socket.ts
  • packages/util/src/cross-spawn-spawner.ts
  • packages/util/src/effect/app-node-platform.ts
  • packages/util/src/observability.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T21:23:56.772801Z 863e6cd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Labels

queue/queued Has a queued task in the Supabase agent queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant