Repository navigation
Add MachineTool, WMTP, GMS and CranesHoists companions - #4765
Merged
Merged
Conversation
…d model dependencies
…session lifetimes
…lculate alarm retention
Linux HttpClient can surface SocketError.NotConnected directly while reading RemoteEndPoint for a connection rejected by the channel cap. Accept precisely that socket error or the existing HttpRequestException, retaining the 401 upgrade refusal, over-capacity request rejection, original HTTP/2 connection liveness and cleanup assertions. No production, limits, retry, or timeout changes. Final Release/net10 fixture: 122 passed on Windows and 122 in Linux, plus eight fixed Linux repetitions. The original hosted Linux red is retained; bounded original local runs passed and are not claimed as a local reproduction.
hansgschossmann
approved these changes
Oct 14, 2026
left a comment
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
MachineTool and GMS factories incorrectly take ownership of the container’s shared cached session, allowing one facade to disconnect unrelated consumers.
2 open findings
1 resolved since last review
🧠 Review effort: Balanced
added 2 commits
October 14, 2026 13:39
The injected delegate returns the container-cached ManagedSession, not an independent connection. GMS and MachineTool factories now borrow it and leave cleanup with its owner on cancellation or facade-construction failure. Preserve explicit owning constructors and facade-owned observation cleanup. Verify real DI sharing, cancellation, construction failure and independent ownership on Release net10.0 and net48: 64 focused tests pass.
Merge af601eb while preserving the per-call model-change gate, exact final-value publication identity, survivor restoration and borrowed companion-session ownership. Apply the emission gate to the upstream deletion snapshot so committed cleanup failures still report correctly without emitting for suppressed calls. Retain upstream response-writer sealing and managed reconnect/disposal changes. Verify focused Release preflight on net10.0 (914 passed) and net48 (912 passed), plus 27 explicitly inapplicable fixture cases each. All 147 prior publication cases per TFM and all 64 recent ownership cases pass on the merged tree.
marcschier
commented
Oct 14, 2026
Document MachineTool and bundled wireless peripherals, GMS, and preview CranesHoists with full H2/H3 contents, provider and typed-client examples, hosting composition, ownership, cancellation, MCP, conformance limits and model provenance. Clarify borrowed shared sessions, provider-accepted wireless transfers, the undefined GMS Production statistics requirement, and requested versus active crane limits. Include the reviewed Parts 1-8, 12 and 13 profile summary; keep Part 10 identified as separate work.
added 6 commits
October 15, 2026 07:20
Split result-limit guards in their existing order and retain every accepted bound and diagnostic message. Parameterized regressions cover each rejected property, inclusive/default values and first-invalid precedence; Release GMS result tests pass 98/98 on net10.0 and net48 after reproducing 22 wrong-ParamName failures per framework.
Integrate 7247571 and its plastics/rubber, extrusion and recycling surfaces. Resolve the ModelDesignValidator overlap by preserving published nested type declarations while filtering placeholder expansion for concrete instances; retain recursive imported descendants and collision-safe inherited identities. Preserve both generated-client behaviors, exact-once events, upstream write-cache ownership and both package/project inventories. Focused Release validation passed 615/615 on net10.0 and net48, including all fourteen upstream models, generated clients, existing companion shapes and the separately committed GMS result-limit regressions.
The optional-workflow fixture represented missing paths as Good with no targets and expected NotFound for access denial. Use BadNoMatch for actual absence and preserve exact BadUnexpectedError, BadUserAccessDenied and transport failures for all five workflows, without changing production resolution. Reproduced the exact six CI failures on the identical synthetic source tree with Release coverage settings. The full Extrusion project plus shared browse/proxy checks pass 225/225 on net10.0 and net48.
The fake exposed its mutable backing List while notification callbacks signaled before acknowledgement enqueue. Capture observations under the existing queue lock and await the post-enqueue boundary. Gated delete/reset and transfer-recovery regressions preserve old-epoch rejection and prove snapshot stability across append and pruning. Validation: deterministic snapshot RED in 3 cases before the fake fix; 190 subscription lifecycle, acknowledgement and pooled-dispatch cases passed on each of net10.0 and net48. No production changes.
Integrate pinned master 15d0ce7, including landed Part 10 Programs and public TrustList validation. Resolve Profiles by preserving explicit Parts 1-8/12/13 and certification/provider qualifications, adding the Programs link, and removing the obsolete separate-PR exclusion. Preserve shared proxy absence/error contracts and all prior companion/acknowledgement fixes. Bounded validation: 191 selected cases passed on each of Release net10.0 and net48 across Programs core/client/server integration, shared proxies, event generation, 30 strict Extrusion workflows and three acknowledgement regressions. No full matrix/native/package reruns.
Disposal can close admission before its cancellation token is signaled. Use the existing lifetime gate to stop internal maintenance without throwing an external BadShutdown error, while retaining external rejection and admitted-operation drainage. Only cancellation before cleanup begins is treated as shutdown; genuine BadShutdown, IO and cancellation failures during cleanup remain visible through the shared disposal outcome. Deterministic regression reproduces the exact CI aggregate at the admission-before-cancel boundary. Real shared file-binding gates verify drainage, transfer/node/metadata reclamation and genuine-error visibility. Release net10/net48: 31 dataset +49 client transfer +5 shared binding cases passed per TFM; five new cases also passed per TFM on final formatted bytes. No full solution/native/package/CI reruns.
3 of 7 tasks
added 2 commits
October 15, 2026 12:37
Core now provides the Programs payload. Generated consumers correctly carry a matching payloadless dependency entry, but the resolver diagnosed that entry as a second producer. Classify identical transitive metadata before collision selection while retaining the canonical payload owner. Real producers and conflicting metadata still report MODELGEN012; equal-version producers use an ordinal assembly-name tie-break. Reproduced all four accessor failures against freshly rebuilt current normal-layout runtime references. Added NodeSet/ModelDesign ownership and true-collision regressions without relaxing diagnostics assertions. Bounded Release validation passed104cases on each of net10.0 and net48, covering default-off/custom accessors, cross-model identity and Variant/Number proxies. No locator hacks or full solution/native/package/CI reruns.
Integrate pinned master d764161 with the extracted type/schema/replay and placeholder-reference fixes plus public file-client constructors. Combine both scanner regression suites and document matching transitive metadata alongside deterministic real-producer selection. Keep one ownership-classification path, upstream consolidated diagnostic reporting, SemVer/date ordering and the ordinal tie-break. Validation:211 targeted Release net10 cases and185 Release net48 cases passed, all accepted exits0 and no fixture failures. The26 replay cases apply only to modern TFMs; net48 IsTestProject=false was verified. Current normal-layout generator references and Programs ownership were revalidated. Prior dataset/ack/Extrusion sources unchanged; no full solution/native/package/CI reruns.
7 tasks done
This was referenced Oct 17, 2026
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.


Description
Describe the changes here to communicate to the maintainers why they should accept this pull request. By default - this will become the Commit message after merging and thus define history.
Add provider-backed MachineTool, bundled WMTP, GMS and CranesHoists companions using the existing Machinery/MachineVision fluent, DI and typed-client approach. The PR is open/non-draft by user choice. Current head
ecc4a7d6ca3e8004cf28ab54da605da302d026bfis mergeable and has 108 successful checks, six intentionally skipped checks, zero failures and zero pending checks. All five primary workflows completed successfully at that exact head.There are 12 new packable projects. No separate WMTP package/profile/guide, root version bump, tag, release or package publication is included. Mandatory instance structure is the default; selected optional features require explicit providers. The implementation reuses Machinery results/jobs/files/ProcessValues and Robotics topology, including retained MachineTool Production, defined GMS jobs/parts, modern ISA95/Machinery jobs, shared-owner hosting and isolated instances alongside MachineVision.
Runtime and integration fixes preserve raw quality/timestamps, coherent acquisition, namespace ownership, accepted-configuration state, borrowed-resource lifetime, session/node/file cleanup, terminal-value publication, event propagation and endpoint-aware capability publication. Firmware/licence transfer means provider acceptance, not installation/activation. Cancellation does not silently abort another caller's operation. The later upstream MCP expansion is integrated without losing either family set or its default-off privileged/live execution policy.
Conformance and scope
Canonical model inputs are pinned to UA-Nodeset revision
96a08945425d0295edb3607d2a38f6841ef44046.GMS upstream exception: Annex A.1 makes the released NodeSet normative, but §12.3.2.7 requires undefined
GMS_ProductionStatisticsType. Inherited statistics and defined jobs/parts are implemented without inventing a standard type/NodeId; the complete GMS Production facet is withheld.The requirement ledger records 102 positively evidenced CU rows, 96 directly negative-tested rows and six explicit negative-evidence limitations. All 648 test-class/name/TRX links were independently resolved to passing cases. The six limitations concern Stacklight, retained legacy PowerOnDuration, Machinery PowerOnDuration, WorkingUnit, Obligation and MaintenanceMode. They are not claims that every invalid-input or hardware-control behavior was tested. The undefined GMS requirement is outside the 102 defined CUs. No external certification claim is made.
Retained baseline complete-assembly line coverage, with generated code retained and no source exclusions:
These nine measurements predate the later focused review fixes and merges; they are not relabelled as new
ecc4a7d6cpercentages. The current head's separate CI code-coverage check succeeded. No new exclusions or threshold relaxations were introduced.Related Issues
Checklist
Put an
xin the boxes that apply. You can complete these step by step after opening the PR.