Skip to content

Delegate local telemetry and graph publication to microcosm-emitter (deferred) - #1153

Merged
anth-volk merged 4 commits into
mainfrom
feat/provider-delegation
Oct 13, 2026
Merged

anth-volk merged 4 commits into
mainfrom
feat/provider-delegation

Conversation

@anth-volk

@anth-volk anth-volk commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1152

Replace the embedded local delivery implementation with one required microcosm-emitter distribution. This draft now targets main; #1151 and the initial emitter extraction are merged. The calibration dashboard does not change.

Microcosm keeps graph generation, public-file selection, Hugging Face staging, build identity and a thin Unix-socket adapter. The external package owns the local emitter process, its telemetry and graph-publication workers, authentication, SQLAlchemy/Alembic persistence, retries and resource sampling. Remove the embedded implementation and duplicate service tests.

Preserve validation-refused outcomes, failure classifications and structured error codes. UK full-build commands keep the combined process alive until graph inventory/enqueue requests finish, then close it in their existing finally cleanup. Other callers retain automatic shutdown when reporting their outcome. Failed startup preserves graph files and records a failed publication receipt without starting another service or claiming publication was queued.

The temporary exact Git source is 12624a118db255405a0ce7397d53b3181deaf49a from microcosm-emitter #9. That revision prevents graph inventory requests from blocking telemetry acknowledgements and prevents older graph status-file writes from replacing newer results. The dependency update regenerates uv.lock and its approved worker-identity checksum for that revision.

Local qualification after rebasing onto main at 977ac983adadb006b0b1f011d6d77decc835fbe4:

  • Python 3.14.6: 55 selected adapter, outcome, shutdown and UK publication tests; two exact lock-identity checks.
  • Python 3.13.14: the same 55 tests and two lock-identity checks.
  • Both existing synthetic UK integration tests pass in a separate locked Python 3.13 UK environment. The optional private Hugging Face access check is skipped.
  • Built and inspected all seven final Microcosm wheels. Installed them and the exact tested emitter wheel noneditably over locked Python 3.13 dependencies; isolated package/import/CLI/API checks, default/deferred cleanup and graph socket requests pass. All 81 installed dependencies are compatible.
  • Lint, formatting, locked resolution, test-plan registration and diff checks pass. Preserve the incoming UK/compiler/calibrate changes from main.

These are local results, not GitHub Actions results. No queued checks were monitored, and earlier broad-suite results do not qualify this revised tree.

Before merge, merge and publish the fixed single emitter package, replace the temporary Git-source override with its tested registry version, regenerate uv.lock and its approved worker-identity digest, and rerun affected qualification. No new environment variables, hosted components, secret provisioning, package publication or deployment is included here. Preserve versioned queues; upgrade any older unversioned queue with the preceding Microcosm implementation first.

@anth-volk
anth-volk force-pushed the feat/minimal-orrery-publication branch from 0a4f254 to 8c53e9d Compare October 8, 2026 21:03
@anth-volk
anth-volk force-pushed the feat/provider-delegation branch 3 times, most recently from f542179 to 0aa9d48 Compare October 8, 2026 21:52
@anth-volk
anth-volk force-pushed the feat/minimal-orrery-publication branch from 25e4ceb to 6f93d06 Compare October 9, 2026 14:36
@anth-volk
anth-volk force-pushed the feat/provider-delegation branch from 0aa9d48 to 2e6b0ab Compare October 9, 2026 14:57
@anth-volk
anth-volk force-pushed the feat/minimal-orrery-publication branch 2 times, most recently from 79d1624 to 61fa608 Compare October 12, 2026 12:13
@anth-volk
anth-volk force-pushed the feat/minimal-orrery-publication branch from 61fa608 to 95c4cc9 Compare October 12, 2026 15:04
@anth-volk
anth-volk force-pushed the feat/provider-delegation branch from 2e6b0ab to f9961e5 Compare October 12, 2026 15:11
@anth-volk anth-volk changed the title Delegate local telemetry and Orrery publication to provider packages (deferred) Delegate local telemetry and graph publication to microcosm-emitter (deferred) Oct 12, 2026
Base automatically changed from feat/minimal-orrery-publication to main October 12, 2026 20:13
@anth-volk
anth-volk force-pushed the feat/provider-delegation branch from f9961e5 to 3cc562b Compare October 12, 2026 22:52
@anth-volk
anth-volk marked this pull request as ready for review October 13, 2026 19:25
@anth-volk
anth-volk merged commit 1b1b95a into main Oct 13, 2026
10 checks passed
@anth-volk
anth-volk deleted the feat/provider-delegation branch October 13, 2026 21:25
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.

Delegate telemetry and completed Orrery publication to microcosm-local-provider

1 participant