Skip to content

Add opt-in Sonar analysis and main readiness for the first library rollout #27

Closed

Description

@andregoepel

Operator acceptance — 2026-10-23

André explicitly accepted the first workflows/Core analysis-only rollout with its documented limitations and authorized closure of workflows #27 and Core #24. This completes the bounded first wave; it does not assert that the remaining evidence gaps or publication controls have been implemented.

Accepted revisions: workflows f6c806d1060e390a24c1451e7486578c9bdbab23; Core 7544584d1fe00192827f90987f69a162f24381f6. Shared main checks passed, including 259 runner tests on each of Windows and Linux. Core local analysis and isolated failed-gate/recovery checks passed within their recorded scopes. Both exact-main central CI/Sonar readiness sets passed against the accepted baseline, with 6/6 tests, 100% coverage and zero findings/hotspots. Core remains private and admin Browse/See Source Code access is verified. Rollback instructions are documented.

Accepted limits: sampled health does not prove peak/concurrent capacity; the central post-baseline runs have zero new-code denominators; native PR analysis and host-app E2E/deployment are not part of this library wave. Core's active Sonar Quality Gate stops failed analysis/readiness, but its existing tag publisher is independent and remains outside Sonar enforcement. Readiness receipts are short-lived historical evidence, not publication authorization.

Publishing stays unchanged; app-foundation publishing remains disabled. No Actions, service settings, token/policy configuration or other consumers are changed by this acceptance. No further rollout wave is authorized. Follow-up issue creation records planned work only.

Scope

Extract the accepted app-foundation Sonar analysis/readiness behavior into opt-in shared tooling for .NET libraries, with core as the first rollout consumer. Tracking epic: andregoepel/app-foundation#238.

Acceptance

  • Add a reusable trusted-main analysis workflow and local Windows/Linux runner guidance, pinned tools and offline contract tests.
  • Parameterize repository, Sonar project/server, complete project/test/coverage inventory, mandatory CI evidence and reviewed policy; reject missing, stale, wrong-revision and changed-policy evidence.
  • Keep existing Actions/workflows and all current consumers unchanged. No publishing or deployment capability in this addition.
  • Validate the shared runner and the core onboarding; submit one PR for review without merging.
  • Record two exact-main CI/Sonar sets, isolated gate failure/recovery, sampled capacity and rollback instructions. André accepted the wave on 2026-10-23 with the documented peak/concurrency and new-code evidence limits; remaining work is tracked separately.

The accepted app-foundation implementation remains unchanged. Host-app/E2E support, other consumers and publisher migration are separate work.

Review packet — 2026-10-22

PR: #28, head 64b791bc90feadfd21a8cc3cf73b14456172334b. Consumer: andregoepel/core#25. Both onboarding PRs are now merged by the operator; the immutable shared source remains unchanged.

All five hosted checks passed on attempt 1: existing validation and Windows/Linux Sonar runner checks. The shared suite has 259 passing tests on each platform; the unchanged producer suite passes 80 tests. Existing Action/workflow files were compared against the base and are unchanged.

Core integration passed full local Windows and Linux scans: two projects, six tests, 100% coverage, no issues/hotspots. An isolated uncovered probe failed the unchanged gate at 13.9% coverage and exited nonzero, followed by successful clean Linux recovery. Core's actual wrapper also fetched this immutable shared commit and completed a successful scan. Private logs remain local; temporary credentials were removed and the prototype returned to its stopped state.

Post-merge existing validation and Windows/Linux runner checks passed on the merged shared pin. Core's setup corrections and baseline policy were reviewed and merged in Core #26–#28. Central runtime resolution, protected-environment credential forwarding and both baseline-bound readiness runs are now verified.

Core set 1: CI attempt 1, Sonar. Set 2: CI attempt 2, Sonar. All succeeded on the accepted Core revision. Both receipts are analysis-only (releaseEligible: false).

Tracked follow-ups

These follow-ups do not reopen the accepted wave. Implementation, workflow changes, purchases, publishing activation and additional repositories need their own appropriate authorization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions