Skip to content

org-announcements: add shared telemetry and Vorpal bridge (DA) - #502

Open
Asher Johnson Hogan (asherjh) wants to merge 1 commit into
users/rebova/org-announcements-prereleasefrom
users/asherj/org-announcements-telemetry-da
Open

Asher Johnson Hogan (asherjh) wants to merge 1 commit into
users/rebova/org-announcements-prereleasefrom
users/asherj/org-announcements-telemetry-da

Conversation

@asherjh

Copy link
Copy Markdown
Contributor

Description

Org Announcements exposes the app-only report_client_events Vorpal bridge on its widget-hosting MCP connection and uses the shared ADK operation telemetry foundation. Announcement tool calls carry correlated server-operation/request IDs, authenticated tenant context, HTTP outcomes, retry/auth-refresh measurements, content-free usage, and confirmed-write state.

  • Reuses the shared SDK/MCP foundation from agentconfig-mcp: add shared LPC operation telemetry #436 — agentconfig-mcp: add shared LPC operation telemetry.
  • Registers schema-v2 client-event ingestion with accepted/rejected verdicts and excludes the bridge from business-operation telemetry.
  • Correlates AgentConfiguration and Graph transport calls and preserves validated OData receipts, canonical reloads, write retry policy, discovery, and client leases.
  • Covers native MCP same-connection ingestion, operation/HTTP correlation, privacy, cancellation, failed receipts, and committed refresh failures.

This PR targets users/rebova/org-announcements-prerelease, the source branch of the DA promotion.

Related issue

Refs #359 — [Promotion] Add Org Announcements authoring support.
Refs #436 — agentconfig-mcp: add shared LPC operation telemetry.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor / cleanup

Testing

Local validation used Python 3.14 and repository-pinned Ruff 0.16.0.

  • python -m pytest tests\mcp\agentconfig_org_announcements tests\mcp\agentconfig_core tests\mcp\agentconfig tests\mcp\test_import_isolation.py tests\scripts\test_mcp_config.py tests\setup\test_org_announcements_integration.py tests\test_adk_mcp_report_client_events.py tests\test_adk_telemetry.py -q -p no:cacheprovider — passed: 1,477 tests; 22 skipped (21 live-network tests and one POSIX-permission test).
  • python -m ruff check solutions\ess-maker-skills\scripts solutions\ess-maker-skills\src\mcp --output-format=github — passed.
  • python -m compileall -q solutions\ess-maker-skills\scripts solutions\ess-maker-skills\src\mcp — passed.
  • python -m pre_commit run --hook-stage pre-commit — passed with the repository-pinned Ruff hook.
  • git diff --cached --check — passed.

Native MCP memory-transport and stdio initialization tests passed. Live Vorpal/tenant/collector validation was not run. Repository CI triggers on main, main-ca, and release/** targets; this feature-branch target is outside that filter.

Checklist

  • My code follows the existing style
  • I have added/updated tests where applicable
  • I have updated documentation as needed

Static validation (samples/ only)

No changes under samples/.

Validation
- YAML parse: N-A
- AdaptiveDialog kind: N-A
- XML parse: N-A
- Filename convention (new): N-A
- Folder convention (new, incl. README.md): N-A
- Diff scope (samples/ only): N-A
- Secrets / internal URLs: N-A

Connect announcement server and widget events to correlated ADK telemetry while retaining content-free diagnostics, validated write receipts, and the DA announcement contracts.

- Reuse the shared SDK and native MCP operation telemetry foundation.
- Register the app-only report_client_events bridge on the widget server.
- Measure configuration and Graph transport calls with tenant and request context.
- Preserve committed-write state through failed reloads and cancellation.
- Cover privacy, same-connection ingestion, operation correlation, and existing SDK behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 304fe4ee-01c6-4d09-8ecc-0e2f25c27855
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