Skip to content

Bound session replay responses#264

Merged
posix4e merged 1 commit into
mainfrom
bound-replay-history
May 10, 2026
Merged

Bound session replay responses#264
posix4e merged 1 commit into
mainfrom
bound-replay-history

Conversation

@posix4e
Copy link
Copy Markdown
Member

@posix4e posix4e commented May 10, 2026

Summary

  • cap session replay history to 32 KiB so the base64 JSON reply stays under the Noise transport frame limit
  • forward optional max_bytes from shell.replay_session through the Noise gateway
  • return a truncated flag when replay history is clipped

Validation

  • cargo fmt
  • git diff --check
  • cargo check currently fails on this Mac due existing macOS PTY openpty/ioctl type errors in src/sessiond.rs, unrelated to this replay change

@github-actions
Copy link
Copy Markdown

DD preview ready

URL: https://pr-264.devopsdefender.com

Browser login: visit https://pr-264.devopsdefender.com — DD redirects you to
the GitHub App auth broker. A DD session cookie scoped
to .devopsdefender.com lets the preview, fleet, and
shell hosts share the same login.

Machine-to-machine: GitHub Actions workflows in the
DD_OWNER org pass their per-job OIDC JWT as
Authorization: Bearer … (audience dd-agent).

Register endpoint for a local agent: https://pr-264.devopsdefender.com/register
(authenticated by ITA attestation).

@posix4e posix4e merged commit a9c8710 into main May 10, 2026
3 checks passed
@posix4e posix4e deleted the bound-replay-history branch May 10, 2026 20:09
posix4e added a commit that referenced this pull request May 10, 2026
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.

1 participant