Skip to content

Compatibility orchestration, reporting, and Git history - #11

Closed
udsmicrosoft wants to merge 3 commits into
documentdb:mainfrom
udsmicrosoft:users/urismiley/compatibility-reporting
Closed

udsmicrosoft wants to merge 3 commits into
documentdb:mainfrom
udsmicrosoft:users/urismiley/compatibility-reporting

Conversation

@udsmicrosoft

@udsmicrosoft udsmicrosoft commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add registry-driven compatibility execution with per-integration artifacts, combined Markdown/JSON reports, and an HTML dashboard. Reporting validates provenance, preserves attempt identity, and distinguishes incomplete execution from compatibility failures. Synthetic failure demonstrations are never published or rendered.

The Ecosystem compatibility workflow runs on demand, daily, and for newly reviewed DocumentDB releases. It selects all enabled registry profiles or one explicit integration/version pair. Each profile runs independently, and the combined report includes missing or rejected results without substituting an earlier attempt's successful evidence.

Completed default-branch runs of this workflow (manual, scheduled, or release-dispatched) are the source events for the README dashboard publisher on main, so the README badges reflect real executions.

Scope

  • Ecosystem compatibility (compatibility.yml): a read-only workflow for selection, isolated execution, artifact retention, and combined results. It runs on manual dispatch and daily at 05:41 UTC; scheduled runs test every enabled integration at its default version against every reviewed DocumentDB release.
  • Compatibility DocumentDB releases (compatibility-documentdb-release.yml): on pushes to main that change compatibility/registry.yaml, dispatches one run per added or re-pinned DocumentDB release. It receives actions: write only to start that workflow.
  • Combined reporting, escaped HTML rendering, and prefilled issue links using the core immutable history and shared status projection.
  • A compatibility issue form with stable field IDs. Default report links target documentdb/documentdb-playground.
  • An optional trusted Git-history helper (persist.sh) using non-force updates and bounded conflict retries. The compatibility workflow does not invoke it.
  • compatibility-ci.yml also checks persist.sh with ShellCheck and runs the dashboard freshness tests with Node 24.

Reports and dashboards are retained as 30-day artifacts. These workflows do not deploy a public site, publish Git history, create issues, or change repository settings. Execution and reporting jobs never receive publication credentials; the README publisher keeps its own write permission. Existing playground applications and the root README are unchanged.

Review order

Builds on #8, which is merged. Stack order: #11 reporting -> #9 JavaScript integrations -> #10 watcher.

  1. Workflows, combined reporting, issue form, and the Git-history helper.
  2. Daily schedule and DocumentDB release dispatch.

Validation

  • Python 3.12 formatting, import ordering, lint, and type checks; 298 infrastructure tests (156 added here).
  • 6 Node 24 dashboard freshness tests, actionlint, and ShellCheck.
  • Persistence tests cover replay, conflicting identities, concurrent writers, and unavailable artifacts.
  • Live run of this branch (33d2aca) on the fork: workflow run. PyMongo 4.18.0 on DocumentDB 0.117.0 passed 17/17 required scenarios, and the combined report succeeded.
  • The README publisher on main ingested an earlier run of this branch (run) without errors and rendered PyMongo as Working with 17/17 verified cases.

AI disclosure

GitHub Copilot assisted with the implementation and ran the automated validation described above.

  • AI assistance and automated validation are disclosed.
  • Human review of the reporting and publication boundaries.
  • Contributor has personally reproduced the relevant checks.

@udsmicrosoft udsmicrosoft changed the title Add compatibility orchestration, reporting, and Git history Port compatibility orchestration, reporting, and Git history Oct 12, 2026
@udsmicrosoft udsmicrosoft changed the title Port compatibility orchestration, reporting, and Git history Compatibility orchestration, reporting, and Git history Oct 12, 2026
Copilot-Session: ea872837-0dd4-45cb-8cbe-b421717a6a16
Signed-off-by: urismiley <urismiley@microsoft.com>
Copilot-Session: 6a136a8e-6b75-48b4-b09d-ed8ccafbb07d
Signed-off-by: urismiley <urismiley@microsoft.com>
@udsmicrosoft
udsmicrosoft force-pushed the users/urismiley/compatibility-reporting branch from c7f2855 to 216565d Compare November 3, 2026 00:25
@udsmicrosoft
udsmicrosoft marked this pull request as ready for review November 3, 2026 00:28
…ity reporting

Copilot-Session: c009d905-b812-4e1c-8235-235ce417d538
Signed-off-by: urismiley <urismiley@microsoft.com>
@udsmicrosoft

Copy link
Copy Markdown
Contributor Author

Superseded by #13, which combines this work into a single PR.

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