Skip to content

[Bug] Manual Test Auto-Select Incorrectly Uses Config Server #2174

@svenvg93

Description

@svenvg93

Pre-work

  • I have read the docs.
  • I have searched open and closed issues.
  • I agree to follow this project's Code of Conduct.

Description

When running a manual speedtest without selecting a server (using the CLI’s automatic selection), the test will still use the server defined in the SPEEDTEST_SERVERS environment variable if it is set.

Expected Behavior

It should use the automatic mode of the CLI as placeholder suggest in the pop up.
This is probably because we call SelectSpeedtestServerJob in the process which will still pick the server from the config when set.

Steps to Reproduce

  1. Set a fake server as SPEEDTEST_SERVERS` for example 1234
  2. Restart your container
  3. In the topbar select Speedtest
  4. Leave the selection empty
  5. Click Start
  6. Check in the results table which server is used

Deployment Environment

Docker Compose

Application Information

{"environment":{"application_name":"Speedtest Tracker","laravel_version":"12.9.2","php_version":"8.3.19","composer_version":"2.8.8","environment":"production","debug_mode":true,"url":"192.168.1.10","maintenance_mode":false,"timezone":"UTC","locale":"en"},"cache":{"config":true,"events":true,"routes":true,"views":true},"drivers":{"broadcasting":"null","cache":"database","database":"sqlite","logs":"stderr","mail":"log","queue":"database","session":"database"},"storage":{"\/app\/www\/public\/storage":false},"filament":{"version":"v3.3.10","packages":"filament, forms, notifications, support, tables","views":"NOT PUBLISHED","blade_icons":"CACHED","panel_components":"CACHED"},"livewire":{"livewire":"v3.6.3"},"speedtest_tracker":{"version":"v1.5.0"}}

What browser(s) are you seeing the problem on?

Safari

Logs

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions