Skip to content

Fix assertion in TestDropUpdates and trunk upgrade#452

Merged
mangalaman93 merged 1 commit intomainfrom
aman/451
Jun 16, 2025
Merged

Fix assertion in TestDropUpdates and trunk upgrade#452
mangalaman93 merged 1 commit intomainfrom
aman/451

Conversation

@mangalaman93
Copy link
Contributor

Fixes #451

@mangalaman93 mangalaman93 requested review from a team and Copilot May 28, 2025 07:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an assertion in TestDropUpdates and updates the project's trunk configuration to use newer versions of tools and runtimes.

  • Fixes the assertion in cache_test.go by explicitly converting -1 to int64.
  • Updates .trunk/trunk.yaml to use newer CLI, plugin, runtime, and linter versions.
  • Enhances .trunk/configs/.golangci.json with additional exclusion rules and bumps the configuration version.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
cache_test.go Fixes assertion by using explicit int64 conversion.
.trunk/trunk.yaml Updates tool versions including CLI, plugins, and linters.
.trunk/configs/.golangci.json Adds exclusion rules and updates the configuration version.

@trunk-io
Copy link

trunk-io bot commented May 28, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

@mangalaman93 mangalaman93 enabled auto-merge (squash) May 28, 2025 07:56
@mangalaman93 mangalaman93 merged commit 511fca0 into main Jun 16, 2025
7 checks passed
@mangalaman93 mangalaman93 deleted the aman/451 branch June 16, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Test bug: TestDropUpdates assertion incorrectly passes due to int/int64 type mismatch

2 participants