Repository navigation
refactor(host): migrate ngx host descriptors - #1
Merged
fffonion merged 6 commits intoSep 18, 2026
Merged
Conversation
…b02dc01 Lock pd-host-function and pd-vm to the frozen full SHA and reject stale or abbreviated pins.
Replace parallel catalog/schema/registration loops with explicit HostModuleDescriptor composition, typed HostResourceType metadata, owned timer adapters, and named envelope structs for decode_args/get_headers/get_*_args.
… cost Add architecture and restricted-install negatives, document retained dynamic Unknown slots, and time only the timer host call so first-bind cost is not mistaken for waiting on the deadline.
Make ngx_host_registry the single install path for request, pool, and timer VMs. bind_ngx_hosts is a thin wrapper; standard policy no longer rebinds names after the exact catalog plan.
Bump catalog schema to v2 with Shared*Result named structs. Sync methods take ResourceRef; constructors, async wait, and close keep raw guest tokens at the VM boundary.
Guest scripts use host named types. Harness waits for worker HTTP after registry install instead of TCP accept. UDP echo starts after the driver is ready so cold-registry bind cannot consume the receive timeout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Merge the independently implemented and reviewed host-descriptor/resource-effects migration candidate into the repository default branch.
Verification
Merge method must remain merge commit so frozen dependency SHAs stay reachable from the default branch.