Skip to content

Validate Core central Sonar readiness with nonempty new-code coverage #30

Closed

Description

@andregoepel

Gap and scope

The two accepted central Core readiness runs succeeded after policy/documentation changes. They had explicit zero new-code denominators, so they do not demonstrate nonempty new-code coverage. The retained local uncovered-probe test proved overall coverage failure and recovery, not a central new-code failure.

This is an accepted follow-up to #24 and epic #238; it does not reopen wave acceptance.

Acceptance criteria

  • Prefer the next meaningful, reviewed Core source change with tests; use a temporary probe only if a separate controlled drill is authorized.
  • Record successful central analysis on the exact merged main revision, with nonzero new lines to cover and measured new-code coverage against the existing accepted baseline. Verify the configured new-code conditions and successful exact-attempt readiness receipt.
  • Retain the complete discovered/passed test inventory, imported coverage and exact task/analysis identity. Do not substitute overall coverage for new-code coverage or treat absent percentages as positive evidence when denominators are nonzero.
  • Exercise a safe isolated negative new-code case and successful recovery with the same reviewed policy, proving the tool exits nonzero and does not issue trusted readiness on failure. Clearly label isolated evidence; do not claim a central failure drill unless one was actually performed.
  • Preserve the baseline, thresholds, frozen profiles and small-change setting. Do not introduce coverage exclusions or reset the baseline to make the check pass.
  • Record the result in a concise evidence report linked to this issue. Keep raw scanner data private and clean up only owned temporary fixtures.

Authorization boundary

Issue creation does not authorize source changes, commits, pushes, merges, a main-branch failure drill, workflow/policy changes or publishing. Any deliberate central probe and its removal need an explicitly approved plan. Other repositories remain outside scope.

Verified acceptance evidence — 2026-10-24

The meaningful null-argument fix and both regression tests were reviewed and merged in PR #31. Exact main revision: 42874ff085ed01c2d06016195360dbdf3d910fe2.

  • Main CI 40078055900, attempt 1 and Sonar readiness 40078086628, attempt 1 passed.
  • Sonar task b407a2f9-fb90-4dae-a0bd-ec81e9fd1dcf succeeded; analysis 6c2fd919-6ba9-4f1d-9dfb-c17513c1a513 matches that main SHA and exact workflow build string.
  • Four new lines to cover, 100% new-code coverage, zero new issues, 0% new duplication and zero new hotspots. Eight tests discovered/passed, both projects analyzed and Result.cs coverage imported. Overall coverage is 100%, recorded separately from the new-code evidence.
  • Exact-attempt readiness receipt was independently verified at 08:32:15 UTC, including CI job identity, hashes, baseline and freshness. It had analysisReady: true, releaseEligible: false, expiring at 09:30:08 UTC. This historical acceptance does not extend its validity for a future release.
  • Accepted baseline e3555256-765a-4247-9489-9a22f02ff42b, all six conditions, 27 frozen profiles/rule timestamps, disabled small-change exemption and absence of coverage exclusions remained unchanged. No gate conditions were ignored. Hotspot-review percentage is inapplicable with its explicitly zero denominator.
  • The isolated local test documented in the merged report failed at 0% new-code coverage while overall 87.5% passed; covered recovery reached 100%, with the same isolated baseline. Failure returned nonzero and issued no trusted readiness. This was not a central failure drill. Owned fixtures were cleaned up; raw evidence stays private.

PR #32 consolidates this evidence into docs/sonar-new-code.md together with the disabled standby-workflow preparation. All technical criteria above are fulfilled independently of that documentation consolidation. #29 remains open; publishing and existing Actions are unchanged.

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