Skip to content

Conversation

@academo
Copy link
Collaborator

@academo academo commented Jan 13, 2026

The previous implementation was incorrectly checking the age of the latest go-sdk release instead of the age of the version the plugin is using.

This change makes it so the validator checks the version of the grafana go sdk the plugin is using

return nil, nil
}

// check if go sdk was replaced before doing any version checks
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is the same code, just moving it up so we check for a sdk replacement before we do sdk age checks.

}

func TestValidGoMod(t *testing.T) {
httpmock.Activate()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

tests changes focus around putting the "correct" dates for tests

@academo academo marked this pull request as ready for review January 13, 2026 14:49
@academo academo requested review from a team as code owners January 13, 2026 14:49
@academo academo moved this from 📬 Triage to 🔬 In review in Plugins Platform / Grafana Community Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔬 In review

Development

Successfully merging this pull request may close these issues.

1 participant