Skip to contentSkip to conversation

KCIDB: v5.1 - origin's build/test finish timestamps

DISCUSSION Nikolai Kondrashov 1 participant 3 messages Mar 14, 2025 – Mar 21, 2025

lore
Share & tools
lore
#0 lore raw

Hello again, everyone involved with sending data to KCIDB,

We've mostly finished implementing support for v5.0, so it's time for another update. This time backwards-compatible.

We would like to add two fields to checkouts: "origin_builds_finish_time" and "origin_tests_finish_time". They're supposed to contain the time the CI system which sent the checkout has finished running the builds/tests it planned for it.

These fields are requested by the KernelCI Webdashboard team to help implement marking a CI system's checkout as "done building" and "done testing". Note that each revision can have multiple checkouts, from one, or more CI systems.

The new fields duplicate the general (but harder to implement) mechanism supported thus far: sending individual planned builds/tests without their status, and then sending their status when they're done.

Here's the corresponding PR:

https://github.com/kernelci/kcidb-io/pull/97

Please comment there, or in response to this message.

As the change is minor and backwards-compatible, I'd like to set the feedback deadline to Wed, Mar 19. If there are no objections by that time, I'll merge this change to the schema and database support on that day.

Nick

#1 lore raw
Quoted 7 lines · Nikolai Kondrashov

We would like to add two fields to checkouts: "origin_builds_finish_time" and "origin_tests_finish_time". They're supposed to contain the time the CI system which sent the checkout has finished running the builds/tests it planned for it.

As the change is minor and backwards-compatible, I'd like to set the feedback deadline to Wed, Mar 19. If there are no objections by that time, I'll merge this change to the schema and database support on that day.

This is now merged, thank you everyone for your attention.

Next I'll be testing and merging the DB support for this.

Nick

#2 lore raw
Quoted 5 lines · Nikolai Kondrashov
Quoted 4 lines · Nikolai Kondrashov

We would like to add two fields to checkouts: "origin_builds_finish_time" and "origin_tests_finish_time". They're supposed to contain the time the CI system which sent the checkout has finished running the builds/tests it planned for it.

Quoted 7 lines
Quoted 3 lines

As the change is minor and backwards-compatible, I'd like to set the feedback deadline to Wed, Mar 19. If there are no objections by that time, I'll merge this change to the schema and database support on that day.

This is now merged, thank you everyone for your attention.

Next I'll be testing and merging the DB support for this.

Support for this is now deployed, and the database is upgraded and ready to accept v5.1 data, that is the new "origin_builds_finish_time" and "origin_tests_finish_time" fields.

Nick