Repository navigation
Conversation
|
@Atisan12 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This branch has not been deployed
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.
Summary
Add resource pool subsystem with lifecycle, sizing, and tracking
What was solved
#1332 — Add SDK resource pooling
Add a resource pooling subsystem to the SDK that reuses expensive resources (e.g., connections/clients) with configurable sizing, correct acquire/release lifecycle, and pool tracking/metrics. The issue is broad and underspecified, so the contribution should introduce a focused, self-contained pool module (design + implementation + lifecycle + sizing + tracking) that integrates with existing SDK patterns without refactoring unrelated code.
Addressed:
#1335 — Implement SDK audit logging
Add an SDK audit logging subsystem: a design for structured audit events, an implementation that records them, persistence of audit logs, query support, and audit tracking, integrated with the existing SDK patterns (logging, config, DI). Scope is limited to audit logging for compliance/debugging; no unrelated refactors, dependency installs, or changes to non-audit features.
Addressed:
#1337 — Implement SDK XSS protection
Add a web-environment XSS protection module to the SDK that sanitizes and encodes untrusted strings, supports nested object/array structures, handles all HTML special characters, and tracks applied protections. This is a new, self-contained utility scoped to web SDK usage.
Addressed:
#1340 — Implement SDK CLI tools
Add a CLI tool surface for the SDK: a command dispatcher with intuitive subcommands, a comprehensive help system, scripting-friendly output (JSON/quiet modes, non-interactive, exit codes), and documentation. Implementation should follow existing repo patterns (TypeScript, scripts/ directory conventions, package.json bin wiring) and stay scoped to CLI creation without altering unrelated SDK internals.
Addressed:
Changes
docs/PERFORMANCE_TUNING.md(modify)src/__tests__/logging.test.ts(modify)package.json(modify)docs/SDK_TUTORIALS.md(modify)Approach
Issues
Closes #1332
Closes #1335
Closes #1337
Closes #1340