During review of PR #45, the latest completed workflow logs showed repeated Node.js deprecation warnings for Buffer() usage ([DEP0005] DeprecationWarning: Buffer() is deprecated...) across multiple CI jobs. The current user experience is noisy and ambiguous CI output where warnings obscure actionable failures and reduce confidence in job health.
Request
The current experience includes repeated [DEP0005] warnings in these jobs: Build-Docs, Build-Site, Test-Module (Linux/macOS/Windows), Test-ModuleLocal (Linux/macOS/Windows), and Lint-Module. The desired experience is warning-free CI for this deprecation class, with repository-owned usage migrated to modern Buffer APIs and third-party sources addressed through dependency/tooling upgrades.
User impact
Persistent deprecation warnings increase log noise, make regression triage slower, and mask meaningful warnings/errors during pull request validation.
Acceptance criteria
Technical decisions
Scope boundary: Treat CI workflow definitions, repository scripts, and checked-in tooling configuration as repository-owned; treat package internals from third-party dependencies as external.
Detection strategy: Add targeted detection during investigation using deprecation tracing (--trace-deprecation) in relevant Node invocations where feasible to identify the call stack and owning source.
Remediation policy: For repository-owned code paths, replace deprecated constructor calls with explicit modern Buffer APIs based on intent (from for existing data, alloc/allocUnsafe for new buffers).
External dependency handling: Prefer dependency/tooling upgrades first. If no fixed version exists, pin to the best available version and document an upstream tracking item.
Validation approach: Re-run the affected workflow matrix and verify absence of [DEP0005] lines in logs before closing.
Compatibility: Preserve behavior and binary output semantics while changing constructor usage; do not introduce functional changes beyond warning remediation.
Implementation plan
Investigation
Repository-owned fixes
External/tooling fixes
Verification
During review of PR #45, the latest completed workflow logs showed repeated Node.js deprecation warnings for
Buffer()usage ([DEP0005] DeprecationWarning: Buffer() is deprecated...) across multiple CI jobs. The current user experience is noisy and ambiguous CI output where warnings obscure actionable failures and reduce confidence in job health.Request
The current experience includes repeated
[DEP0005]warnings in these jobs: Build-Docs, Build-Site, Test-Module (Linux/macOS/Windows), Test-ModuleLocal (Linux/macOS/Windows), and Lint-Module. The desired experience is warning-free CI for this deprecation class, with repository-owned usage migrated to modern Buffer APIs and third-party sources addressed through dependency/tooling upgrades.User impact
Persistent deprecation warnings increase log noise, make regression triage slower, and mask meaningful warnings/errors during pull request validation.
Acceptance criteria
[DEP0005]warnings are eliminated from the affected CI jobs listed above.Buffer()constructor usage is replaced withBuffer.from(...),Buffer.alloc(...), orBuffer.allocUnsafe(...)as appropriate.[DEP0005]entries.Technical decisions
Scope boundary: Treat CI workflow definitions, repository scripts, and checked-in tooling configuration as repository-owned; treat package internals from third-party dependencies as external.
Detection strategy: Add targeted detection during investigation using deprecation tracing (
--trace-deprecation) in relevant Node invocations where feasible to identify the call stack and owning source.Remediation policy: For repository-owned code paths, replace deprecated constructor calls with explicit modern Buffer APIs based on intent (
fromfor existing data,alloc/allocUnsafefor new buffers).External dependency handling: Prefer dependency/tooling upgrades first. If no fixed version exists, pin to the best available version and document an upstream tracking item.
Validation approach: Re-run the affected workflow matrix and verify absence of
[DEP0005]lines in logs before closing.Compatibility: Preserve behavior and binary output semantics while changing constructor usage; do not introduce functional changes beyond warning remediation.
Implementation plan
Investigation
Repository-owned fixes
Buffer()constructor calls with the correctBuffer.from/alloc/allocUnsafevariant.External/tooling fixes
Buffer()deprecations in CI.Verification
[DEP0005]warnings in logs and capture verification evidence in the issue notes.