Create MXAccess COM Object On STA #24

Closed
opened 2026-04-26 15:22:33 -04:00 by dohertj2 · 3 comments
Owner

Source: $file
Milestone: $currentMilestone

Labels: area:worker, type:feature, priority:p0

Deliverables:

  • instantiate ArchestrA.MxAccess.LMXProxyServerClass,
  • record CLSID/ProgID/interoperability info,
  • attach base event handlers,
  • send WorkerReady only after COM creation succeeds,
  • structured fault on COM creation failure.

Acceptance criteria:

  • COM creation happens on STA only,
  • gateway receives ready with worker info,
  • failure includes HRESULT/exception where available,
  • raw COM object never crosses threads.

Tests:

  • fake COM factory tests,
  • COM creation failure mapping,
  • worker info mapping.

Live tests:

  • opt-in live COM creation on installed MXAccess machine.
Source: $file Milestone: $currentMilestone Labels: `area:worker`, `type:feature`, `priority:p0` Deliverables: - instantiate `ArchestrA.MxAccess.LMXProxyServerClass`, - record CLSID/ProgID/interoperability info, - attach base event handlers, - send `WorkerReady` only after COM creation succeeds, - structured fault on COM creation failure. Acceptance criteria: - COM creation happens on STA only, - gateway receives ready with worker info, - failure includes HRESULT/exception where available, - raw COM object never crosses threads. Tests: - fake COM factory tests, - COM creation failure mapping, - worker info mapping. Live tests: - opt-in live COM creation on installed MXAccess machine.
dohertj2 added this to the mxaccess-worker-foundation milestone 2026-04-26 15:22:33 -04:00
dohertj2 added the area:workertype:featurepriority:p0 labels 2026-04-26 15:22:33 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:37 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:37 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:37 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:40 -04:00
Author
Owner

Worker 1 is taking this issue.

Branch: agent-1/issue-24-create-mxaccess-com-object-on-sta
Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-1

Worker 1 is taking this issue. Branch: agent-1/issue-24-create-mxaccess-com-object-on-sta Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-1
Author
Owner

Implemented and merged via PR #69: #69

Commit: 451dccf
Merge commit on main: 76bd3de5a2
Branch: agent-1/issue-24-create-mxaccess-com-object-on-sta

Verification:

  • dotnet build src\MxGateway.sln passed with 0 warnings and 0 errors.
  • dotnet test src\MxGateway.Worker.Tests\MxGateway.Worker.Tests.csproj -p:Platform=x86 passed: 59 tests.
  • dotnet test src\MxGateway.sln --no-build passed: 179 total tests.

Acceptance criteria verified: MXAccess COM creation is isolated behind STA-session abstractions, event sink scaffolding is present, cleanup paths are covered, and live COM creation remains opt-in via MXGATEWAY_RUN_LIVE_MXACCESS_TESTS=1.

Implemented and merged via PR #69: https://gitea.dohertylan.com/dohertj2/mxaccessgw/pulls/69 Commit: 451dccf Merge commit on main: 76bd3de5a23ebee8e3ebc1e3b58145638d37508d Branch: agent-1/issue-24-create-mxaccess-com-object-on-sta Verification: - dotnet build src\\MxGateway.sln passed with 0 warnings and 0 errors. - dotnet test src\\MxGateway.Worker.Tests\\MxGateway.Worker.Tests.csproj -p:Platform=x86 passed: 59 tests. - dotnet test src\\MxGateway.sln --no-build passed: 179 total tests. Acceptance criteria verified: MXAccess COM creation is isolated behind STA-session abstractions, event sink scaffolding is present, cleanup paths are covered, and live COM creation remains opt-in via MXGATEWAY_RUN_LIVE_MXACCESS_TESTS=1.
Author
Owner

Milestone mxaccess-worker-foundation complete.

Closed issues: #20, #21, #22, #23, #24.
PRs merged: #58, #61, #65, #66, #69.
Branches: agent-3/issue-20-scaffold-worker-project, agent-3/issue-21-implement-worker-bootstrap-and-options, agent-2/issue-22-implement-pipe-client-and-frame-protocol, agent-1/issue-23-implement-sta-runtime-and-message-pump, agent-1/issue-24-create-mxaccess-com-object-on-sta.

Final verification commands run during issue verification:

  • dotnet build src\MxGateway.sln
  • dotnet test src\MxGateway.Worker.Tests\MxGateway.Worker.Tests.csproj -p:Platform=x86
  • dotnet test src\MxGateway.sln --no-build

Final merged main commit for this milestone: 76bd3de5a2.

Milestone mxaccess-worker-foundation complete. Closed issues: #20, #21, #22, #23, #24. PRs merged: #58, #61, #65, #66, #69. Branches: agent-3/issue-20-scaffold-worker-project, agent-3/issue-21-implement-worker-bootstrap-and-options, agent-2/issue-22-implement-pipe-client-and-frame-protocol, agent-1/issue-23-implement-sta-runtime-and-message-pump, agent-1/issue-24-create-mxaccess-com-object-on-sta. Final verification commands run during issue verification: - dotnet build src\\MxGateway.sln - dotnet test src\\MxGateway.Worker.Tests\\MxGateway.Worker.Tests.csproj -p:Platform=x86 - dotnet test src\\MxGateway.sln --no-build Final merged main commit for this milestone: 76bd3de5a23ebee8e3ebc1e3b58145638d37508d.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: dohertj2/mxaccessgw#24