Skip to content

Cleanup, bug fixes, and dependency updates#27

Merged
flashadmin merged 10 commits intomainfrom
cloudsql-exporter-cleanup-2026041501
Apr 15, 2026
Merged

Cleanup, bug fixes, and dependency updates#27
flashadmin merged 10 commits intomainfrom
cloudsql-exporter-cleanup-2026041501

Conversation

@flashadmin
Copy link
Copy Markdown
Owner

Summary

  • Remove unused files: goreleaser, Dockerfiles, CI workflows (release, secrets, codeql), community boilerplate, dependabot (replaced by Renovate)
  • Fix AddRoleBindingToGCSBucket silently skipping when role binding doesn't exist yet
  • Fix WaitForSQLOperation ignoring timeout parameter
  • Fix --version flag not working (version set after arg parsing)
  • Filter system databases for both MySQL and PostgreSQL
  • Remove dead code (Databases.Items())
  • Restore least-privilege permissions in lint workflow
  • Bump CI actions: checkout v6, setup-go v6, golangci-lint-action v9
  • Bump google.golang.org/api v0.237.0 → v0.276.0
  • Bump Go 1.23 → 1.26

Remove goreleaser, Dockerfiles, CI workflows (release, secrets),
community boilerplate (COC, CONTRIBUTING, CODEOWNERS, issue/PR
templates, SECURITY), dependabot (replaced by Renovate), and demo.svg.

Trim accidental choosealicense.com UI text from LICENSE.
When the IAM policy had no existing binding for the requested role,
the function silently fell through without adding the member.
Now appends a new binding when the role is not found.

Also fixes mutating a loop copy instead of the slice element directly.
The timeout argument was accepted but never used. Now creates a
derived context with the specified timeout so operations don't
poll indefinitely.
Previously only skipped 'mysql'. Now also skips information_schema,
performance_schema, sys (MySQL) and postgres, cloudsqladmin,
template0, template1 (PostgreSQL).
Also updates all transitive dependencies and go directive to 1.25.0.
@flashadmin flashadmin marked this pull request as ready for review April 15, 2026 09:05
@flashadmin flashadmin merged commit 2aaee81 into main Apr 15, 2026
1 check passed
@flashadmin flashadmin deleted the cloudsql-exporter-cleanup-2026041501 branch April 15, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant