feat(platform): voice spans activeChannelId metadata (v0.8.521)

Extend voice.join, voice.leave, and voice.mute span ends for Phase 558 observability.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-24 14:28:17 -04:00
co-authored by Cursor
parent e7f3c19d93
commit 095858a69f
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -183,6 +183,8 @@ Expose a single `EventEmitter` API the UI drives over IPC (`apps/pearcord/index.
**v0.8.499 (Phase 536):** Compliance/audit spans extend — `audit.append`/`audit.export`/`compliance.snapshot` end metadata (`spanKind`, `activeChannelId`). UI compliance panel compositor wrappers, audit row `lastAuditRowId` + roving `tabindex`, clipboard compliance busy flags. Bundle: `npm run test:phase536-compliance`. See [COMPLIANCE.md](../../docs/COMPLIANCE.md), [AUDIT_LOG.md](../../docs/AUDIT_LOG.md). **v0.8.499 (Phase 536):** Compliance/audit spans extend — `audit.append`/`audit.export`/`compliance.snapshot` end metadata (`spanKind`, `activeChannelId`). UI compliance panel compositor wrappers, audit row `lastAuditRowId` + roving `tabindex`, clipboard compliance busy flags. Bundle: `npm run test:phase536-compliance`. See [COMPLIANCE.md](../../docs/COMPLIANCE.md), [AUDIT_LOG.md](../../docs/AUDIT_LOG.md).
**v0.8.521 (Phase 558):** Voice spans extend — `voice.join`/`voice.leave`/`voice.mute` `activeChannelId`. UI `#voice-panel-live`, `syncVoiceOccupancyLivePanelDuringGuildLoading`. Bundle: `npm run test:phase558-voice`. See [VOICE.md](../../docs/VOICE.md).
**v0.8.520 (Phase 557):** Embed spans extend — `embed.resolve`/`embed.gossip` `messageId`/`activeChannelId`; `embed.clear` on delete via `clearForMessageContent`. UI split embed panels; `#embed-panel-live`. Bundle: `npm run test:phase557-embeds`. See [EMBEDS.md](../../docs/EMBEDS.md). **v0.8.520 (Phase 557):** Embed spans extend — `embed.resolve`/`embed.gossip` `messageId`/`activeChannelId`; `embed.clear` on delete via `clearForMessageContent`. UI split embed panels; `#embed-panel-live`. Bundle: `npm run test:phase557-embeds`. See [EMBEDS.md](../../docs/EMBEDS.md).
**v0.8.519 (Phase 556):** Attachment spans extend — `attachment.stage` `stagedCount`/`remainingStagingCapacity`; `attachment.read` `activeChannelId`; `attachment.unlink` on delete. UI split attachment panels; `#attachment-panel-live`. Bundle: `npm run test:phase556-attachments`. See [ATTACHMENTS.md](../../docs/ATTACHMENTS.md). **v0.8.519 (Phase 556):** Attachment spans extend — `attachment.stage` `stagedCount`/`remainingStagingCapacity`; `attachment.read` `activeChannelId`; `attachment.unlink` on delete. UI split attachment panels; `#attachment-panel-live`. Bundle: `npm run test:phase556-attachments`. See [ATTACHMENTS.md](../../docs/ATTACHMENTS.md).
+3
View File
@@ -7718,6 +7718,7 @@ class PearcordPlatform extends EventEmitter {
listenOnly, listenOnly,
listenOnlyRequested: !!opts.listenOnly, listenOnlyRequested: !!opts.listenOnly,
guildId, guildId,
activeChannelId: this.activeChannelId,
channelType: 'voice', channelType: 'voice',
peerCount, peerCount,
wasInVoice: !!prevChannelId, wasInVoice: !!prevChannelId,
@@ -7764,6 +7765,7 @@ class PearcordPlatform extends EventEmitter {
spanKind: 'voice.mute', spanKind: 'voice.mute',
channelId, channelId,
guildId, guildId,
activeChannelId: this.activeChannelId,
muted: !!muted, muted: !!muted,
deafened: deafened === undefined ? !!this.voiceMedia.deafened : !!deafened, deafened: deafened === undefined ? !!this.voiceMedia.deafened : !!deafened,
listenOnly: !!this.voiceMedia.listenOnly, listenOnly: !!this.voiceMedia.listenOnly,
@@ -7832,6 +7834,7 @@ class PearcordPlatform extends EventEmitter {
left: !!payload, left: !!payload,
channelId: payload?.channelId || null, channelId: payload?.channelId || null,
guildId, guildId,
activeChannelId: this.activeChannelId,
leavingIsStage, leavingIsStage,
hadMedia, hadMedia,
listenOnlyWas, listenOnlyWas,