Skip to content

Compatibility automation, JavaScript profiles, and upstream release watching - #13

Open
udsmicrosoft wants to merge 9 commits into
documentdb:mainfrom
udsmicrosoft:users/urismiley/compatibility-combined
Open

udsmicrosoft wants to merge 9 commits into
documentdb:mainfrom
udsmicrosoft:users/urismiley/compatibility-combined

Conversation

@udsmicrosoft

@udsmicrosoft udsmicrosoft commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

Expand the ecosystem compatibility suite with automated runs, combined reporting, JavaScript integrations, and opt-in upstream release watching.

What this adds

  • Ecosystem compatibility workflow (compatibility.yml): runs the registry's profiles on demand, daily, and for newly reviewed DocumentDB releases. Each profile runs in isolation, and a combined Markdown/JSON report and HTML dashboard include missing or failed results.
  • DocumentDB release runs (compatibility-documentdb-release.yml): starts one run for each DocumentDB release added or re-pinned in compatibility/registry.yaml.
  • Node.js driver and Mongoose profiles: 17 required scenarios each, installed offline from reviewed lockfiles with integrity-checked npm archives on a pinned Node 24 runtime. README badges are included for both.
  • Upstream release watcher (compatibility-watcher.yml): discovers new PyPI and npm releases for registered integrations, freezes npm dependency trees, records state in a durable ledger, and dispatches the affected profiles with their complete scenario suites.
  • Supporting pieces: a compatibility issue form, an optional Git-history helper (persist.sh), and CI checks for the new code.

The watcher does nothing unless the COMPATIBILITY_WATCHER_ENABLED repository variable is true, and it only runs on the default branch. Existing playground applications are unchanged.

Validation

  • Python 3.12 formatting, import ordering, lint, and type checks; 237 unit tests.
  • 9 Node 24 tests, actionlint, and ShellCheck.
  • Live run on a fork with this exact tree: PyMongo 4.18.0, Node.js driver 7.7.0, and Mongoose 9.11.0 each passed 17/17 scenarios on DocumentDB 0.117.0, and the README dashboard published the results.

AI disclosure

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

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>
…ity reporting

Copilot-Session: c009d905-b812-4e1c-8235-235ce417d538
Signed-off-by: urismiley <urismiley@microsoft.com>
Copilot-Session: ea872837-0dd4-45cb-8cbe-b421717a6a16
Signed-off-by: urismiley <urismiley@microsoft.com>
Copilot-Session: 4ea8cdc7-26d1-42ec-b3fe-cbaa19f2116f
Signed-off-by: urismiley <urismiley@microsoft.com>
Copilot-Session: 4ea8cdc7-26d1-42ec-b3fe-cbaa19f2116f
Signed-off-by: urismiley <urismiley@microsoft.com>
…guard cases

Copilot-Session: 4ea8cdc7-26d1-42ec-b3fe-cbaa19f2116f
Signed-off-by: urismiley <urismiley@microsoft.com>

@lionelc lionelc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed separately, please have the same coverage as on README: Ecosystem compatibility · udsmicrosoft/documentdb-playground@d447509 . And use the same name please (e.g. mongodb-node-driver, while nodejs is not clear enough).

The dashboard should be comprehensive and consistent with the playground main page -- so that we can potentially show that to customers.

These are cross-repo issues from a high level so it's not convenient to add as a specific code review.

Copilot-Session: ea52e202-cea2-414e-9e27-f10198cc4594
Signed-off-by: urismiley <urismiley@microsoft.com>
Copilot-Session: ea52e202-cea2-414e-9e27-f10198cc4594
Signed-off-by: urismiley <urismiley@microsoft.com>
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.

2 participants