Skip to content

Release automation: owner-comment selective CI + exact-SHA guarded stable publishing - #770

Merged
masarray merged 9 commits into
mainfrom
feature/owner-comment-gated-ci-release-20261121
Nov 20, 2026
Merged

masarray merged 9 commits into
mainfrom
feature/owner-comment-gated-ci-release-20261121

Conversation

@masarray

@masarray masarray commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Release policy corrected — ARSAS is a protocol/client tester (21 Nov 2026)

Updated head: dc544969c77a746d5ceced4ff2da6b2aa34cbb4d.

Removed non-product release vetoes: Issue ARSAS #769 (SOE buffer/live event provenance), ARIEC #172 (vendor-specific command troubleshooting), and mandatory IEC 61850 R7/vendor field qualification no longer block public ARSAS tester distribution. These issues remain open and actionable. A user-tested protocol analyzer must not masquerade as a substation control/SCADA production certification gate.

Still mandatory: monotonic version strictly greater than published stable tag; exact merged-main SHA; same-source successful Build ARSAS canonical full managed/engine/native regression; validated Windows installer install/repair/uninstall runtime smoke; CI P0 workflow integrity; sealed provenance, hashes and no overwrite of existing release. Owner command authentication remains GitHub owner-only and protected. Added mocked positive/negative tests for publication with unresolved field issues.

Changes: .github/workflows/release-windows.yml, .github/workflows/owner-command.yml, tests/owner-comment-contract.test.cjs, docs/WINDOWS_RELEASES.md. No new workflow, no relaxed installer checksum or artifact identity.

CI P0 run #44831385732 SUCCESS. Build/installer exact-head build / installer still must succeed before merging.


Scope / rationale

  • New default-branch-only issue-comment owner router: /arsas ci fast [group], /arsas ci full, /arsas ci installer, /arsas release verify and /arsas release publish.
  • Require literal repository owner identity, OWNER author-association, SHA, same-repo PR head and unchanged branch ref. No PR checkout or shell interpolation in privileged comment router.
  • Stable publication only for a merged PR whose merge SHA is still main, monotonic version, verified exact-source canonical application and installer CI; field issues are advisory.
  • Critical: manual stable publication now must reuse the canonical sealed package and installed-smoke-tested installer instead of its older local rebuild fallback. Manual non-publishing verification preserves isolated engineering fallback. Exact SHA is also validated in the target workflow.
  • Existing v1.6.42 release and updater manifest immutable.

Gates

CI P0 workflow integrity, Build ARSAS, workflow fixture tests and independent review. The owner comment trigger activates only after merging this PR to default main.

Non-goals

No engine production repin, no live IED control, no stable publish while P0 issues remain open.

2026-11-21 authoring update

Source branch head advanced to 012b5902aaecd82ef55deb44b3cb0c4c3aaa9912 (check exact branch SHA at review time). Distinct owner issue_comment router retained as one explicit lightweight workflow budget increase (31→32); no new restore/build/test lane. Existing P1 callable now accepts FAST group while keeping bounded exact-source and TRX proof. Manual publishing must use canonical CI-tested package and validated installer, never the no-publish fallback; P0 issues #769/ARIEC #172 checked independently in release-ready workflow. Six offline Node mocked-auth/dispatch tests added to CI P0. No publication or engine repin performed.

Review gate: require the latest branch SHA (not a stale PR snapshot), CI P0 and canonical Windows Build, and exact release workflow validation before merge; owner router only becomes active from default main.

…ackage and installer gates

Only a verified main SHA can manually publish stable; non-publishing manual verification preserves the isolated engineering rebuild path. Owner-comment dispatch pins SHA for full CI and installer validation.
…repair literal YAML patches

Maintain exactly 31 workflow files and one trusted owner dispatch authority. Remove incorrectly duplicated release/CI step blocks; preserve canonical release package path and exact SHA guards.
Restore existing P1 workflow to known good; keep the privileged issue_comment router in a distinct no-checkout workflow. Explicitly document one extra lightweight workflow in CI budget (32), with no new .NET restore/build/test or artifacts. Reject initial embedded-router startup failure without weakening production safety.
…lve manual version

Allow exact-SHA owner-comment FAST DEV input on existing CI P1, keeping the privileged router isolated. Manual no-publish release verification defaults to the checked-out VERSION. Pass version as env, not untrusted PowerShell expression interpolation; manually published releases still require canonical sealed package gates.
Add strictly allowlisted test filters and nonempty TRX proof under one existing restore/build/test runner. Reject trial engine SHAs in this stable CI lane; keep all FAST DEV results nonpromotable. Prevent unsupported workflow_call inputs from causing startup_failure.
…t and serialize publication

Tag pushes and manual dispatches must pass independent P0 #172/#769 issue gates even when bypassing comment router. Serialize every release runner and preserve exact SHA/reused installer proof; comment owner is not a bypass.
…GitHub

Assert non-owner and contributor rejection, exact SHA and no fork authority, FAST group routing, unmerged/stale/unsafe publication refusal, valid latest-main dispatch, and non-publishing verification. Run with Node in existing P0 CI workflow; no added build jobs.
…issue closure veto

Remove release veto on ARSAS #769 and ARIEC #172; treat SOE and hardware qualification as documented defects, not manual gates. Owner publish still requires newer reviewed version, exact merged-main SHA, canonical Windows full regression, installed installer smoke and workflow integrity. Add positive/negative mocked authorization tests and product scope guidance.
@masarray
masarray marked this pull request as ready for review November 20, 2026 22:46
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-20T22:46:44.533665Z
We couldn’t complete this review. Comment @codex review to try again.
dc54496 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@masarray
masarray merged commit 1e4a8d6 into main Nov 20, 2026
22 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.

1 participant