)]}'
{"id":"depot~13221","triplet_id":"depot~canon~Ib824430594733b4c8e86ee1096c8afba2df1a66d","project":"depot","branch":"canon","hashtags":[],"change_id":"Ib824430594733b4c8e86ee1096c8afba2df1a66d","subject":"feat(users/Profpatsch/whatcd-resolver): add html streaming \u0026 maps","status":"MERGED","created":"2025-03-08 12:40:12.000000000","updated":"2025-03-08 12:48:37.000000000","submitted":"2025-03-08 12:48:37.000000000","submitter":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"13221","meta_rev_id":"6804d5d9804ba45cf055408d8924eab33f6fc315","_number":13221,"virtual_id_number":13221,"owner":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"actions":{},"labels":{"Code-Review":{"approved":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"tag":"autogenerated:gerrit:merged","value":2,"date":"2025-03-08 12:48:37.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}],"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":[{"tag":"autogenerated:gerrit:merged","value":1,"date":"2025-03-08 12:48:37.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Autosubmit":{"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}],"values":{" 0":"Submit manually","+1":"Submit automatically"},"description":"","default_value":0,"optional":true},"All-Comments-Resolved":{"approved":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}]},"Conformant-Commit-Message":{"approved":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}]}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-03-08 12:40:14.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":"2025-03-08 12:44:41.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"}],"messages":[{"id":"ccd6302185ba4828a927ab6d47912288ce109879","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"date":"2025-03-08 12:40:12.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"4493c0c86c29438c873f781a5634f8e905e50ccb","tag":"autogenerated:buildkite~trigger","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2025-03-08 12:40:14.000000000","message":"Patch Set 1:\n\nStarted build for patchset #1 on: https://buildkite.com/tvl/depot/builds/38897","accounts_in_message":[],"_revision_number":1},{"id":"3685f025c0a3fdd5389100fd077e89795062ec59","tag":"autogenerated:buildkite~result","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2025-03-08 12:44:41.000000000","message":"Patch Set 1: Verified+1\n\nBuild of patchset 1 passed: https://buildkite.com/tvl/depot/builds/38897","accounts_in_message":[],"_revision_number":1},{"id":"017e74dd607061b70859d133982dec881b23896a","author":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"date":"2025-03-08 12:48:24.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"6804d5d9804ba45cf055408d8924eab33f6fc315","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"date":"2025-03-08 12:48:37.000000000","message":"Change has been successfully rebased and submitted as b1403a5e94445418c3996c685832dc7426292023","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"b1403a5e94445418c3996c685832dc7426292023","revisions":{"bfc1bc1b5921ef0fa7de452db8fa2f1fe699e0cd":{"kind":"REWORK","_number":1,"created":"2025-03-08 12:40:12.000000000","uploader":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"ref":"refs/changes/21/13221/1","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/21/13221/1","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/21/13221/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/21/13221/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/21/13221/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/21/13221/1"}}},"commit":{"parents":[{"commit":"b32a95c20699587054e214a2bbda778ae7086d41","subject":"fix(3p/overlays): correctly assert tdlib\u003c\u003etelega.el matches","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003db32a95c20699587054e214a2bbda778ae7086d41"}]}],"author":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2025-03-08 12:34:47.000000000","tz":60},"committer":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2025-03-08 12:40:10.000000000","tz":60},"subject":"feat(users/Profpatsch/whatcd-resolver): add html streaming \u0026 maps","message":"feat(users/Profpatsch/whatcd-resolver): add html streaming \u0026 maps\n\nFor all big page reloads, we want the `\u003chead\u003e` of the page to start\nbeing transmitted even while doing database requests.\n\nSo let’s use the `Wai.ResponseStream` to do exactly that. The handler\nprovides the contents of `\u003chead\u003e`, we start streaming that, meanwhile\nit calculates the `\u003cbody\u003e` and once that is ready transmits it.\n\nThis means we can load all our static resources before the page\neven starts sending any body data, meaning the css and html is already\nthere when we reach `\u003c/html\u003e`.\n\nSweet.\n\nThe `\u003ctitle\u003e` in `artistPage` was depending on the table data, so I\nmoved it into a separate SELECT.\n\nWe can do all of it in parallel as well. Sweet.\n\n~~~\n\nThis also adds static file prefetching of source maps if provided.\n\nChange-Id: Ib824430594733b4c8e86ee1096c8afba2df1a66d\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003dbfc1bc1b5921ef0fa7de452db8fa2f1fe699e0cd"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003dbfc1bc1b5921ef0fa7de452db8fa2f1fe699e0cd"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"b32a95c20699587054e214a2bbda778ae7086d41","is_merged_in_target_branch":true,"change_id":"I1129c1f6b38aa58eb8661f2ad9bc6fa19382d81c","change_number":13220,"patch_set_number":2,"change_status":"MERGED"}],"branch":"refs/heads/canon"},"b1403a5e94445418c3996c685832dc7426292023":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2025-03-08 12:48:37.000000000","uploader":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"ref":"refs/changes/21/13221/2","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/21/13221/2","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/21/13221/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/21/13221/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/21/13221/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/21/13221/2"}}},"commit":{"parents":[{"commit":"b32a95c20699587054e214a2bbda778ae7086d41","subject":"fix(3p/overlays): correctly assert tdlib\u003c\u003etelega.el matches","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003db32a95c20699587054e214a2bbda778ae7086d41"}]}],"author":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2025-03-08 12:34:47.000000000","tz":60},"committer":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2025-03-08 12:48:37.000000000","tz":0},"subject":"feat(users/Profpatsch/whatcd-resolver): add html streaming \u0026 maps","message":"feat(users/Profpatsch/whatcd-resolver): add html streaming \u0026 maps\n\nFor all big page reloads, we want the `\u003chead\u003e` of the page to start\nbeing transmitted even while doing database requests.\n\nSo let’s use the `Wai.ResponseStream` to do exactly that. The handler\nprovides the contents of `\u003chead\u003e`, we start streaming that, meanwhile\nit calculates the `\u003cbody\u003e` and once that is ready transmits it.\n\nThis means we can load all our static resources before the page\neven starts sending any body data, meaning the css and html is already\nthere when we reach `\u003c/html\u003e`.\n\nSweet.\n\nThe `\u003ctitle\u003e` in `artistPage` was depending on the table data, so I\nmoved it into a separate SELECT.\n\nWe can do all of it in parallel as well. Sweet.\n\n~~~\n\nThis also adds static file prefetching of source maps if provided.\n\nChange-Id: Ib824430594733b4c8e86ee1096c8afba2df1a66d\nReviewed-on: https://cl.tvl.fyi/c/depot/+/13221\nReviewed-by: Profpatsch \u003cmail@profpatsch.de\u003e\nTested-by: BuildkiteCI\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003db1403a5e94445418c3996c685832dc7426292023"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003db1403a5e94445418c3996c685832dc7426292023"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"b32a95c20699587054e214a2bbda778ae7086d41","is_merged_in_target_branch":true,"change_id":"I1129c1f6b38aa58eb8661f2ad9bc6fa19382d81c","change_number":13220,"patch_set_number":2,"change_status":"MERGED"}],"branch":"refs/heads/canon","description":"Rebase"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~PrologRule","status":"CLOSED","labels":[{"label":"Autosubmit","status":"MAY"},{"label":"Conformant-Commit-Message","status":"OK","applied_by":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}},{"label":"All-Comments-Resolved","status":"OK","applied_by":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}},{"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":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}}]},{"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":[]}}]}
