refactor: Rename GetTestStatusResponse enum for clarity

- Changed the enum name from Status to TestStatus in GetTestStatusResponse to improve clarity and better reflect its purpose.
- Updated the corresponding function ConvertHarnessStatus to align with the new enum name, ensuring consistency across the codebase.
This commit is contained in:
scawful
2025-10-09 21:24:06 -04:00
parent 74a5144128
commit 0491781dd5
3 changed files with 94 additions and 87 deletions

View File

@@ -158,7 +158,7 @@ message GetTestStatusRequest {
}
message GetTestStatusResponse {
enum Status {
enum TestStatus {
STATUS_UNSPECIFIED = 0; // Test ID not found or unspecified
STATUS_QUEUED = 1; // Waiting to execute
STATUS_RUNNING = 2; // Currently executing
@@ -167,7 +167,7 @@ message GetTestStatusResponse {
STATUS_TIMEOUT = 5; // Exceeded timeout
}
Status status = 1;
TestStatus status = 1;
int64 queued_at_ms = 2; // When test was queued
int64 started_at_ms = 3; // When test started (0 if not started)
int64 completed_at_ms = 4; // When test completed (0 if not complete)