Skip to content

test(config): cover sanitizeCorrelationId boundaries (#1201) - #1278

Open
Adithya9605 wants to merge 1 commit into
Vatix-Protocol:mainfrom
Adithya9605:test/sanitize-correlation-id-boundaries
Open

Adithya9605 wants to merge 1 commit into
Vatix-Protocol:mainfrom
Adithya9605:test/sanitize-correlation-id-boundaries

Conversation

@Adithya9605

Copy link
Copy Markdown

Summary

Adds tests for the 64-character truncation boundary and the null / local-pid fallback paths of sanitizeCorrelationId and resolveCorrelationId.

Related issue

Type of change

  • Chore / refactor

Contract drift check

  • I checked this change against CONTRACTS.md and there is no contract drift

How was this tested?

cd packages/config && vitest run scripts: 26 passed, 4 skipped (already skipped before this change). Tests only; no production code changed.

Checklist

  • CI passes (lint + tests + build)
  • Self-reviewed the diff
  • Added or updated tests where relevant
  • Docs updated if needed
  • No secrets or credentials committed

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.

packages/config: check-shared-config.mjs sanitizeCorrelationId truncates silently and has no test for the 64-char boundary

1 participant