Skip to content

Schema: refactor "length" filters, closes #989#1270

Merged
gcanti merged 4 commits intomainfrom
fix-989
Feb 17, 2026
Merged

Schema: refactor "length" filters, closes #989#1270
gcanti merged 4 commits intomainfrom
fix-989

Conversation

@gcanti
Copy link
Contributor

@gcanti gcanti commented Feb 17, 2026

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2026

📊 JSDoc Documentation Analysis

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

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

📊 SUMMARY STATISTICS
------------------------------
Total files analyzed: 125
Total exported members: 4029
Missing @example: 1949 (48.4%)
Missing @category: 435 (10.8%)

🎯 TOP FILES NEEDING ATTENTION
----------------------------------------
1. Schema.ts
   📝 458 missing examples, 🏷️  262 missing categories
   📦 458 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. Predicate.ts
   📝 57 missing examples, 🏷️  0 missing categories
   📦 57 total exports
10. SchemaGetter.ts
   📝 49 missing examples, 🏷️  0 missing categories
   📦 49 total exports
11. SchemaTransformation.ts
   📝 29 missing examples, 🏷️  18 missing categories
   📦 29 total exports
12. Result.ts
   📝 45 missing examples, 🏷️  0 missing categories
   📦 45 total exports
13. Config.ts
   📝 33 missing examples, 🏷️  5 missing categories
   📦 33 total exports
14. Types.ts
   📝 36 missing examples, 🏷️  0 missing categories
   📦 36 total exports
15. JsonSchema.ts
   📝 17 missing examples, 🏷️  17 missing categories
   📦 17 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)
   Match.ts (57 exports)
   MutableHashSet.ts (9 exports)
   MutableRef.ts (17 exports)
   NonEmptyIterable.ts (3 exports)
   Random.ts (7 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 60): missing example, category
   Mutability (type, line 67): missing example, category
   ConstructorDefault (type, line 74): missing example, category
   MakeOptions (interface, line 82): missing example, category
   Bottom (interface, line 106): missing example, category
   declareConstructor (interface, line 158): missing example, category
   declareConstructor (function, line 182): missing example
   declare (interface, line 206): missing example
   declare (function, line 215): missing example, category
   revealBottom (function, line 235): missing example, category

📋 BREAKDOWN BY EXPORT TYPE
-----------------------------------
const: 976 missing examples, 123 missing categories
interface: 302 missing examples, 124 missing categories
type: 230 missing examples, 71 missing categories
function: 337 missing examples, 96 missing categories
namespace: 47 missing examples, 20 missing categories
class: 57 missing examples, 1 missing categories

📈 DOCUMENTATION PROGRESS
------------------------------
Examples: 2080/4029 (51.6% complete)
Categories: 3594/4029 (89.2% complete)

============================================================
Analysis complete! 2384 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 17, 2026

Bundle Size Analysis

File Name Current Size Previous Size Difference
basic.ts 6.27 KB 6.27 KB 0.00 KB (0.00%)
batching.ts 8.52 KB 8.52 KB 0.00 KB (0.00%)
brand.ts 6.21 KB 6.21 KB 0.00 KB (0.00%)
cache.ts 9.73 KB 9.73 KB 0.00 KB (0.00%)
config.ts 16.34 KB 16.34 KB 0.00 KB (0.00%)
differ.ts 14.54 KB 14.54 KB 0.00 KB (0.00%)
http-client.ts 19.14 KB 19.14 KB 0.00 KB (0.00%)
logger.ts 8.88 KB 8.88 KB 0.00 KB (0.00%)
metric.ts 8.80 KB 8.80 KB 0.00 KB (0.00%)
optic.ts 7.46 KB 7.46 KB 0.00 KB (0.00%)
pubsub.ts 13.34 KB 13.34 KB 0.00 KB (0.00%)
queue.ts 11.08 KB 11.08 KB 0.00 KB (0.00%)
schedule.ts 10.02 KB 10.02 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 24.23 KB 24.12 KB +0.11 KB (+0.45%)
schema-string-transformation.ts 11.57 KB 11.57 KB 0.00 KB (0.00%)
schema-string.ts 9.80 KB 9.80 KB 0.00 KB (0.00%)
schema-template-literal.ts 12.33 KB 12.33 KB 0.00 KB (0.00%)
schema-toArbitraryLazy.ts 16.54 KB 16.54 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 19.43 KB 19.42 KB +0.01 KB (+0.07%)
schema-toCodecJson.ts 15.40 KB 15.40 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 15.69 KB 15.69 KB 0.00 KB (0.00%)
schema-toFormatter.ts 15.54 KB 15.54 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 18.15 KB 18.15 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 16.34 KB 16.34 KB 0.00 KB (0.00%)
schema.ts 15.18 KB 15.18 KB 0.00 KB (0.00%)
stm.ts 12.09 KB 12.09 KB 0.00 KB (0.00%)
stream.ts 8.75 KB 8.75 KB 0.00 KB (0.00%)

@IMax153 IMax153 linked an issue Feb 17, 2026 that may be closed by this pull request
@gcanti gcanti marked this pull request as ready for review February 17, 2026 14:21
@gcanti gcanti merged commit 39355cb into main Feb 17, 2026
13 checks passed
@gcanti gcanti deleted the fix-989 branch February 17, 2026 14:28
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.

Missing {min, max} overload for Schema.isLength

1 participant