Skip to content

add native Effect diagnostics API#197

Merged
mattiamanzati merged 2 commits into
mainfrom
feat/effect-diagnostics-api
May 13, 2026
Merged

add native Effect diagnostics API#197
mattiamanzati merged 2 commits into
mainfrom
feat/effect-diagnostics-api

Conversation

@mattiamanzati
Copy link
Copy Markdown
Contributor

Summary

  • add a new native getEffectDiagnostics API hook that resolves a source file, ensures it is type-checked, and delegates Effect rule execution through an externally registered callback
  • factor the existing checker-only Effect diagnostics flow into a shared internal/rulerunner so checker diagnostics and direct API calls use the same rule selection, directive handling, severity mapping, and override resolution
  • register the API implementation through a new etsapihooks package, add a changeset, and generate a new shim/api package so the hook can be wired without importing TypeScript-Go internals directly

Validation

  • pnpm setup-repo
  • pnpm check
  • pnpm lint
  • full pnpm test not run

@mattiamanzati mattiamanzati merged commit 50753fe into main May 13, 2026
5 checks passed
@mattiamanzati mattiamanzati deleted the feat/effect-diagnostics-api branch May 13, 2026 08:44
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