-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extended Build/Test Status Support for KCIDB #594
Comments
We already have the "duration" field specifying the duration of the test (and build) execution in seconds. We also already have the "start_time" field for both builds and tests. I would keep Do we want to separate time before getting a machine, and time between getting a machine (beginning testing) and starting execution, as e.g. the attached libinput_test_states.tar.gz shows for libinput test execution? The Regarding the ETA display, we can add the So, overall, I think this could be the plan:
|
Let's agree on a plan here, and I'll send a proposal to the CI systems. |
Problem Statement
KCIDB needs to track and display detailed status information for builds and tests. Developers require visibility into the build/test progression and, when possible, estimated completion times.
Current Build/Test States
Builds and tests typically progress through three states:
Technical Constraint
Since KCIDB uses a write-once database, we cannot update existing build/test status records. Instead, we must add new records for state changes.
Proposed Solution
We can add the following timestamp fields:
Option 1: Absolute Timestamps
queued_at
: Time when the build/test entered the queuestarted_at
: Time when the build/test execution beganfinished_at
: Time when the build/test completedOption 2: Duration-Based Approach
queued_at
: Time when the build/test entered the queueduration_queued
: Time spent in queue (started_at - queued_at)duration_running
: Execution time (finished_at - started_at)Benefits
The text was updated successfully, but these errors were encountered: