Bug #22781
closedDiagnostics endpoint checks should name the service they're checking
Description
This code in source:lib/diagnostics/cmd.go:
for i, svc := range []*arvados.Service{
&cluster.Services.Keepproxy,
&cluster.Services.WebDAV,
&cluster.Services.WebDAVDownload,
&cluster.Services.Websocket,
&cluster.Services.Workbench1,
&cluster.Services.Workbench2,
} {
diag.dotest(40+i, fmt.Sprintf("connecting to service endpoint %s", svc.ExternalURL), func() error {
The "connecting to service" message should name the service it's checking alongside the URL. This would make it easier to spot mistakes where someone has assigned a meaningful URL to the service, but it's the wrong URL for that particular service.
Updated by Brett Smith 11 months ago
- Target version set to Development 2025-04-16
- Assigned To set to Brett Smith
- Status changed from New to In Progress
Updated by Brett Smith 11 months ago
22781-name-endpoints @ f6985add9a5c4cf2a71ed80a788d17f775b96d8f - developer-run-tests: #4733
- All agreed upon points are implemented / addressed.
- Yes
- Anything not implemented (discovered or discussed during work) has a follow-up story.
- N/A
- Code is tested and passing, both automated and manual, what manual testing was done is described
- See above, also tested manually to confirm the output looked as expected and did not change test IDs
- Documentation has been updated.
- N/A
- Behaves appropriately at the intended scale (describe intended scale).
- N/A
- Considered backwards and forwards compatibility issues between client and server.
- N/A
- Follows our coding standards and GUI style guidelines.
- Yes
Updated by Brett Smith 11 months ago
Tom Clegg wrote in #note-4:
Nit: now the services aren't numbered/checked in a defined order. If that's worth preserving, you could do [code] Other than that, LGTM
A defined order seems worth preserving for consistency across runs. As an admin I wouldn't want to have the results shuffled on me.
This ended up touching a little more than I expected so now at f4c16053d7 for another look.
Updated by Brett Smith 11 months ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|8695b174de42dace4098a29448ba146f41ac1521.