Add project constitution and enhance Profiler with namespace support#4
Merged
Add project constitution and enhance Profiler with namespace support#4
Conversation
…ace support test: add comprehensive tests for CompressionUtils, CryptoUtils, FormUtils, Logger, and Profiler
Contributor
📦 Bundle Size ReportTotal dist size: 1.4M View detailed breakdown |
Contributor
📊 Code Coverage ReportCoverage: % ❌ Low coverage - please add more tests |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
📦 Bundle Size ReportTotal dist size: 1.4M View detailed breakdown |
Contributor
📊 Code Coverage ReportCoverage: % ❌ Low coverage - please add more tests |
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Contributor
📦 Bundle Size ReportTotal dist size: 1.4M View detailed breakdown |
Contributor
📊 Code Coverage ReportCoverage: % ❌ Low coverage - please add more tests |
Contributor
📊 Code Coverage ReportCoverage: % ❌ Low coverage - please add more tests |
Contributor
📦 Bundle Size ReportTotal dist size: 1.4M View detailed breakdown |
Contributor
📊 Code Coverage ReportCoverage: 96.12% ✅ Great coverage! |
|
Contributor
📊 Code Coverage ReportCoverage: % ❌ Low coverage - please add more tests |
sebamar88
added a commit
that referenced
this pull request
Mar 29, 2026
- RequestQueue: priority-aware concurrency-limited task queue - Three fixed priority lanes: high > normal > low - AbortSignal-based cancellation (AddOptions.signal consumer path) - onError callback for error isolation without stopping the queue - size / running / pending observable state getters - flush() waiter pattern (resolves when all tasks settle) - RequestBatcher: time-window HTTP request deduplication - Fixed and sliding window modes - maxSize early flush - Custom keyFn override - Shared result for all same-key callers in a window - ApiClient integration (transparent, backward-compatible) - queue?: RequestQueueOptions (concurrency-limited requests) - batch?: BatchOptions (time-window deduplication) - Legacy pool option continues to work; queue takes priority - 47 new tests (673 total, 0 failures) - request-queue.test.ts: 15 tests (US1 + US2) - request-batcher.test.ts: 15 tests (US3, fake timers) - request-queue-api-client.test.ts: 4 tests (US4) - Coverage: request-queue.ts 100%, request-batcher.ts 97.43% - Examples: request-queue-example.ts + request-queue-example.js - Docs: async.mdx + Async-Toolkit.md updated Closes #4-batching-system
sebamar88
added a commit
that referenced
this pull request
Mar 29, 2026
* feat: add resumable file uploads with chunking support - Introduced a new feature specification for resumable file uploads, allowing large files to be uploaded in chunks and resumed from the last successful chunk. - Enhanced `FileUploadHelper` to support chunked uploads with options for chunk size, concurrency, and resuming from a specific chunk. - Implemented a `PromisePool` utility to manage concurrent asynchronous tasks with configurable concurrency limits and timeout handling. - Updated `ApiClient` to utilize `PromisePool` for managing concurrent requests, ensuring that the number of simultaneous requests does not exceed specified limits. - Added comprehensive tests for `PromisePool` functionality, including concurrency limits, error handling, and timeout mechanics. - Created integration tests for `ApiClient` to verify correct behavior with the new pooling mechanism. * fix: remove unnecessary whitespace in ApiClient documentation comments * feat(async): add RequestQueue and RequestBatcher (004-batching-system) - RequestQueue: priority-aware concurrency-limited task queue - Three fixed priority lanes: high > normal > low - AbortSignal-based cancellation (AddOptions.signal consumer path) - onError callback for error isolation without stopping the queue - size / running / pending observable state getters - flush() waiter pattern (resolves when all tasks settle) - RequestBatcher: time-window HTTP request deduplication - Fixed and sliding window modes - maxSize early flush - Custom keyFn override - Shared result for all same-key callers in a window - ApiClient integration (transparent, backward-compatible) - queue?: RequestQueueOptions (concurrency-limited requests) - batch?: BatchOptions (time-window deduplication) - Legacy pool option continues to work; queue takes priority - 47 new tests (673 total, 0 failures) - request-queue.test.ts: 15 tests (US1 + US2) - request-batcher.test.ts: 15 tests (US3, fake timers) - request-queue-api-client.test.ts: 4 tests (US4) - Coverage: request-queue.ts 100%, request-batcher.ts 97.43% - Examples: request-queue-example.ts + request-queue-example.js - Docs: async.mdx + Async-Toolkit.md updated Closes #4-batching-system * chore(specs): mark all 004-batching-system tasks complete [X] * refactor(plan): update implementation plan template for feature specifications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Add a project constitution outlining development principles and guidelines. Enhance the Profiler class to support namespace isolation for better measurement organization. Comprehensive tests added for CompressionUtils, CryptoUtils, FormUtils, Logger, and Profiler to ensure functionality and reliability.
Related Issue
Fixes # (no issue referenced)
Type of Change
Changes Made
Testing
Coverage
Screenshots
Checklist
Breaking Changes
Additional Notes