Skip to content

Regenerate Fixtures Bugfix#263

Closed
UdeshyaDhungana wants to merge 7 commits intoandy/fix-redis-cli-prefixfrom
regen-fixtures-fix
Closed

Regenerate Fixtures Bugfix#263
UdeshyaDhungana wants to merge 7 commits intoandy/fix-redis-cli-prefixfrom
regen-fixtures-fix

Conversation

@UdeshyaDhungana
Copy link
Copy Markdown
Contributor

@UdeshyaDhungana UdeshyaDhungana commented Apr 6, 2026

Note

Low Risk
Low risk: changes are limited to local make setup package pinning and updated test fixtures/log outputs, with no production logic modifications.

Overview
Pins Linux make setup to install Redis 6:8.4* via apt preferences to avoid pulling unexpected Redis versions.

Regenerates the internal/test_helpers/fixtures/expiry/pass fixture to match current test output (updated ephemeral ports/timestamps in the recorded logs).

Reviewed by Cursor Bugbot for commit fe3a240. Bugbot is set up for automated code reviews on this repo. Configure here.

@UdeshyaDhungana UdeshyaDhungana added the regenerate-fixtures Trigger a CI job to regenerate fixtures label Apr 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Triggered a Github Actions job to update fixtures.

@github-actions github-actions bot removed the regenerate-fixtures Trigger a CI job to regenerate fixtures label Apr 6, 2026
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Debug log left in production test code
    • Removed the debug log statement logger.Infof("Test log for testing regenerate_fixtures") from test_bind.go as it was a temporary debug line used to verify fixture regeneration and served no functional purpose.

Create PR

Or push these changes by commenting:

@cursor push abcac6c0e8
Preview (abcac6c0e8)
diff --git a/internal/test_bind.go b/internal/test_bind.go
--- a/internal/test_bind.go
+++ b/internal/test_bind.go
@@ -14,8 +14,6 @@
 
 	logger := stageHarness.Logger
 
-	logger.Infof("Test log for testing regenerate_fixtures")
-
 	bindTestCase := test_cases.BindTestCase{
 		Port:    6379,
 		Retries: 15,

You can send follow-ups to the cloud agent here.

@UdeshyaDhungana UdeshyaDhungana added the regenerate-fixtures Trigger a CI job to regenerate fixtures label Apr 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Triggered a Github Actions job to update fixtures.

@github-actions github-actions bot removed the regenerate-fixtures Trigger a CI job to regenerate fixtures label Apr 6, 2026
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Debug test log accidentally committed in fixture files
    • Removed the debug message 'Test log for testing regenerate_fixtures' from all 5 affected fixture files (bind/failure, bind/success, bind/timeout, expiry/pass, ping-pong/slow_response).

Create PR

Or push these changes by commenting:

@cursor push aab710e806
Preview (aab710e806)
diff --git a/internal/test_helpers/fixtures/bind/failure b/internal/test_helpers/fixtures/bind/failure
--- a/internal/test_helpers/fixtures/bind/failure
+++ b/internal/test_helpers/fixtures/bind/failure
@@ -1,6 +1,5 @@
 �[33m[tester::#JM1] �[0m�[94mRunning tests for Stage #JM1 (jm1)�[0m
 �[33m[tester::#JM1] �[0m�[94m$ ./spawn_redis_server.sh�[0m
-�[33m[tester::#JM1] �[0m�[94mTest log for testing regenerate_fixtures�[0m
 �[33m[tester::#JM1] �[0m�[94mConnecting to port 6379...�[0m
 �[33m[your_program] �[0m�[0mhey, not going to bind!�[0m
 �[33m[tester::#JM1] �[0m�[91mFailed to connect to port 6379.�[0m

diff --git a/internal/test_helpers/fixtures/bind/success b/internal/test_helpers/fixtures/bind/success
--- a/internal/test_helpers/fixtures/bind/success
+++ b/internal/test_helpers/fixtures/bind/success
@@ -2,7 +2,6 @@
 
 �[33m[tester::#JM1] �[0m�[94mRunning tests for Stage #JM1 (jm1)�[0m
 �[33m[tester::#JM1] �[0m�[94m$ ./spawn_redis_server.sh�[0m
-�[33m[tester::#JM1] �[0m�[94mTest log for testing regenerate_fixtures�[0m
 �[33m[tester::#JM1] �[0m�[94mConnecting to port 6379...�[0m
 �[33m[your_program] �[0m�[0mhey, binding to 6379�[0m
 �[33m[tester::#JM1] �[0m�[36mConnection successful�[0m

diff --git a/internal/test_helpers/fixtures/bind/timeout b/internal/test_helpers/fixtures/bind/timeout
--- a/internal/test_helpers/fixtures/bind/timeout
+++ b/internal/test_helpers/fixtures/bind/timeout
@@ -1,6 +1,5 @@
 �[33m[tester::#JM1] �[0m�[94mRunning tests for Stage #JM1 (jm1)�[0m
 �[33m[tester::#JM1] �[0m�[94m$ ./spawn_redis_server.sh�[0m
-�[33m[tester::#JM1] �[0m�[94mTest log for testing regenerate_fixtures�[0m
 �[33m[tester::#JM1] �[0m�[94mConnecting to port 6379...�[0m
 �[33m[your_program] �[0m�[0mhey, not going to bind!�[0m
 �[33m[tester::#JM1] �[0m�[94mFailed to connect to port 6379, retrying in 1s�[0m

diff --git a/internal/test_helpers/fixtures/expiry/pass b/internal/test_helpers/fixtures/expiry/pass
--- a/internal/test_helpers/fixtures/expiry/pass
+++ b/internal/test_helpers/fixtures/expiry/pass
@@ -137,7 +137,6 @@
 
 �[33m[tester::#JM1] �[0m�[94mRunning tests for Stage #JM1 (jm1)�[0m
 �[33m[tester::#JM1] �[0m�[94m$ ./spawn_redis_server.sh�[0m
-�[33m[tester::#JM1] �[0m�[94mTest log for testing regenerate_fixtures�[0m
 �[33m[tester::#JM1] �[0m�[94mConnecting to port 6379...�[0m
 �[33m[tester::#JM1] �[0m�[36mConnection successful�[0m
 �[33m[tester::#JM1] �[0m�[92mTest passed.�[0m

diff --git a/internal/test_helpers/fixtures/ping-pong/slow_response b/internal/test_helpers/fixtures/ping-pong/slow_response
--- a/internal/test_helpers/fixtures/ping-pong/slow_response
+++ b/internal/test_helpers/fixtures/ping-pong/slow_response
@@ -7,7 +7,6 @@
 
 �[33m[tester::#JM1] �[0m�[94mRunning tests for Stage #JM1 (jm1)�[0m
 �[33m[tester::#JM1] �[0m�[94m$ ./spawn_redis_server.sh�[0m
-�[33m[tester::#JM1] �[0m�[94mTest log for testing regenerate_fixtures�[0m
 �[33m[tester::#JM1] �[0m�[94mConnecting to port 6379...�[0m
 �[33m[your_program] �[0m�[0mhey, binding to 6379�[0m
 �[33m[tester::#JM1] �[0m�[92mTest passed.�[0m

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit 5a830a6. Configure here.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Triggered a Github Actions job to update fixtures.

1 similar comment
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Triggered a Github Actions job to update fixtures.

@UdeshyaDhungana UdeshyaDhungana changed the base branch from main to andy/fix-redis-cli-prefix April 6, 2026 04:31
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