Skip to content

feat: add opt-in Sonar library analysis and main readiness - #28

Merged
andregoepel merged 1 commit into
mainfrom
feature/sonar-readiness-wave1
Oct 22, 2026
Merged

andregoepel merged 1 commit into
mainfrom
feature/sonar-readiness-wave1

Conversation

@andregoepel

@andregoepel andregoepel commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Problem and result

The accepted app-foundation Sonar runner is repository-specific. This PR extracts its analysis/readiness subset into an isolated, non-packable C# tool for .NET libraries and adds an opt-in reusable main workflow. Core is the first consumer; it supplies its repository, project, complete test/coverage inventory and reviewed policy instead of copying API plumbing.

The large diff is mainly the accepted implementation and its offline tests from app-foundation PR #289. Changes parameterize identities and CI requirements, support standalone CI, bind the reusable workflow/tool commit, remove browser setup, and emit analysis readiness only (releaseEligible: false). Existing workflow/Action files, image producers and consumers remain byte-for-byte unchanged.

Validation

  • Shared runner: 259 tests pass on Windows and Linux; zero build warnings/errors; pinned locked restore and dependency audit pass.
  • Existing producer suite: all 80 tests pass in Linux (its supported CI environment).
  • Actionlint 1.7.12 passes locally. All five hosted PR checks passed on attempt 1: existing validation and Windows/Linux runner checks.
  • Core integration: full local Windows scan and Linux recovery scan both analyze two projects, pass all six tests, report 100% coverage, zero issues and zero hotspots.
  • Isolated uncovered probe fails the unchanged local gate at 13.9% coverage with scanner exit 1; clean Linux recovery returns gate OK and exit 0. No probe is committed.

Review and rollout boundary

Review this shared PR before core #25. New support is opt-in; no consumer variable, environment, central project, baseline or publishing route is activated by this change. The consumer's reviewed frozen-profile inventory and actual central baseline, two successful exact-main CI/Sonar sets and measured staging capacity remain post-review work. The guide includes activation, evidence and rollback steps. No E2E/host-app support or publishing/deployment permission is claimed.

Refs #27 and andregoepel/app-foundation#238. Keep #27 open until post-merge rollout evidence is accepted. Do not merge automatically.

@andregoepel andregoepel left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Reviewed the shared runner and reusable workflow together with core#25. No actionable finding identified in this revision. Locally reran the shared runner suite: 259/259 tests passed. Hosted validation runs 39746670659 and 39746670811 are successful. Reviewed main/CI identity and freshness checks, immutable runner binding, credential handling, coverage verification and readiness-only output. The SDK-selection integration issue is recorded inline on core#25. Central activation and end-to-end hosted Sonar readiness remain unverified; no central scan or configuration change was performed.

@andregoepel
andregoepel merged commit f6c806d into main Oct 22, 2026
5 checks passed
@andregoepel
andregoepel deleted the feature/sonar-readiness-wave1 branch October 22, 2026 14:28
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