Skip to content

[quality] fix: solver test emoji mismatch breaking go test on all PRs (P0)#19955

Closed
clubanderson wants to merge 1 commit into
mainfrom
quality/fix-solver-emoji-regression
Closed

[quality] fix: solver test emoji mismatch breaking go test on all PRs (P0)#19955
clubanderson wants to merge 1 commit into
mainfrom
quality/fix-solver-emoji-regression

Conversation

@clubanderson

Copy link
Copy Markdown
Collaborator

Test Fix (P0)

Aligns solver_coverage_test.go emoji assertions with the production code in solver.go.

Root cause: solver.go was updated to use \u2746 (❆ six-pointed star) for resolved notifications, but the test file still expected \u2726 (✦ four-pointed star). This causes TestTerminateResolved and TestTerminateAllStatusTypes/resolved_status to fail, blocking go test ./... on all open PRs.

Fix: Update both test assertions (lines 136 and 456) to match the production emoji \u2746.


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

solver.go uses \u2746 (❆) for resolved notifications but
solver_coverage_test.go expected \u2726 (✦), causing go test failures
on main and all open PRs.

Update both test assertions (lines 136 and 456) to match the production
emoji.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: sec-check <sec-check@hive.kubestellar.io>
Copilot AI review requested due to automatic review settings June 30, 2026 00:14
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Jun 30, 2026
@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for kubestellarconsole canceled.

Name Link
🔨 Latest commit 9f8aaf0
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/6a430a6345152d0008afe60f

@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

@github-actions

Copy link
Copy Markdown
Contributor

👋 Hey @clubanderson — 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.

@github-actions

Copy link
Copy Markdown
Contributor

🐝 Hi @clubanderson! I'm kubestellar-hive[bot], an automation bot for this repo.

Trusted users — org members and contributors with write access — can mention @kubestellar-hive in a comment to trigger repo automation.
On issues, that mention queues an automated fix attempt. On pull requests, it records extra context for existing automation.
This is not an interactive Q&A bot, so mentions should be treated as requests for automation rather than a conversation.

Automation may take a moment to start, and follow-up happens through workflow activity rather than chat replies.

@github-actions github-actions Bot added ai-generated Pull request generated by AI tier/1-lightweight labels Jun 30, 2026
@kubestellar-prow kubestellar-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 30, 2026

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.

Pull request overview

Fixes failing solver termination tests by aligning the “resolved” notification title emoji assertion with the production implementation in terminate().

Changes:

  • Update TestTerminateResolved expected notification title to use \u2746 (❆) instead of \u2726 (✦).
  • Update the “resolved status” table case in TestTerminateAllStatusTypes to expect the same \u2746 (❆) title string.

@clubanderson

Copy link
Copy Markdown
Collaborator Author

Closing — superseded by #19951 which includes both the emoji test fix and nil-safety guards for pkg/agent/registry.go and pkg/stellar/solver/solver.go.

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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. tier/1-lightweight

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants