Skip to content

Add dialog recording-archive locator columns#60

Closed
harinder-strolid wants to merge 1 commit into
mainfrom
feat/dialog-archive-columns
Closed

Add dialog recording-archive locator columns#60
harinder-strolid wants to merge 1 commit into
mainfrom
feat/dialog-archive-columns

Conversation

@harinder-strolid

Copy link
Copy Markdown

What

Adds five nullable columns to dialog that locate a call's recording inside a compressed archive:

column meaning
archive_url path/URL of the archive (e.g. /mnt/.../x.tar.zst or s3://...)
archive_member the member filename inside the archive (informational)
archive_offset byte offset of that member's zstd frame
archive_length byte length to read
archived_at when archived (NULL ⇒ not yet archived)

Why

A search-app playback endpoint reads [offset, offset+length), decompresses the one zstd frame, and serves Ogg-Opus on demand. These columns already exist out-of-band on a production database; this formalizes them in the schema so any vcon-mcp deployment is reproducible.

Safety

Idempotent (ADD COLUMN IF NOT EXISTS) — no-ops where the columns already exist. All nullable, no backfill, no data movement. Consumers degrade gracefully where the columns are absent, so this is non-breaking and order-independent with any app rollout.

🤖 Generated with Claude Code

Formalizes archive_url / archive_member / archive_offset / archive_length /
archived_at on the dialog table. These locate a recording inside a compressed
archive (one zstd frame -> Ogg-Opus) and are consumed by the search app's
on-demand playback endpoint. Already present out-of-band on BDS; idempotent
(ADD COLUMN IF NOT EXISTS) so it no-ops there.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@harinder-strolid harinder-strolid deleted the feat/dialog-archive-columns branch June 26, 2026 15:03
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