|
38 | 38 |
|
39 | 39 | - [ ] Understand commit deletion behavior: does it cascade to regressions? |
40 | 40 | Revisit whether commits should be deletable now that they can be ordinal-free. |
41 | | -- [ ] Allow including an ordinal when making a data submission. |
| 41 | +- [ ] Allow including the ordinal (and commit_fields) in run submissions, and |
| 42 | + make it a hard error if any submitted commit_field (or ordinal) clashes with |
| 43 | + existing values on the commit. Currently commit_fields use first-write-wins |
| 44 | + silently, and ordinals can only be set via PATCH. |
42 | 45 | - [ ] Understand whether filtering `/commits` by machine and other properties |
43 | 46 | would simplify baseline selection and other queries. Audit calls to `/tests`, |
44 | 47 | `/machines`, and `/runs` for similar simplification opportunities. |
45 | 48 |
|
46 | 49 | ### General |
47 | 50 |
|
48 | 51 | - [ ] Add count endpoints (or a count mode) for commits, runs, machines, etc. |
| 52 | +- [ ] Enforce that all schema-defined fields (metrics, commit_fields, and |
| 53 | + machine_fields) have an explicit type. Machine fields currently have no `type` |
| 54 | + attribute and are always `String(256)`. Once typed, validate submitted values |
| 55 | + against declared types at all CRUD endpoints (run submission, PATCH commit, |
| 56 | + PATCH machine, etc.) — e.g. reject a string for an `integer` commit_field. |
49 | 57 | - [ ] Audit sort orders across all API endpoints for consistency. For example, |
50 | 58 | should `/machines/{name}/runs` allow sorting on commit order? |
51 | 59 | - [ ] Understand whether the regression detection tool would benefit from a |
|
0 commit comments