Skip to content

Turn on the Effect lint rules this tree already satisfies - #281

Merged
cursor[bot] merged 1 commit into
masterfrom
cursor/enable-clean-effect-rules-8f83
Nov 20, 2026
Merged

cursor[bot] merged 1 commit into
masterfrom
cursor/enable-clean-effect-rules-8f83

Conversation

@jonbeckman

Copy link
Copy Markdown
Collaborator

Summary

oxlint.config.ts enables the Effect and solzero rules that already pass, so new code cannot drift:

  • effect/throw-in-effect-gen, effect/avoid-any, effect/avoid-ts-ignore, effect/avoid-non-null-assertion, effect/prefer-redacted-config, effect/avoid-direct-tag-checks
  • the solzero composition rules that already pass, including solzero/no-effect-as

Two lines changed so those rules pass:

  • Pause returns Effect.map(() => new MessageResponse(...)) instead of Effect.as.
  • e2e log redaction uses flatMap instead of a non-null assertion.

Left off, because they do not fit:

  • solzero/no-if-statement (74) and solzero/no-ternary (57) would rewrite handlers and charts.
  • solzero/no-return-in-arrow (9) rejects the Drizzle and React callbacks.
  • solzero/prevent-dynamic-imports (3) rejects the Vite plugin imports in packages/app/vite.config.ts.
  • solzero/no-manual-effect-channels (1) rejects the runApi callback contract.

release:none: lint configuration and two equivalent expressions. No package publish.

Validation

  • nub run typecheck
  • nub run lint (clean with the new rules)
  • nub run format
  • nub exec e2e run --strict-cache (9 passed, 6 skipped on the other target)

Checklist

  • I added or updated tests for behavior changes, or explained why tests are not needed.
  • I updated documentation and config examples when behavior or configuration changed.
  • I added a .tegami/ release entry, or explained why this pull request uses release:none.
  • I ran nub run typecheck, nub run lint, nub run format, and nub run test.
  • I did not include credentials, private data, internal URLs, or organization-specific defaults.
  • I did not change production deploys, registry publish, or paid spend.
Open in Web Open in Cursor 

Pause uses Effect.map instead of Effect.as, and the e2e log redaction no longer uses a non-null assertion. Rules that would rewrite handlers, charts, Vite imports, or the runApi contract stay off.

Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
@jonbeckman jonbeckman added the release:none No version bump / Tegami changelog for this PR label Nov 20, 2026 — with Cursor
@jonbeckman
jonbeckman marked this pull request as ready for review November 20, 2026 09:27
@github-actions

Copy link
Copy Markdown
Contributor

Tegami

This repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under .tegami/ before merging.

Create a changelog → · Changelog format

No changelogs yet

This PR has no pending changelog files. If your changes require a release, add a changelog before merging.

Run nub run tegami locally to create a changelog interactively.

Managed by Tegami.

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e solstatus-core: 2 passed, 6 skipped, 7 left out by filters

Change 3 files changed since eaf6058
Filter decision kept 2 of 9 tests, left out 7 (1 call, 4.3k tokens)

7 tests left out by filters
Test Filter Reason
tests/api.e2e.ts (chromium) › app API › anonymous monitor and infra requests are rejected decision 4% likely affected
tests/api.e2e.ts (chromium) › app API › better-auth routes respond without a session decision 4% likely affected
tests/cli.e2e.ts (cli) › prints Effect 4 CLI help without an Effect 3 @effect/cli peer decision 6% likely affected
tests/dashboard.e2e.ts (chromium) › dashboard › dashboard shows endpoint monitors heading and create action decision 5% likely affected
tests/dashboard.e2e.ts (chromium) › dashboard › sidebar exposes Monitors navigation decision 4% likely affected
tests/library.e2e.ts (cli) › createId prefixes endpoint monitor ids and keeps them distinct decision 3% likely affected
tests/library.e2e.ts (cli) › UpdateEndpointMonitor validates url and drops id decision 3% likely affected
All 8 tests in 3 files
Test Time
⏭️ tests/api.e2e.ts (cli) · 3 skipped 0ms
⏭️ app API › anonymous monitor and infra requests are rejected (skipped: engine lacks required capabilities: browser)
⏭️ app API › better-auth routes respond without a session (skipped: engine lacks required capabilities: browser)
⏭️ app API › a signed-in caller can read infra metadata and reject a duplicate quoted URL (skipped: engine lacks required capabilities: browser)
⏭️ tests/dashboard.e2e.ts (cli) · 2 skipped 0ms
⏭️ dashboard › dashboard shows endpoint monitors heading and create action (skipped: engine lacks required capabilities: browser)
⏭️ dashboard › sidebar exposes Monitors navigation (skipped: engine lacks required capabilities: browser)
⏭️ tests/monitors.e2e.ts (cli) · 1 skipped 0ms
⏭️ endpoint monitors › create an endpoint monitor through the dashboard form (skipped: engine lacks required capabilities: browser)
🟢 tests/api.e2e.ts (chromium) · 1 passed 1.0s
🟢 app API › a signed-in caller can read infra metadata and reject a duplicate quoted URL 1.0s
🟢 tests/monitors.e2e.ts (chromium) · 1 passed 4.4s
🟢 endpoint monitors › create an endpoint monitor through the dashboard form 4.4s

Tested by e2e 0.23.0 · 24.3s · 2 targets (chromium, cli) · run artifacts

@cursor
cursor Bot merged commit 5643b28 into master Nov 20, 2026
12 checks passed
@cursor
cursor Bot deleted the cursor/enable-clean-effect-rules-8f83 branch November 20, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:none No version bump / Tegami changelog for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants