Skip to content

fix(ci): isolate package verification environment exports - #289

Merged
egil merged 1 commit into
mainfrom
egil/stjm-ci-environment-isolation
Oct 6, 2026
Merged

egil merged 1 commit into
mainfrom
egil/stjm-ci-environment-isolation

Conversation

@egil

@egil egil commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Summary

STJM package verification
  -> nested consumer builds
  -> discard build-time GitHub environment exports
  -> retain all package, analyzer, trimming and NativeAOT checks

Move the CI-only repair out of OM PR #286. Temporary consumer builds can emit multiline version data which GitHub rejects after otherwise successful verification. Match the environment isolation already used by the test jobs.

Evidence

  • Before: PR fix(om): upgrade all packages consistently to Orleans 10.4 #286 run 37449386320 built the package and passed analyzer checks, then failed with Unable to process file command env and Invalid format -alpha+663145f581.
  • After: The same repair passed packaging, analyzer checks, trimming/NativeAOT, tests and package validation in run 37452028173. This separate branch will rerun those checks against current main.

Merge Danger

Door: Two-way; workflow-only and straightforward to revert.

Blast Radius: CI.

No package API or runtime changes. OM PR #286 needs this repair on main to avoid the independent STJM CI failure after removing it from the OM diff. Do not merge or release automatically.

Redirect build-time GitHub environment exports to /dev/null in STJM packaging and trimming verification, matching the existing test-job isolation. Temporary consumer builds can emit multiline version data which GitHub rejects even when package checks succeed. Keep package creation and all analyzer, trimming and NativeAOT checks enabled.
Copilot AI balanced review requested due to automatic review settings October 6, 2026 12:06
egil added a commit that referenced this pull request Oct 6, 2026
Remove the independent STJM workflow change from the OM upgrade diff. Preserve the CI repair on its own branch and PR #289 so it can be reviewed and merged independently.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused workflow change consistently isolates affected builds without altering verification coverage.

Review effort: Balanced
Findings: None

What changed in this PR

Isolates STJM package verification from malformed build-time GitHub environment exports.

Changes:

  • Discards environment exports during package/analyzer verification.
  • Applies the same isolation to trimming and NativeAOT checks.
File Description
.github/​workflows/​egil-systemtextjson-migration-ci.yml Redirects nested-build environment exports to /dev/null.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@egil
egil merged commit 7554ad5 into main Oct 6, 2026
12 checks passed
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.

2 participants