)]}'
{"ops/gerrit-tvl/static/tvl.js":[{"author":{"_account_id":1000010,"name":"aspen","email":"root@gws.fyi","username":"aspen"},"change_message_id":"cbeb4ce5ab939c02899370a0f5d182485b47c9f4","unresolved":true,"context_lines":[{"line_number":1,"context_line":"// vim: set noai ts\u003d2 sw\u003d2 et: */"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"const BUILDKITE_TOKEN \u003d \u0027a150658fb61062e432f13a032962d70fa9352088\u0027;"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"function encodeParams(p) {"},{"line_number":6,"context_line":"  const pieces \u003d [];"}],"source_content_type":"text/javascript","patch_set":1,"id":"7d598774_42eaba54","line":3,"updated":"2021-04-06 20:31:29.000000000","message":"uh","commit_id":"9b26afd65d7ffab20acf7936c592829493cc51a0"},{"author":{"_account_id":1000000,"name":"lukegb","email":"lukegb@tvl.fyi","username":"lukegb","status":"zzz"},"change_message_id":"2618ee4cc6c257a72e315950f3d95ab784e5120e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"// vim: set noai ts\u003d2 sw\u003d2 et: */"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"const BUILDKITE_TOKEN \u003d \u0027a150658fb61062e432f13a032962d70fa9352088\u0027;"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"function encodeParams(p) {"},{"line_number":6,"context_line":"  const pieces \u003d [];"}],"source_content_type":"text/javascript","patch_set":1,"id":"4f511ebd_36cab5d8","line":3,"in_reply_to":"52df2f02_255b082f","updated":"2021-04-06 22:29:01.000000000","message":"Yeah, the token\u0027s read-only.","commit_id":"9b26afd65d7ffab20acf7936c592829493cc51a0"},{"author":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"change_message_id":"920b94d7f9bc4715e2ed3add34f52d3199c7a4ca","unresolved":true,"context_lines":[{"line_number":1,"context_line":"// vim: set noai ts\u003d2 sw\u003d2 et: */"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"const BUILDKITE_TOKEN \u003d \u0027a150658fb61062e432f13a032962d70fa9352088\u0027;"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"function encodeParams(p) {"},{"line_number":6,"context_line":"  const pieces \u003d [];"}],"source_content_type":"text/javascript","patch_set":1,"id":"52df2f02_255b082f","line":3,"in_reply_to":"7d598774_42eaba54","updated":"2021-04-06 21:27:55.000000000","message":":thonking:\n\nI suppose it\u0027s read only?","commit_id":"9b26afd65d7ffab20acf7936c592829493cc51a0"},{"author":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"change_message_id":"920b94d7f9bc4715e2ed3add34f52d3199c7a4ca","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      const build \u003d respJSON[i];"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"      for (let job of build.jobs) {"},{"line_number":59,"context_line":"        // TODO(lukegb): add the ability to retry these (sometimes whitby runs out of disk...)"},{"line_number":60,"context_line":"        const checkRun \u003d {"},{"line_number":61,"context_line":"          attempt: attempt,"},{"line_number":62,"context_line":"          externalId: job.id,"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a7a4d92_24b5d97a","line":59,"updated":"2021-04-06 21:27:55.000000000","message":"If we\u0027re lucky we can just add a link to `https://buildkite.com/organizations/tvl/pipelines/depot/builds/\u003cbuild id\u003e/jobs/\u003cjob uuid\u003e/retry`, needs to be tested though.","commit_id":"9b26afd65d7ffab20acf7936c592829493cc51a0"},{"author":{"_account_id":1000000,"name":"lukegb","email":"lukegb@tvl.fyi","username":"lukegb","status":"zzz"},"change_message_id":"2618ee4cc6c257a72e315950f3d95ab784e5120e","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      const build \u003d respJSON[i];"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"      for (let job of build.jobs) {"},{"line_number":59,"context_line":"        // TODO(lukegb): add the ability to retry these (sometimes whitby runs out of disk...)"},{"line_number":60,"context_line":"        const checkRun \u003d {"},{"line_number":61,"context_line":"          attempt: attempt,"},{"line_number":62,"context_line":"          externalId: job.id,"}],"source_content_type":"text/javascript","patch_set":1,"id":"6640ad84_d827419f","line":59,"in_reply_to":"5a7a4d92_24b5d97a","updated":"2021-04-06 22:29:01.000000000","message":"It\u0027s a bit more complicated than that because I want to do it \u0027properly\u0027 using the actions framework thing that the Checks stuff has, and also because the links framework currently only really has a single icon, so multiple links gets a bit confusing.\n\nBut I\u0027ll get there. Unfortunately it probably means writing some server code to tie it together since I can\u0027t make a better-scoped Buildkite token.","commit_id":"9b26afd65d7ffab20acf7936c592829493cc51a0"},{"author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"change_message_id":"a4ce72bbe3861a62dc58f57d839739c16978c144","unresolved":false,"context_lines":[{"line_number":12,"context_line":"  return pieces.join(\u0027\u0026\u0027);"},{"line_number":13,"context_line":"}"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"function formatDuration(from, to) {"},{"line_number":16,"context_line":"  const millisecondsTook \u003d Math.floor(to.valueOf() - from.valueOf());"},{"line_number":17,"context_line":"  if (millisecondsTook \u003c 2000) return `${millisecondsTook} ms`;"},{"line_number":18,"context_line":"  const secondsTook \u003d Math.floor(millisecondsTook / 1000);"}],"source_content_type":"text/javascript","patch_set":2,"id":"b8818d89_aa0620cc","line":15,"range":{"start_line":15,"start_character":9,"end_line":15,"end_character":23},"updated":"2021-04-07 10:54:31.000000000","message":"I\u0027m floored that there is no stdlib thing for this.\n\n(scnr)","commit_id":"2e67101f5ef03db9394f7c3285b9dc9154115e35"}]}
