)]}'
{"id":"depot~10131","triplet_id":"depot~canon~Ib91ecf2c45b178e8c64ff7b2174d617d4c45efe2","project":"depot","branch":"canon","attention_set":{},"removed_from_attention_set":{"1000034":{"account":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"last_update":"2023-11-27 21:50:37.000000000","reason":"Change was submitted"},"1000066":{"account":{"_account_id":1000066,"name":"Adam Joseph","display_name":"amjoseph","email":"adam@westernsemico.com","username":"amjoseph"},"last_update":"2023-11-27 21:50:37.000000000","reason":"Change was submitted"},"1000001":{"account":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"last_update":"2023-11-27 21:40:00.000000000","reason":"\u003cGERRIT_ACCOUNT_1000001\u003e replied on the change","reason_account":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"}},"1000038":{"account":{"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},"last_update":"2023-11-27 21:50:37.000000000","reason":"Change was submitted"},"1000036":{"account":{"_account_id":1000036,"name":"flokli","email":"flokli@flokli.de","username":"flokli"},"last_update":"2023-11-27 21:50:37.000000000","reason":"Change was submitted"},"1000010":{"account":{"_account_id":1000010,"name":"aspen","email":"root@gws.fyi","username":"aspen"},"last_update":"2023-11-27 21:50:37.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"Ib91ecf2c45b178e8c64ff7b2174d617d4c45efe2","subject":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter","status":"MERGED","created":"2023-11-26 22:21:20.000000000","updated":"2023-11-27 21:50:37.000000000","submitted":"2023-11-27 21:50:37.000000000","submitter":{"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},"total_comment_count":15,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"10131","meta_rev_id":"3293fd2d1dd0179388feb9363461c39ebe609124","_number":10131,"virtual_id_number":10131,"owner":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"actions":{},"labels":{"Code-Review":{"approved":{"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},"all":[{"tag":"autogenerated:gerrit:merged","value":1,"date":"2023-11-27 21:50:37.000000000","permitted_voting_range":{"min":1,"max":2},"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},{"value":0,"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},{"tag":"autogenerated:gerrit:merged","value":2,"date":"2023-11-27 21:50:37.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},{"value":0,"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0},"Verified":{"approved":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},{"value":0,"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},{"value":0,"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},{"value":0,"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2023-11-27 21:50:37.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Autosubmit":{"approved":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"all":[{"value":0,"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2023-11-27 21:50:37.000000000","_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},{"value":0,"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},{"value":0,"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}],"values":{" 0":"Submit manually","+1":"Submit automatically"},"description":"","default_value":0,"optional":true},"All-Comments-Resolved":{"approved":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"all":[{"value":0,"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},{"value":0,"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},{"value":0,"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},{"value":0,"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}]},"Conformant-Commit-Message":{"approved":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"all":[{"value":0,"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},{"value":0,"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},{"value":0,"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},{"value":0,"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}]}},"removable_reviewers":[{"_account_id":1000066,"name":"Adam Joseph","display_name":"amjoseph","email":"adam@westernsemico.com","username":"amjoseph"},{"_account_id":1000036,"name":"flokli","email":"flokli@flokli.de","username":"flokli"},{"_account_id":1000010,"name":"aspen","email":"root@gws.fyi","username":"aspen"}],"reviewers":{"REVIEWER":[{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},{"_account_id":1000010,"name":"aspen","email":"root@gws.fyi","username":"aspen"},{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},{"_account_id":1000036,"name":"flokli","email":"flokli@flokli.de","username":"flokli"},{"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},{"_account_id":1000066,"name":"Adam Joseph","display_name":"amjoseph","email":"adam@westernsemico.com","username":"amjoseph"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2023-11-26 22:21:21.000000000","updated_by":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"state":"CC"},{"updated":"2023-11-26 22:24:56.000000000","updated_by":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2023-11-27 08:51:48.000000000","updated_by":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"reviewer":{"_account_id":1000010,"name":"aspen","email":"root@gws.fyi","username":"aspen"},"state":"REVIEWER"},{"updated":"2023-11-27 08:51:48.000000000","updated_by":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"reviewer":{"_account_id":1000036,"name":"flokli","email":"flokli@flokli.de","username":"flokli"},"state":"REVIEWER"},{"updated":"2023-11-27 08:51:48.000000000","updated_by":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"reviewer":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"state":"REVIEWER"},{"updated":"2023-11-27 09:46:13.000000000","updated_by":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"reviewer":{"_account_id":1000066,"name":"Adam Joseph","display_name":"amjoseph","email":"adam@westernsemico.com","username":"amjoseph"},"state":"REVIEWER"},{"updated":"2023-11-27 21:41:44.000000000","updated_by":{"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},"reviewer":{"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},"state":"REVIEWER"},{"updated":"2023-11-27 21:50:37.000000000","updated_by":{"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"14917190e0d0210053bdde4e97800e3d33f4ea79","tag":"autogenerated:gerrit:newWipPatchSet","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-26 22:21:20.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"48c27341e2771d2b9531e2c1d84ee419a3df1b55","tag":"autogenerated:buildkite~trigger","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-26 22:21:21.000000000","message":"Patch Set 1:\n\nStarted build for patchset #1 on: https://buildkite.com/tvl/depot/builds/28397","accounts_in_message":[],"_revision_number":1},{"id":"59b4fa767f013d1a745800f489188ea6ba19bda2","tag":"autogenerated:buildkite~result","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-26 22:24:56.000000000","message":"Patch Set 1: Verified+1\n\nBuild of patchset 1 passed: https://buildkite.com/tvl/depot/builds/28397","accounts_in_message":[],"_revision_number":1},{"id":"78b595fc15e759c8491773ecb14eea77e42155dd","tag":"autogenerated:gerrit:setReadyForReview","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 08:51:37.000000000","message":"Set Ready For Review","accounts_in_message":[],"_revision_number":1},{"id":"efa23b4968b1d757889ce18015ea2a157dfe8b28","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 08:51:48.000000000","message":"Patch Set 1: Autosubmit+1","accounts_in_message":[],"_revision_number":1},{"id":"8d5076ec5216257c0ad5981f0c01d52281a23cb1","tag":"autogenerated:gerrit:code-owners:addReviewer","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 08:51:48.000000000","message":"\u003cGERRIT_ACCOUNT_1000034\u003e, who was added as reviewer owns the following files:\n* `ops/gerrit-autosubmit/.gitignore`\n* `ops/gerrit-autosubmit/Cargo.lock`\n* `ops/gerrit-autosubmit/Cargo.toml`\n* `ops/gerrit-autosubmit/default.nix`\n* `ops/gerrit-autosubmit/src/main.rs`\n\n\u003cGERRIT_ACCOUNT_1000036\u003e, who was added as reviewer owns the following files:\n* `ops/gerrit-autosubmit/.gitignore`\n* `ops/gerrit-autosubmit/Cargo.lock`\n* `ops/gerrit-autosubmit/Cargo.toml`\n* `ops/gerrit-autosubmit/default.nix`\n* `ops/gerrit-autosubmit/src/main.rs`\n\n\u003cGERRIT_ACCOUNT_1000010\u003e, who was added as reviewer owns the following files:\n* `ops/gerrit-autosubmit/.gitignore`\n* `ops/gerrit-autosubmit/Cargo.lock`\n* `ops/gerrit-autosubmit/Cargo.toml`\n* `ops/gerrit-autosubmit/default.nix`\n* `ops/gerrit-autosubmit/src/main.rs`\n","accounts_in_message":[{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},{"_account_id":1000036,"name":"flokli","email":"flokli@flokli.de","username":"flokli"},{"_account_id":1000010,"name":"aspen","email":"root@gws.fyi","username":"aspen"}],"_revision_number":1},{"id":"3f3a9aea274a33fe9bcfcd8bfbbce2c7f0f114e8","author":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"date":"2023-11-27 14:04:26.000000000","message":"Patch Set 1: Code-Review+1\n\n(3 comments)","accounts_in_message":[],"_revision_number":1},{"id":"54ae51857aa56dd6e82392a252723aad9974b73b","author":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"date":"2023-11-27 14:06:54.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"cd2a351a9bc399f6f88f498dbc82d11c81e1baa8","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 15:51:17.000000000","message":"Patch Set 1:\n\n(4 comments)","accounts_in_message":[],"_revision_number":1},{"id":"e12cd9e1a263f0ed4858321cb6811ac22ae8f018","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 15:51:25.000000000","message":"Uploaded patch set 2.\n\nCopied Votes:\n* Autosubmit+1 (copy condition: \"changekind:NO_CHANGE OR **is:ANY**\")\n* Code-Review+1 (copy condition: \"((**is:ANY** AND **has:unchanged-files**) OR is:MIN) OR changekind:NO_CHANGE\")\n\nOutdated Votes:\n* Verified+1 (copy condition: \"(**is:ANY** AND changekind:NO_CODE_CHANGE) OR changekind:NO_CHANGE\")\n","accounts_in_message":[],"_revision_number":2},{"id":"14a6e38c4f602b41a2cc5cfc16209404757543f8","tag":"autogenerated:buildkite~trigger","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-27 15:51:26.000000000","message":"Patch Set 2:\n\nStarted build for patchset #2 on: https://buildkite.com/tvl/depot/builds/28407","accounts_in_message":[],"_revision_number":2},{"id":"4cdd8595549e708202fa39a429625496f64ccf74","tag":"autogenerated:buildkite~result","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-27 15:54:33.000000000","message":"Patch Set 2: Verified+1\n\nBuild of patchset 2 passed: https://buildkite.com/tvl/depot/builds/28407","accounts_in_message":[],"_revision_number":2},{"id":"b78e68dbf4d9d45da23f1433ae35fa294bbe219f","author":{"_account_id":1000036,"name":"flokli","email":"flokli@flokli.de","username":"flokli"},"date":"2023-11-27 21:21:39.000000000","message":"Patch Set 2:\n\n(3 comments)","accounts_in_message":[],"_revision_number":2},{"id":"1e9e20f74ba8074fcfe7e37757dbbde863f19ac8","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 21:40:00.000000000","message":"Patch Set 2: Autosubmit+1\n\n(3 comments)","accounts_in_message":[],"_revision_number":2},{"id":"74bfe9cf86b56af3551c0095b429dc7e497b7c7a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 21:40:38.000000000","message":"Uploaded patch set 3.\n\nCopied Votes:\n* Autosubmit+1 (copy condition: \"changekind:NO_CHANGE OR **is:ANY**\")\n* Code-Review+1 (copy condition: \"((**is:ANY** AND **has:unchanged-files**) OR is:MIN) OR changekind:NO_CHANGE\")\n\nOutdated Votes:\n* Verified+1 (copy condition: \"(**is:ANY** AND changekind:NO_CODE_CHANGE) OR changekind:NO_CHANGE\")\n","accounts_in_message":[],"_revision_number":3},{"id":"1deb953b2d3a3ca1febe8072aaf7f962a741f61d","tag":"autogenerated:buildkite~trigger","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-27 21:40:39.000000000","message":"Patch Set 3:\n\nStarted build for patchset #3 on: https://buildkite.com/tvl/depot/builds/28426","accounts_in_message":[],"_revision_number":3},{"id":"4f2f4ef84134ba4d305861aba92f370c88620f7a","author":{"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"},"date":"2023-11-27 21:41:44.000000000","message":"Patch Set 2: Code-Review+2\n\nCopied votes on follow-up patch sets have been updated:\n* Code-Review+2 has been copied to patch set 3 (copy condition: \"((is:ANY AND has:unchanged-files) OR is:MIN) OR changekind:NO_CHANGE\").","accounts_in_message":[],"_revision_number":2},{"id":"008edb572b6c2c668dd2eafa5bec591635d2f4b7","tag":"autogenerated:buildkite~result","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-27 21:43:54.000000000","message":"Patch Set 3: Verified+1\n\nBuild of patchset 3 passed: https://buildkite.com/tvl/depot/builds/28426","accounts_in_message":[],"_revision_number":3},{"id":"887322b7460d98b17e9f1f89266bddadc4d2c89e","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 21:45:38.000000000","message":"Uploaded patch set 4.\n\nCopied Votes:\n* Autosubmit+1 (copy condition: \"changekind:NO_CHANGE OR **is:ANY**\")\n* Code-Review+1, Code-Review+2 (copy condition: \"((**is:ANY** AND **has:unchanged-files**) OR is:MIN) OR changekind:NO_CHANGE\")\n\nOutdated Votes:\n* Verified+1 (copy condition: \"(**is:ANY** AND changekind:NO_CODE_CHANGE) OR changekind:NO_CHANGE\")\n","accounts_in_message":[],"_revision_number":4},{"id":"c3d6712032f87d0190fd145b2366149e3c2d0583","tag":"autogenerated:buildkite~trigger","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-27 21:45:39.000000000","message":"Patch Set 4:\n\nStarted build for patchset #4 on: https://buildkite.com/tvl/depot/builds/28428","accounts_in_message":[],"_revision_number":4},{"id":"8e450922d4c85ac3562abdaebaac1af880a6afb3","tag":"autogenerated:buildkite~result","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2023-11-27 21:48:20.000000000","message":"Patch Set 4: Verified+1\n\nBuild of patchset 4 passed: https://buildkite.com/tvl/depot/builds/28428","accounts_in_message":[],"_revision_number":4},{"id":"142391ea14082235ff7ce297e618066a5db9735a","author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"date":"2023-11-27 21:50:23.000000000","message":"Patch Set 4: Autosubmit+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":4},{"id":"3293fd2d1dd0179388feb9363461c39ebe609124","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},"date":"2023-11-27 21:50:37.000000000","message":"Change has been successfully rebased and submitted as 623805cecd90a62089d3ec5dbe615c737231698a\n\n2 is the latest approved patch-set.\nThe change was submitted with unreviewed changes in the following files:\n\n```\nThe name of the file: ops/gerrit-autosubmit/src/main.rs\nInsertions: 4, Deletions: 2.\n\n@@ -95,13 +95,13 @@\n fn list_submittable(cfg: \u0026gerrit::Config) -\u003e Result\u003cVec\u003cSubmittableChange\u003e\u003e {\n     let mut out \u003d Vec::new();\n \n-    let result: Vec\u003cgerrit::ChangeInfo\u003e \u003d gerrit::get(\n+    let changes: Vec\u003cgerrit::ChangeInfo\u003e \u003d gerrit::get(\n         \u0026cfg,\n         \"/changes/?q\u003dis:submittable+label:Autosubmit+-is:wip+is:open\u0026o\u003dSKIP_DIFFSTAT\u0026o\u003dCURRENT_REVISION\",\n     )\n     .context(\"failed to list submittable changes\")?;\n \n-    for change in result.into_iter() {\n+    for change in changes.into_iter() {\n         out.push(SubmittableChange {\n             id: change.id,\n             revision: change\n@@ -165,6 +165,8 @@\n         }\n     }\n \n+    // BTreeMap::last_key_value gives us the value associated with the\n+    // largest key, i.e. with the longest submittable chain of changes.\n     if let Some((count, change_id)) \u003d chains.last_key_value() {\n         println!(\n             \"submitting change {} with chain length {}\",\n```\n","accounts_in_message":[],"_revision_number":5}],"current_revision_number":5,"current_revision":"623805cecd90a62089d3ec5dbe615c737231698a","revisions":{"45ca5e5218fb4780453ecb48a34d0d922275a205":{"kind":"REWORK","_number":1,"created":"2023-11-26 22:21:20.000000000","uploader":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"ref":"refs/changes/31/10131/1","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/31/10131/1","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/31/10131/1"}}},"commit":{"parents":[{"commit":"5730742bdf996f0a780579068b33459a6e3139ef","subject":"feat(tazjin/emacs): i3-style jumping back\u0026forth for tab-bar-mode","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d5730742bdf996f0a780579068b33459a6e3139ef"}]}],"author":{"name":"Vincent Ambo","email":"tazjin@tvl.su","date":"2023-11-26 22:18:50.000000000","tz":180},"committer":{"name":"Vincent Ambo","email":"tazjin@tvl.su","date":"2023-11-26 22:18:50.000000000","tz":180},"subject":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter","message":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter\n\nAdds a small Rust program that connects to the Gerrit API and uses a\nsimple algorithm to figure out which changes should be submitted, and\nsubmits them:\n\n* it fetches all changes the Gerrit query API considers\n  submittable (i.e. all requirements fulfilled), and that have the\n  `Autosubmit` label set\n\n* it filters these changes down to those that are _actually_\n  submittable (in Gerrit API terms: that have an active Submit button)\n\n* it filters out those that would submit ancestors that are *not*\n  marked with the `Autosubmit` label\n\n* it submits the longest chain\n\nAfter that it just loops.\n\nThere is no rebasing logic yet for when it \"runs out\" of submittable\nchanges, but it will not be difficult to add.\n\nRelates to b/333.\n\nChange-Id: Ib91ecf2c45b178e8c64ff7b2174d617d4c45efe2\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d45ca5e5218fb4780453ecb48a34d0d922275a205"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d45ca5e5218fb4780453ecb48a34d0d922275a205"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"5730742bdf996f0a780579068b33459a6e3139ef","is_merged_in_target_branch":true,"change_id":"I19cab91646241edc38a58bf5546c9dd8161abeb0","change_number":10130,"patch_set_number":2,"change_status":"MERGED"}],"branch":"refs/heads/canon"},"a6a7042c6493f592b9c736211d01729ec5cdb089":{"kind":"REWORK","_number":2,"created":"2023-11-27 15:51:25.000000000","uploader":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"ref":"refs/changes/31/10131/2","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/31/10131/2","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/31/10131/2"}}},"commit":{"parents":[{"commit":"5730742bdf996f0a780579068b33459a6e3139ef","subject":"feat(tazjin/emacs): i3-style jumping back\u0026forth for tab-bar-mode","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d5730742bdf996f0a780579068b33459a6e3139ef"}]}],"author":{"name":"Vincent Ambo","email":"tazjin@tvl.su","date":"2023-11-26 22:18:50.000000000","tz":180},"committer":{"name":"Vincent Ambo","email":"tazjin@tvl.su","date":"2023-11-27 15:50:53.000000000","tz":180},"subject":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter","message":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter\n\nAdds a small Rust program that connects to the Gerrit API and uses a\nsimple algorithm to figure out which changes should be submitted, and\nsubmits them:\n\n* it fetches all changes the Gerrit query API considers\n  submittable (i.e. all requirements fulfilled), and that have the\n  `Autosubmit` label set\n\n* it filters these changes down to those that are _actually_\n  submittable (in Gerrit API terms: that have an active Submit button)\n\n* it filters out those that would submit ancestors that are *not*\n  marked with the `Autosubmit` label\n\n* it submits the longest chain\n\nAfter that it just loops.\n\nThere is no rebasing logic yet for when it \"runs out\" of submittable\nchanges, but it will not be difficult to add.\n\nRelates to b/333.\n\nChange-Id: Ib91ecf2c45b178e8c64ff7b2174d617d4c45efe2\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003da6a7042c6493f592b9c736211d01729ec5cdb089"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003da6a7042c6493f592b9c736211d01729ec5cdb089"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"5730742bdf996f0a780579068b33459a6e3139ef","is_merged_in_target_branch":true,"change_id":"I19cab91646241edc38a58bf5546c9dd8161abeb0","change_number":10130,"patch_set_number":2,"change_status":"MERGED"}],"branch":"refs/heads/canon"},"2c3be7b90047321bce265e26a5a5f9b08dbd5c10":{"kind":"REWORK","_number":3,"created":"2023-11-27 21:40:38.000000000","uploader":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"ref":"refs/changes/31/10131/3","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/31/10131/3","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/31/10131/3"}}},"commit":{"parents":[{"commit":"360c98ce38a8eb94ab3955f4ed46c3a2e709bb74","subject":"chore(3p/sources): bump channels \u0026 overlays (2023-11-27)","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d360c98ce38a8eb94ab3955f4ed46c3a2e709bb74"}]}],"author":{"name":"Vincent Ambo","email":"tazjin@tvl.su","date":"2023-11-26 22:18:50.000000000","tz":180},"committer":{"name":"Vincent Ambo","email":"mail@tazj.in","date":"2023-11-27 21:38:38.000000000","tz":180},"subject":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter","message":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter\n\nAdds a small Rust program that connects to the Gerrit API and uses a\nsimple algorithm to figure out which changes should be submitted, and\nsubmits them:\n\n* it fetches all changes the Gerrit query API considers\n  submittable (i.e. all requirements fulfilled), and that have the\n  `Autosubmit` label set\n\n* it filters these changes down to those that are _actually_\n  submittable (in Gerrit API terms: that have an active Submit button)\n\n* it filters out those that would submit ancestors that are *not*\n  marked with the `Autosubmit` label\n\n* it submits the longest chain\n\nAfter that it just loops.\n\nThere is no rebasing logic yet for when it \"runs out\" of submittable\nchanges, but it will not be difficult to add.\n\nRelates to b/333.\n\nChange-Id: Ib91ecf2c45b178e8c64ff7b2174d617d4c45efe2\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d2c3be7b90047321bce265e26a5a5f9b08dbd5c10"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d2c3be7b90047321bce265e26a5a5f9b08dbd5c10"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"360c98ce38a8eb94ab3955f4ed46c3a2e709bb74","is_merged_in_target_branch":true,"change_id":"Ic695721b5ca750b89d21cab7a257e1db682b23c0","change_number":10083,"patch_set_number":8,"change_status":"MERGED"}],"branch":"refs/heads/canon"},"236952609c12142e573cfce638fedb15f5587259":{"kind":"REWORK","_number":4,"created":"2023-11-27 21:45:38.000000000","uploader":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"ref":"refs/changes/31/10131/4","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/31/10131/4","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/31/10131/4"}}},"commit":{"parents":[{"commit":"360c98ce38a8eb94ab3955f4ed46c3a2e709bb74","subject":"chore(3p/sources): bump channels \u0026 overlays (2023-11-27)","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d360c98ce38a8eb94ab3955f4ed46c3a2e709bb74"}]}],"author":{"name":"Vincent Ambo","email":"tazjin@tvl.su","date":"2023-11-26 22:18:50.000000000","tz":180},"committer":{"name":"Vincent Ambo","email":"mail@tazj.in","date":"2023-11-27 21:44:55.000000000","tz":180},"subject":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter","message":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter\n\nAdds a small Rust program that connects to the Gerrit API and uses a\nsimple algorithm to figure out which changes should be submitted, and\nsubmits them:\n\n* it fetches all changes the Gerrit query API considers\n  submittable (i.e. all requirements fulfilled), and that have the\n  `Autosubmit` label set\n\n* it filters these changes down to those that are _actually_\n  submittable (in Gerrit API terms: that have an active Submit button)\n\n* it filters out those that would submit ancestors that are *not*\n  marked with the `Autosubmit` label\n\n* it submits the longest chain\n\nAfter that it just loops.\n\nThere is no rebasing logic yet for when it \"runs out\" of submittable\nchanges, but it will not be difficult to add.\n\nRelates to b/333.\n\nChange-Id: Ib91ecf2c45b178e8c64ff7b2174d617d4c45efe2\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d236952609c12142e573cfce638fedb15f5587259"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d236952609c12142e573cfce638fedb15f5587259"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"360c98ce38a8eb94ab3955f4ed46c3a2e709bb74","is_merged_in_target_branch":true,"change_id":"Ic695721b5ca750b89d21cab7a257e1db682b23c0","change_number":10083,"patch_set_number":8,"change_status":"MERGED"}],"branch":"refs/heads/canon"},"623805cecd90a62089d3ec5dbe615c737231698a":{"kind":"NO_CODE_CHANGE","_number":5,"created":"2023-11-27 21:50:37.000000000","uploader":{"_account_id":1000015,"name":"clbot","email":"clbot@tvl.fyi","username":"clbot","tags":["SERVICE_USER"]},"ref":"refs/changes/31/10131/5","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/31/10131/5","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/31/10131/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/31/10131/5"}}},"commit":{"parents":[{"commit":"360c98ce38a8eb94ab3955f4ed46c3a2e709bb74","subject":"chore(3p/sources): bump channels \u0026 overlays (2023-11-27)","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d360c98ce38a8eb94ab3955f4ed46c3a2e709bb74"}]}],"author":{"name":"Vincent Ambo","email":"tazjin@tvl.su","date":"2023-11-26 22:18:50.000000000","tz":180},"committer":{"name":"clbot","email":"clbot@tvl.fyi","date":"2023-11-27 21:50:37.000000000","tz":0},"subject":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter","message":"feat(ops/gerrit-autosubmit): init simple gerrit autosubmitter\n\nAdds a small Rust program that connects to the Gerrit API and uses a\nsimple algorithm to figure out which changes should be submitted, and\nsubmits them:\n\n* it fetches all changes the Gerrit query API considers\n  submittable (i.e. all requirements fulfilled), and that have the\n  `Autosubmit` label set\n\n* it filters these changes down to those that are _actually_\n  submittable (in Gerrit API terms: that have an active Submit button)\n\n* it filters out those that would submit ancestors that are *not*\n  marked with the `Autosubmit` label\n\n* it submits the longest chain\n\nAfter that it just loops.\n\nThere is no rebasing logic yet for when it \"runs out\" of submittable\nchanges, but it will not be difficult to add.\n\nRelates to b/333.\n\nChange-Id: Ib91ecf2c45b178e8c64ff7b2174d617d4c45efe2\nReviewed-on: https://cl.tvl.fyi/c/depot/+/10131\nTested-by: BuildkiteCI\nReviewed-by: sterni \u003csternenseemann@systemli.org\u003e\nReviewed-by: ezemtsov \u003ceugene.zemtsov@gmail.com\u003e\nAutosubmit: tazjin \u003ctazjin@tvl.su\u003e\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d623805cecd90a62089d3ec5dbe615c737231698a"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d623805cecd90a62089d3ec5dbe615c737231698a"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"360c98ce38a8eb94ab3955f4ed46c3a2e709bb74","is_merged_in_target_branch":true,"change_id":"Ic695721b5ca750b89d21cab7a257e1db682b23c0","change_number":10083,"patch_set_number":8,"change_status":"MERGED"}],"branch":"refs/heads/canon"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~PrologRule","status":"CLOSED","labels":[{"label":"Autosubmit","status":"MAY"},{"label":"Conformant-Commit-Message","status":"OK","applied_by":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"}},{"label":"All-Comments-Resolved","status":"OK","applied_by":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"}},{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":1000038,"name":"ezemtsov","email":"eugene.zemtsov@gmail.com","username":"ezemtsov"}}]},{"rule_name":"Code-Owners","status":"CLOSED"}],"submit_requirements":[{"name":"All-Comments-Resolved","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:All-Comments-Resolved\u003dgerrit~PrologRule","fulfilled":true,"status":"PASS","passing_atoms":["label:All-Comments-Resolved\u003dgerrit~PrologRule"],"failing_atoms":[]}},{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dgerrit~PrologRule","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dgerrit~PrologRule"],"failing_atoms":[]}},{"name":"Code-Owners","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"rule:Code-Owners","fulfilled":true,"status":"PASS","passing_atoms":["Code-Owners"],"failing_atoms":[]}},{"name":"Conformant-Commit-Message","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Conformant-Commit-Message\u003dgerrit~PrologRule","fulfilled":true,"status":"PASS","passing_atoms":["label:Conformant-Commit-Message\u003dgerrit~PrologRule"],"failing_atoms":[]}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dgerrit~PrologRule","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dgerrit~PrologRule"],"failing_atoms":[]}}]}
