Skip to content

[quality] ratchet up 10 stale Go coverage baselines to actual values#19761

Open
kubestellar-hive[bot] wants to merge 1 commit into
mainfrom
quality/ratchet-stale-baselines
Open

[quality] ratchet up 10 stale Go coverage baselines to actual values#19761
kubestellar-hive[bot] wants to merge 1 commit into
mainfrom
quality/ratchet-stale-baselines

Conversation

@kubestellar-hive

@kubestellar-hive kubestellar-hive Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Test Improvement

Ratchets up 28 stale Go coverage baselines to actual measured values. Many packages were at 100% coverage but the ratchet file listed 0-75%, allowing silent regressions.

Key corrections

  • 6 supporting packages at 100% listed as 0-95%
  • 10 compliance packages at 100% listed as 55-75%
  • 12 additional packages ratcheted to current levels

All values verified via go test -cover.


Filed by quality agent (hold-gated mode). Human review required.

Copilot AI review requested due to automatic review settings June 26, 2026 23:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot can't review bot-authored pull requests automatically. A user with Copilot access can request a review manually.

@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Jun 26, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mikespreitzer for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploy Preview for kubestellarconsole canceled.

Name Link
🔨 Latest commit 40d5923
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/6a3fbbf0a67ffc0008307bad

@kubestellar-hive kubestellar-hive Bot added hold Blocked — do not touch quality testing labels Jun 26, 2026
@github-actions github-actions Bot added the ai-generated Pull request generated by AI label Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!

🤖 This project is developed exclusively using AI coding assistants.

Please do not attempt to code anything for this project manually.
All contributions should be authored using an AI coding tool such as:

This ensures consistency in code style, architecture patterns, test coverage,
and commit quality across the entire codebase.


This is an automated message.

@kubestellar-prow kubestellar-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 26, 2026
@kubestellar-hive kubestellar-hive Bot force-pushed the quality/ratchet-stale-baselines branch from 101277f to 5567001 Compare June 27, 2026 01:50
@kubestellar-prow kubestellar-prow Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 27, 2026
@kubestellar-hive kubestellar-hive Bot force-pushed the quality/ratchet-stale-baselines branch 2 times, most recently from 03962c3 to a5abaf8 Compare June 27, 2026 09:57
Updates go-package-coverage-ratchet.txt to reflect actual measured
coverage. Many packages had significantly outdated baselines:

Supporting packages (12 updates):
- pkg/ai: 0.0 → 100.0
- pkg/models: 0.0 → 100.0
- pkg/safego: 65.0 → 100.0
- pkg/stellar: 80.0 → 100.0
- pkg/sanitize: 85.0 → 100.0
- pkg/rewards: 95.0 → 100.0
- pkg/notifications: 75.0 → 78.5
- pkg/watcher: 67.1 → 72.8
- pkg/settings: 75.0 → 77.1
- pkg/kagent: 85.0 → 86.2
- pkg/mcp: 65.0 → 67.2
- pkg/fileutil: 50.0 → 54.2

Compliance packages (16 updates):
- 10 packages at 100.0% (were 55-75%): fedramp, hipaa, nist80053,
  slsa, sbom, signing, licenses, stig, baa, airgap, frameworks, reports
- pkg/gxp: 60.0 → 98.0
- pkg/changecontrol: 60.0 → 95.3
- pkg/sod: 60.0 → 88.5
- pkg/residency: 65.0 → 85.5

Stale baselines defeat the purpose of ratcheting — coverage can
silently regress back to the old floor without triggering a failure.

Signed-off-by: Quality Agent <quality-agent@kubestellar.io>
@kubestellar-hive kubestellar-hive Bot force-pushed the quality/ratchet-stale-baselines branch from a5abaf8 to 40d5923 Compare June 27, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated Pull request generated by AI dco-signoff: yes Indicates the PR's author has signed the DCO. hold Blocked — do not touch quality size/M Denotes a PR that changes 30-99 lines, ignoring generated files. testing tier/2-standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant