Skip to content

Commit 350fc9e

Browse files
committed
update schema.md
1 parent 3758089 commit 350fc9e

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

database/schema.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -323,26 +323,24 @@ what master parent jobs we need to backfill when handling try builds.
323323

324324
Columns:
325325

326-
- **id** (`bigint` / `serial`): Primary-key identifier for the job row;
327-
auto-increments with each new job.
328-
- **request_id** (`bigint`): References the parent benchmark request that
326+
* **id** (`bigint` / `serial`): Primary*key identifier for the job row;
327+
auto*increments with each new job.
328+
* **request_tag** (`text`): References the parent benchmark request that
329329
spawned this job.
330-
- **target** (`text NOT NULL`): Hardware/ISA the benchmarks must run on
330+
* **target** (`text NOT NULL`): Hardware/ISA the benchmarks must run on
331331
(e.g. AArch64, x86_64).
332-
- **backend** (`text NOT NULL`): Code generation backend the collector should
332+
* **backend** (`text NOT NULL`): Code generation backend the collector should
333333
test (e.g. llvm, cranelift).
334-
- **benchmark_set** (`int NOT NULL`): ID of the predefined benchmark suite to
334+
* **benchmark_set** (`int NOT NULL`): ID of the predefined benchmark suite to
335335
execute.
336-
- **collector_id** (`text`): Id of the collector that claimed the job
336+
* **collector_name** (`text`): Name of the collector that claimed the job
337337
(populated once the job is started).
338-
- **created_at** (`timestamptz NOT NULL`): Datetime when the job was queued.
339-
- **started_at** (`timestamptz`): Datetime when the collector actually began
338+
* **created_at** (`timestamptz NOT NULL`): Datetime when the job was queued.
339+
* **started_at** (`timestamptz`): Datetime when the collector actually began
340340
running the benchmarks; NULL until the job is claimed.
341-
- **completed_at** (`timestampt`): Datetime when the collector finished
341+
* **completed_at** (`timestampt`): Datetime when the collector finished
342342
(successfully or otherwise); used to purge rows after ~30 days.
343-
- **status** (`text NOT NULL`): Current job state. `queued`, `in_progress`,
343+
* **status** (`text NOT NULL`): Current job state. `queued`, `in_progress`,
344344
`success`, or `failure`.
345-
- **retry** (`int NOT NULL`): Number of times the job has been re-queued after
345+
* **retry** (`int NOT NULL`): Number of times the job has been re*queued after
346346
a failure; 0 on the first attempt.
347-
- **error** (`text`): Optional error message or stack trace from the last
348-
failed run; NULL when the job succeeded.

0 commit comments

Comments
 (0)