Skip to content

add ErrorReporter module#1409

Merged
tim-smart merged 7 commits intomainfrom
error-reporting
Feb 22, 2026
Merged

add ErrorReporter module#1409
tim-smart merged 7 commits intomainfrom
error-reporting

Conversation

@tim-smart
Copy link
Collaborator

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 22, 2026

🦋 Changeset detected

Latest commit: baac474

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 26 packages
Name Type
effect Patch
@effect/opentelemetry Patch
@effect/platform-browser Patch
@effect/platform-bun Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/vitest Patch
@effect/ai-anthropic Patch
@effect/ai-openai-compat Patch
@effect/ai-openai Patch
@effect/ai-openrouter Patch
@effect/atom-react Patch
@effect/atom-solid Patch
@effect/atom-vue Patch
@effect/sql-clickhouse Patch
@effect/sql-d1 Patch
@effect/sql-libsql Patch
@effect/sql-mssql Patch
@effect/sql-mysql2 Patch
@effect/sql-pg Patch
@effect/sql-sqlite-bun Patch
@effect/sql-sqlite-do Patch
@effect/sql-sqlite-node Patch
@effect/sql-sqlite-react-native Patch
@effect/sql-sqlite-wasm Patch
@effect/openapi-generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 22, 2026

📊 JSDoc Documentation Analysis

📈 Current Analysis Results
Analyzing 129 TypeScript files in packages/effect/src/ (including schema and config subdirectories)...

============================================================
         EFFECT JSDOC ANALYSIS REPORT
============================================================

📊 SUMMARY STATISTICS
------------------------------
Total files analyzed: 129
Total exported members: 4106
Missing @example: 2032 (49.5%)
Missing @category: 450 (11.0%)

🎯 TOP FILES NEEDING ATTENTION
----------------------------------------
1. Schema.ts
   📝 478 missing examples, 🏷️  266 missing categories
   📦 478 total exports
2. Array.ts
   📝 133 missing examples, 🏷️  2 missing categories
   📦 138 total exports
3. SchemaRepresentation.ts
   📝 96 missing examples, 🏷️  12 missing categories
   📦 96 total exports
4. SchemaAST.ts
   📝 77 missing examples, 🏷️  21 missing categories
   📦 77 total exports
5. Cause.ts
   📝 75 missing examples, 🏷️  2 missing categories
   📦 75 total exports
6. Channel.ts
   📝 73 missing examples, 🏷️  0 missing categories
   📦 144 total exports
7. Option.ts
   📝 66 missing examples, 🏷️  3 missing categories
   📦 66 total exports
8. Sink.ts
   📝 62 missing examples, 🏷️  2 missing categories
   📦 79 total exports
9. SchemaTransformation.ts
   📝 35 missing examples, 🏷️  24 missing categories
   📦 35 total exports
10. Predicate.ts
   📝 57 missing examples, 🏷️  0 missing categories
   📦 57 total exports
11. SchemaGetter.ts
   📝 49 missing examples, 🏷️  0 missing categories
   📦 49 total exports
12. Result.ts
   📝 46 missing examples, 🏷️  0 missing categories
   📦 46 total exports
13. Config.ts
   📝 33 missing examples, 🏷️  5 missing categories
   📦 33 total exports
14. Types.ts
   📝 37 missing examples, 🏷️  0 missing categories
   📦 37 total exports
15. JsonSchema.ts
   📝 16 missing examples, 🏷️  16 missing categories
   📦 16 total exports

✅ PERFECTLY DOCUMENTED FILES
-----------------------------------
   Chunk.ts (87 exports)
   Clock.ts (5 exports)
   FiberHandle.ts (15 exports)
   FiberMap.ts (19 exports)
   FiberSet.ts (14 exports)
   HKT.ts (4 exports)
   HashMap.ts (44 exports)
   HashSet.ts (21 exports)
   Latch.ts (3 exports)
   Match.ts (57 exports)
   MutableHashSet.ts (9 exports)
   MutableRef.ts (17 exports)
   NonEmptyIterable.ts (3 exports)
   Random.ts (8 exports)
   Redacted.ts (9 exports)
   RegExp.ts (3 exports)
   Runtime.ts (3 exports)
   Symbol.ts (1 exports)
   Trie.ts (29 exports)
   TxChunk.ts (22 exports)
   TxHashMap.ts (41 exports)
   TxHashSet.ts (24 exports)
   TxRef.ts (7 exports)
   TxSemaphore.ts (14 exports)
   Unify.ts (8 exports)
   index.ts (0 exports)

🔍 SAMPLE MISSING ITEMS FROM Schema.ts
-----------------------------------
   Optionality (type, line 63): missing example, category
   Mutability (type, line 70): missing example, category
   ConstructorDefault (type, line 77): missing example, category
   MakeOptions (interface, line 85): missing example, category
   Bottom (interface, line 109): missing example, category
   declareConstructor (interface, line 161): missing example, category
   declareConstructor (function, line 185): missing example
   declare (interface, line 209): missing example
   declare (function, line 218): missing example, category
   revealBottom (function, line 238): missing example, category

📋 BREAKDOWN BY EXPORT TYPE
-----------------------------------
const: 1028 missing examples, 130 missing categories
interface: 316 missing examples, 130 missing categories
type: 241 missing examples, 74 missing categories
function: 340 missing examples, 95 missing categories
namespace: 48 missing examples, 20 missing categories
class: 59 missing examples, 1 missing categories

📈 DOCUMENTATION PROGRESS
------------------------------
Examples: 2074/4106 (50.5% complete)
Categories: 3656/4106 (89.0% complete)

============================================================
Analysis complete! 2482 items need attention.
============================================================

📄 Detailed results saved to: jsdoc-analysis-results.json

This comment is automatically updated on each push. View the analysis script for details.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 22, 2026

Bundle Size Analysis

File Name Current Size Previous Size Difference
basic.ts 6.33 KB 6.33 KB 0.00 KB (0.00%)
batching.ts 8.62 KB 8.62 KB 0.00 KB (0.00%)
brand.ts 6.24 KB 6.24 KB 0.00 KB (0.00%)
cache.ts 9.82 KB 9.82 KB 0.00 KB (0.00%)
config.ts 16.43 KB 16.43 KB 0.00 KB (0.00%)
differ.ts 14.63 KB 14.63 KB 0.00 KB (0.00%)
http-client.ts 19.57 KB 19.57 KB 0.00 KB (0.00%)
logger.ts 9.79 KB 9.79 KB 0.00 KB (0.00%)
metric.ts 8.91 KB 8.91 KB 0.00 KB (0.00%)
optic.ts 7.49 KB 7.49 KB 0.00 KB (0.00%)
pubsub.ts 13.44 KB 13.44 KB 0.00 KB (0.00%)
queue.ts 11.17 KB 11.17 KB 0.00 KB (0.00%)
schedule.ts 10.12 KB 10.12 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 24.33 KB 24.33 KB 0.00 KB (0.00%)
schema-string-transformation.ts 12.09 KB 12.09 KB 0.00 KB (0.00%)
schema-string.ts 9.86 KB 9.86 KB 0.00 KB (0.00%)
schema-template-literal.ts 12.41 KB 12.41 KB 0.00 KB (0.00%)
schema-toArbitraryLazy.ts 16.63 KB 16.63 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 19.55 KB 19.55 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 15.51 KB 15.51 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 15.79 KB 15.79 KB 0.00 KB (0.00%)
schema-toFormatter.ts 15.65 KB 15.65 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 18.25 KB 18.25 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 16.43 KB 16.43 KB 0.00 KB (0.00%)
schema.ts 15.28 KB 15.28 KB 0.00 KB (0.00%)
stm.ts 12.16 KB 12.16 KB 0.00 KB (0.00%)
stream.ts 8.86 KB 8.86 KB 0.00 KB (0.00%)

@tim-smart tim-smart marked this pull request as ready for review February 22, 2026 10:11
@tim-smart tim-smart force-pushed the error-reporting branch 3 times, most recently from 7f6b6c9 to ce094f5 Compare February 22, 2026 21:38
@tim-smart tim-smart merged commit e4cb2f5 into main Feb 22, 2026
14 checks passed
@tim-smart tim-smart deleted the error-reporting branch February 22, 2026 21:58
pixeleet pushed a commit to type-driven/effect-smol that referenced this pull request Feb 23, 2026
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