Fetch the mobile workspace concurrently with the core runtime #1117

Merged
rockachopa merged 2 commits from timmy/1116-parallel-workspace-fetch into main 2026-08-19 06:52:26 +00:00
Showing only changes of commit b70a2fb607 - Show all commits

View File

@ -574,10 +574,18 @@ def test_release_artifact_recovers_admitted_blocker_after_reload_and_opens_next_
})""")
assert state["today"] == ["issue:acme/mobile:42:"]
assert state["later"]["issue:acme/mobile:41:"].startswith("2099-08-19T09:00")
comments = [item for item in state["outbox"]["items"] if item["kind"] == "issue-comment"]
assert len(comments) == 1
assert comments[0]["number"] == 41
assert comments[0]["body"] == "Blocked waiting for the design owner"
queued_comments = [
item for item in state["outbox"]["items"] if item["kind"] == "issue-comment"
]
delivered_comments = [
{"number": number, "body": body}
for number, body in fake.comments
if number == 41 and body == "Blocked waiting for the design owner"
]
assert len(queued_comments) + len(delivered_comments) == 1
receipt = (queued_comments + delivered_comments)[0]
assert receipt["number"] == 41
assert receipt["body"] == "Blocked waiting for the design owner"
assert page.evaluate("document.documentElement.scrollWidth <= window.innerWidth")
assert browser_errors == []
browser.close()