fix(office): escalate a failed sub-agent to the coordinator instead of going silent (#2948)

Co-authored-by: nova28 <17953305+nova28@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
This commit is contained in:
Henry
2026-08-23 15:03:03 +00:00
committed by GitHub
parent 61faeb5b0b
commit 42478c1569
7 changed files with 615 additions and 21 deletions
@@ -102,6 +102,15 @@ class DesktopE2EWorkflowContractTest(unittest.TestCase):
self.assertTrue(separator, f"Lint workflow has no {trigger} trigger")
self.assertNotIn(" paths:", trigger_block_text.split("\n ", 1)[0])
def test_timing_lookup_requires_a_profile_artifact(self) -> None:
workflow = E2E_WORKFLOW.read_text(encoding="utf-8")
self.assertIn("/actions/runs/", workflow)
self.assertIn("candidate.id", workflow)
self.assertIn("/artifacts?per_page=100", workflow)
self.assertIn('artifact.name === "e2e-timing-profile"', workflow)
self.assertIn("!artifact.expired", workflow)
if __name__ == "__main__":
unittest.main()