Skip to content

Add generic live object contract packs#63

Merged
Marc-André Moreau (mamoreau-devolutions) merged 6 commits into
masterfrom
analysis-com-object-bridge
Jul 22, 2026
Merged

Add generic live object contract packs#63
Marc-André Moreau (mamoreau-devolutions) merged 6 commits into
masterfrom
analysis-com-object-bridge

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Summary

  • add preview typed live-object contracts, consumer-owned leases, and activation-time net8 payload adapter packs
  • register complete adapter-pack sets atomically and reconcile payload proxy leases across script replacement, removal, and aliases
  • reject unsafe nested/off-thread FFI calls while a pipeline runs while preserving cancellation and operation polling
  • add an external net8 contract-pack acceptance fixture and NativeAOT sample coverage

Validation

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets
  • cargo build --all-targets
  • cargo test --all-targets
  • dotnet build dotnet/bindings/Devolutions.PowerShell.SDK.Bindings.csproj -p:PwshExePath=<PowerShell 7.4>
  • dotnet test dotnet/bindings/Devolutions.PowerShell.SDK.Bindings.csproj --no-build
  • Release NativeAOT sample against PowerShell 7.4.17

Add typed contract-pack activation, payload proxy leases, and execution safeguards for consumer-to-session live objects.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Cover live-object contract pack exports, layouts, and required feature bits in the ABI compatibility gate.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Avoid test-only execution-lock deadlocks and serialize the process-global explicit-payload lifecycle suite.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run Rust tests serially in CI because the SDK test fixture shares process-global runtime state.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) merged commit 432d5b5 into master Jul 22, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant