Skip to content

chore: remove unwanted deps and test database cleanups - #2059

Merged
kavirajk merged 5 commits into
mainfrom
kavirajk/upgrade-deps
Oct 7, 2026
Merged

kavirajk merged 5 commits into
mainfrom
kavirajk/upgrade-deps

Conversation

@kavirajk

@kavirajk kavirajk commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

1. upgrade - golang/x/crypto (need toolchain upgrade go 1.25 -> go 1.26) so leaving it for now
2. remove - github.com/mkevac/debugcharts - It is used only in stress.go which neither used in CI nor in makefile.
Plus http/pprof already imported by other means.

No behavior is impacted.

This dependency is too old and no longer maintained. So better in terms
of security practices

  1. Tests database cleanup

Noticed that some tests running doesn't clean up the temporary database
that got created during the test runs

This was not a problem in the CI (because docker kills the server
eventually). But problem when same tests are run in cloud instance.

The databases get added up which makes everything slow and alerts if
reaches the max limit on the cloud.

This commit makes sure those databases are cleaned up correctly

Checklist

Delete items not relevant to your PR:

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
It is used only in stress.go which neither used in CI nor in makefile.
Plus http/pprof already imported by other means.

No behavior is impacted.

This dependency is too old and no longer maintained. So better in terms
of security practices

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
@kavirajk
kavirajk requested a review from chernser as a code owner October 7, 2026 13:21
@workflow-authentication-public workflow-authentication-public Bot added the needs-docs PR has user-visible changes without matching docs updates label Oct 7, 2026
@workflow-authentication-public

workflow-authentication-public Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Docs drift check: resolved, docs now match this PR's changes.

rationale is that needs the golang toolchain also to be upgraded to go
1.25 -> go 1.26.

Which would break our policy of supporting at least two older version of
Go toolchain.

We should be able to upgrade it in a month or so

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
@workflow-authentication-public workflow-authentication-public Bot removed the needs-docs PR has user-visible changes without matching docs updates label Oct 7, 2026
Noticed that some tests running doesn't clean up the temporary database
that got created during the test runs

This was not a problem in the CI (because docker kills the server
eventually). But problem when same tests are run in cloud instance.

The databases get added up which makes everything slow and alerts if
reaches the max limit on the cloud.

This commit makes sure those databases are cleaned up correctly

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
@kavirajk kavirajk changed the title chore: upgrade and remove unwanted deps chore: remove unwanted deps and test database cleanups Oct 7, 2026
@kavirajk
kavirajk merged commit 588cef5 into main Oct 7, 2026
25 of 26 checks passed
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.

2 participants