Skip to content

feat: add replay tools to payment debugger#357

Open
dvansari65 wants to merge 1 commit into
solana-foundation:mainfrom
dvansari65:codex/pdb-replay-export
Open

feat: add replay tools to payment debugger#357
dvansari65 wants to merge 1 commit into
solana-foundation:mainfrom
dvansari65:codex/pdb-replay-export

Conversation

@dvansari65
Copy link
Copy Markdown

@dvansari65 dvansari65 commented May 7, 2026

Summary
add replay tooling to the Payment Debugger with copy actions for curl, HTTPie, and pay fetch
add raw Request and Response tabs for inspecting captured HTTP traffic
redact payment-sensitive headers in replay output and raw views

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

@dvansari65 is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread pdb/api/correlation.ts
}

function formatHeaderDetail(name: string, value: string): string {
return `${name}: ${truncate(redactHeaderValue(name, value), 120)}`;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @dvansari65!
In my mind, the whole point of this UI is to help debugging payments, specifically the information that are being redacted here.
What was the rationale motivating this move?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my mind, the whole point of this UI is to help debugging payments- yes

Copy link
Copy Markdown
Author

@dvansari65 dvansari65 May 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes to help debugging payments

Copy link
Copy Markdown
Author

@dvansari65 dvansari65 May 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Built a replay and debugging interface for captured HTTP flows, making it easier to inspect and troubleshoot requests. Added support for viewing raw requests and responses, replaying requests as curl or HTTPie commands, and automatically redacting sensitive payment-related headers for safer debugging.

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.

2 participants