Skip to content

Engine staging→main promotion: P8/P9 integrated; exact combined CI and release FAT pending - #192

Draft
masarray wants to merge 251 commits into
mainfrom
staging
Draft

masarray wants to merge 251 commits into
mainfrom
staging

Conversation

@masarray

@masarray masarray commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

CURRENT PROMOTION AUTHORITY — 2026-11-21

Current staging HEAD: 8f7b75f15f06bb04489283ed0088565a2b3cd2b5, a true two-parent merge of P9 engine staging fb981b1e622ed298ccf26b71f49aaf21bdc897bb with latest main 1b7ec46754a765d6f7e7b8a512761b18505b2b2a. All current main commits are ancestors of this HEAD. The only overlapping changed file was the test project: we retained exact newer main test dependency versions and the existing Xunit global using. We also preserved main checkout-pin workflows and Pages verification without touching P9 runtime code.

P9 engine integration: #200 and #203 MERGED TO STAGING. SHA fb981b1e... had tree f1ead6e10cd04249422ac226ae4ecc6dc69cd1d7 exactly equal to field-tested experimental engine 24077e48.... Staging HEAD after reconciling maintenance has changed only CI/test/Pages paths relative to that source tree. Actual SG7 operator-trial consumer ARSAS a3dca3e8... demonstrated 77/77 Report-backed values and 4/4 true RCB InformationReport ingress.

This remains a DRAFT / NO PRODUCTION PROMOTION. The combined exact-SHA staging Windows .NET CI #44806482535 has now completed SUCCESS on 8f7b75f15f06bb04489283ed0088565a2b3cd2b5, including build, tests and public-source verification. This is a code-qualification result, not physical control/FAT, consumer installer or mainline production acceptance. Release blockers remain P0 #172 control cleanup/Operate stall risk, reporter ARSAS #769 continuity/reconnect qualification, structured FCD/partial discovery limitations where applicable (#159/#162), consumer integration against latest ARSAS source and physical/FAT signoff. Do not touch ARSAS production lock or public v1.6.42 based solely on successful staging CI.


Historical promotion discussion (before current staging P9 integration)

ARIEC61850 promotion gate — staging → main (DRAFT, NOT RELEASE)

Pinned initial staging merge: b3688be62f255ec5cfd8dfccc2d1d1093c301f62; current staging HEAD: 44ac7554f43f2ba06763f3895242cb569b2e6a1c, merged from #190 into staging with complete original commit ancestry. Pinned baseline main: 3d21238d0b62f24faecd5948a4ee238c82b35966 (CI-only #191). Staging is 222 commits ahead and 0 behind at creation; 117 changed files, source changes not yet in main.

Staging content

Canonical consolidated sources: #189 (Ed2 prefixed LN/typed DPC), #186 (RCB enrichment negotiated window), #187 (SBOw stage timing), #182 (SCL Ed2.2 identity), #170 (RIO sidecar), #130 (sustained SV analysis), #138 (primary-type semantics), plus historic stacked ancestors #184/#183/#181/#179/#177/#173/#169/#157/#153/#145. Other original PRs were closed as consolidated without direct main merge, with exact source SHA evidence.

CI already proven (staging ingress)

Release / physical field gates (not satisfied by CI)

Merge policy: This PR remains DRAFT until those gates are explicitly satisfied; no automatic production release, version bump or ARSAS repin. Avoid creating any more CI-only PRs. All work tracked here and central engineering issue #144.

Verified staging housekeeping — 2026-10-22

Staging updated by commit 44ac7554f43f2ba06763f3895242cb569b2e6a1c containing only test dependency upgrades from old #171: coverlet.collector 10.1.0, Microsoft.NET.Test.Sdk 18.11.0, xunit.runner.visualstudio 4.0.1, retaining <Using Include="Xunit" /> that the outdated old PR would have dropped. This was not merged into main. Windows CI on refs/pull/192/merge passed 1262/1262 tests with zero compilation warnings/errors (run #39782663272). Main promotion remains blocked by open control/IED interoperability FAT gates and three genuinely divergent source branches.

Final source-PR reconciliation (2026-10-22)

Do not convert this PR out of DRAFT or merge into main solely from green engine unit tests.

@masarray masarray changed the title staging → main: consolidated 1269 regressions • release/FAT gates (DRAFT) staging → main: 1269/1269 Windows CI PASS • FAT/ARSAS release gates (DRAFT) Oct 22, 2026
…negative tests

MMS Write: fail closed on invalid single-variable response cardinality
P0 MMS: fail-closed abbreviated DatSet/RptID cross-RCB routing (#707)
P8 reporting: reject type-conflicting structured MMS FCD leaves before scalar projection
…change

Remove receive-hot-path registry lock and per-frame Where/ToArray allocation; atomically clear stale session targets on disconnect. Add association reset regressions and repeatable four-RCB BER allocation/throughput telemetry without CI-host-dependent speed gate.
…B delivery at reset

Make exact RptID routing single-pass, defer affinity/DatSet scans, preserve fail-closed identity precedence. Add nonblocking producer admission lease so stopped RCBs drain without late delivery; protect volatile stopped state. Add allocation and concurrency regressions.
…d enrichment budget

Use read-only round-robin across observed indexed client slots rather than first 64 sorted BRCBs, which monopolized the budget on a few of 35 families on the BCUNR field profile. Never infer DatSet/availability from name. Distinguish completed budget from complete coverage and add synthetic 35x16 regression.
P9: four-RCB initial report registration race + bounded per-RCB delivery
P9: representative live RCB family enrichment within fixed MMS read budget
Preserve P9 source tree; bring in tested checkout workflow pins, published Pages verification and newer test tool versions. Resolve the sole test-project version overlap in favor of main while retaining Xunit global using. This is staging reconciliation only; production promotion requires exact combined CI and P0 control review.
@masarray masarray changed the title staging → main: 1269/1269 Windows CI PASS • FAT/ARSAS release gates (DRAFT) Engine staging→main promotion: P8/P9 integrated; exact combined CI and release FAT pending Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Cross-repo SG7_BCU P9 physical diagnostic — 2026-11-22 (evidence only, NO engine promotion)

Owner-supplied ARSAS field diagnostic from app 1.6.46+cd4b261d and pinned engine 24077e48e393ce3dc2cd1409db6e96f27aa1e368 demonstrates 77/77 displayed process values (0 pending), 4/4 independently routed configured BRCB ingress, and zero cyclic MMS process polling. Physical run observed 76 Report frames (66 sequenced), four BRCB BufOvfl flags and six SqNum discontinuities; e.g. BrcbB01 12→0, BrcbD01 9→0 and BrcbI01 9→0 around 07:25:55 WIB. These are not confirmed lost SOE events and must not be labeled harmless GI resets without wire causal proof.

BRCB_REPLAY_PROVEN logs on A01/B01 use original EntryID and six-byte MMS BinaryTime TimeOfEntry preceding association by at least 2 minutes; BinaryTime has no clock-sync quality byte, so do not equate TimeOfEntry with process-value t, or certify IED clock quality. Historical Intermediate [00] process timestamps around 05:25 can arrive after association/reception ~07:25; time alone does not prove new physical transition or failure of command. Same trace shows Disc0XSWI1.Pos Open accepted through SBOw, Operate, positive CommandTermination, independently confirmed Open feedback, approx. 477ms UI roundtrip.

Consumer ARSAS PR #793 remains DRAFT: adds bounded exact cross-RCB SOE repeat suppression, one operator control audit ledger, distinct clock-domain hover explanation, and literally blank Quality for command (no badge/placeholder). No changes made here to engine protocol code or ARSAS pinned engine source. Preserve independent RCB continuity, no automatic PurgeBuf and no false lossless SOE/clock certification; physical rerun against the patched binary remains a qualification gate.

This branch has not been deployed

No deployments
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