Xray
all clusters 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 1 hour▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 10:02:16.
› →|
updated 5d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.

‹ Test triage

[Test failure] Archive menu hidden: new orgArchivePurge toggle is off and the test never enables it (2 tests)

The test is wrong confidence medium · medium priority · e2e-tests-master, last seen in build 881

The verdict

Fix is in
the automation suite (e2e): the test is wrong
Issue
ENG-8874 · Completed
Owner
Pranit Mahajan (last changed base.page.js (9595e30aa); the test agent opens the pull request once this is in Ready for Development)
Filed in
Backlog, Test Agent Automation
Service
sense
History when filed
flaky, this error since build 881
Suspect commit
32ff063b2 Archived organizations tab with restore and purge in Tenant Management (ENG-7837) (#16811) (Shashank-Agrawal12)
On screen
The Tenant Management list shows the searched org row, but there is no row menu button and no Archived tab, only 'Organizations'.
Branches
fails on master only: production is unaffected (e2e-tests-production build 858). Fix it before master is released to production.
The Tenant Management row menu button is missing, so the click on 'scale-organizations-row-menu-archiveorg…' times out at e2e/pages/common/base.page.js:517. Both attempts failed the same way. Cause: 32ff063b2 (ENG-7837) gates the archive menu item on `features.orgArchivePurge`, in routes/organizations/index.tsx:233. `orgArchivePurge` defaults to false (useFeatureToggles.ts:92). With it off, the row menu is empty and no menu button renders. The page snapshot agrees: the org row is listed, but the nav shows only 'Organizations' and there is no 'Archived' tab. That tab is gated on the same toggle. Nothing under e2e/ mentions orgArchivePurge. I did not read the TC-02 test source, but it fails from the same build, so I assume it hits the same missing menu (not verified). I did not find why earlier runs passed or why history says flaky; that is unexplained. The cause here is deterministic. Fix: enable the toggle before these specs load the page. Merge `orgArchivePurge: true` into localStorage 'feature-toggles' with an init script, as e2e/pages/study/studyFeedPage.js:151 does. Alternatively, ask whether the toggle should default to on on master.

Proposed fix

In archiveOrg.spec.js (e.g. a beforeEach, or a platformAdminPage helper) add an init script that reads localStorage 'feature-toggles', merges `orgArchivePurge: true` into `toggles`, sets `updatedAt` to now, and writes it back. Do this before navigating to Tenant Management, using the same pattern as studyFeedPage.js:151-157. Then openRowMenu will find the menu button.

History of this root cause

  • filed ENG-8874 · build 881 6d ago
    The test is wrong, confidence medium; 2 tests; to [email protected] in Backlog

Tests 2

Oldest to newest, up to 30 runs. Green passed, red failed with this error, amber failed with another error. Skipped and collapsed runs are left out. Newest build: 882.

How the agent decided

Models
claude-sonnet-5-5 ($0.34, 11 lookups)
Settled by
the investigating model
Cost
$0.34

What it looked up (11, in order)

1. search_code repo=cleopatra, text=scale-organizations-row-menu · 100 chars back
e2e/knowledge/organizations.md 295: | Row ⋯ menu button | `scale-organizations-row-menu-<alias>` |
2. commit_diff repo=cleopatra, sha=32ff063b2 · 8016 chars back
32ff063b2 2026-11-16T06:12 Shashank-Agrawal12: Archived organizations tab with restore and purge in Tenant Management (ENG-7837) (#16811) 12 files changed: apps/sense/src/app/navigation/registry.ts, apps/sense/src/modules/scale/components/purge-organization-modal.test.ts, apps/sense/src/modules/scale/components/purge-organization-modal.tsx, apps/sense/src/modules/scale/hooks/usePurgeOrganizationModal.ts, apps/sense/src/modules/scale/routes/organizations/archived.test.ts, apps/sense/src/modules/scale/routes/organizations/archived.tsx, apps/sense/src/modules/scale/routes/organizations/index.tsx, apps/sense/src/modules/scale/routes/routes.tsx, packages/api/generated/data-contracts/data-contracts.ts, packages/api/generated/services/Scale.ts, packages/api/hooks/useFeatureToggles.ts, packages/api/hooks/useScaleOrganizations.ts --- apps/sense/src/app/navigation/registry.ts @@ -676,6 +676,14 @@ const routes = [ label: 'Organizations', testId: 'tenants-organizations-tab' }, + { + // Before :alias, so /tenants/archived is not read as an org. + path: '/:orgId/tenants/archived', + label: 'Archived', + testId: 'tenants-archived-tab', + visible: ({ roles, features }) => + roles.isAdmin && features.orgArchivePurge + }, { path: '/:orgId/tenants/:alias', visible: ({ roles }) => roles.isAdmin, --- apps/sense/src/modules/scale/components/purge-organization-modal.test.ts @@ -0,0 +1,59 @@ +/* … (6516 more characters not kept)
3. page_snapshot text=row-menu · 196 chars back
14: ``` 15: TimeoutError: locator.click: Timeout 10000ms exceeded. 16: Call log: 17: - waiting for getByTestId('scale-organizations-row-menu-archiveorg1794824176463') 19: ``` 21: # Page snapshot
4. page_snapshot text=Archive Org · 1063 chars back
79: - /url: /tildaScale/tenants 80: - generic [ref=e134]: 81: - generic [ref=e136]: 82: - group [ref=e140]: 83: - searchbox "Search..." [active] [ref=e147]: Archive Org 1794824176463 84: - button "Clear search" [ref=e149] [cursor=pointer] 85: - button "Columns" [ref=e153] [cursor=pointer] 86: - separator [ref=e158] 87: - button "New organization" [ref=e159] [cursor=pointer] … 96: - columnheader "Support" [ref=e188] 97: - columnheader [ref=e191] 98: - rowgroup [ref=e193]: 99: - row [ref=e194] [cursor=pointer]: 100: - cell "Archive Org 1794824176463 archiveOrg1794824176463" [ref=e195]: 101: - generic [ref=e198]: 102: - heading "Archive Org 1794824176463" [level=5] [ref=e199] 103: - generic [ref=e200]: archiveOrg1794824176463 104: - cell "CRO" [ref=e201] 105: - cell "-" [ref=e205] 106: - cell "-" [ref=e207]
5. commit_diff repo=cleopatra, sha=32ff063b2, path=apps/sense/src/modules/scale/routes/organizations/index.tsx · 2784 chars back
32ff063b2 2026-11-16T06:12 Shashank-Agrawal12: Archived organizations tab with restore and purge in Tenant Management (ENG-7837) (#16811) 12 files changed: apps/sense/src/app/navigation/registry.ts, apps/sense/src/modules/scale/components/purge-organization-modal.test.ts, apps/sense/src/modules/scale/components/purge-organization-modal.tsx, apps/sense/src/modules/scale/hooks/usePurgeOrganizationModal.ts, apps/sense/src/modules/scale/routes/organizations/archived.test.ts, apps/sense/src/modules/scale/routes/organizations/archived.tsx, apps/sense/src/modules/scale/routes/organizations/index.tsx, apps/sense/src/modules/scale/routes/routes.tsx, packages/api/generated/data-contracts/data-contracts.ts, packages/api/generated/services/Scale.ts, packages/api/hooks/useFeatureToggles.ts, packages/api/hooks/useScaleOrganizations.ts --- apps/sense/src/modules/scale/routes/organizations/index.tsx @@ -3,6 +3,7 @@ import { ScaleOrganizationsQuery, toListQuery, useCurrentUserRoles, + useFeatureToggles, useLicenseCatalogQuery, useOrganizationSupportRoleMutation, useScaleOrganizationArchiveMutation, @@ -217,6 +218,7 @@ export const Component: React.FC = () => { const useOrganizationMenu = () => { const { mutateAsync: archive } = useScaleOrganizationArchiveMutation(); const { isAdmin } = useCurrentUserRoles(); + const { features } = useFeatureToggles(); const { alias: currentAlias } = useStoredOrganization(); const { openAlert } = useAlertDialog(); @@ -228,7 … (1284 more characters not kept)
6. commit_diff repo=cleopatra, sha=32ff063b2, path=packages/api/hooks/useFeatureToggles.ts · 1383 chars back
32ff063b2 2026-11-16T06:12 Shashank-Agrawal12: Archived organizations tab with restore and purge in Tenant Management (ENG-7837) (#16811) 12 files changed: apps/sense/src/app/navigation/registry.ts, apps/sense/src/modules/scale/components/purge-organization-modal.test.ts, apps/sense/src/modules/scale/components/purge-organization-modal.tsx, apps/sense/src/modules/scale/hooks/usePurgeOrganizationModal.ts, apps/sense/src/modules/scale/routes/organizations/archived.test.ts, apps/sense/src/modules/scale/routes/organizations/archived.tsx, apps/sense/src/modules/scale/routes/organizations/index.tsx, apps/sense/src/modules/scale/routes/routes.tsx, packages/api/generated/data-contracts/data-contracts.ts, packages/api/generated/services/Scale.ts, packages/api/hooks/useFeatureToggles.ts, packages/api/hooks/useScaleOrganizations.ts --- packages/api/hooks/useFeatureToggles.ts @@ -86,7 +86,10 @@ const defaultFeatureToggles = { // mapped to users when the document has them, reviewers are picked otherwise // (ENG-6790). Off keeps the two separate flows. unifiedDocumentAssign: IS_DEVELOPMENT, - qcPlans: false + qcPlans: false, + // Tenant Management: archive (soft delete), restore and purge (hard delete) + // of an organization (ENG-7837). Off hides all three. + orgArchivePurge: false }; const availableToggles = Object.entries(defaultFeatureToggles).flatMap(
7. page_snapshot text=button · 2022 chars back
25: - generic "Main navigation sidebar" [ref=e4]: 26: - generic [ref=e5]: 27: - link "Home" [ref=e6] [cursor=pointer]: 28: - /url: / 29: - button "Collapse navigation" [ref=e7] [cursor=pointer] 30: - generic [ref=e12]: 31: - button "TI Tilda Scale First User" [ref=e14] [cursor=pointer]: 32: - generic [ref=e15]: TI 33: - generic [ref=e16]: 34: - generic [ref=e17]: Tilda Scale 35: - generic [ref=e18]: First User … 60: - gridcell [ref=e68]: 61: - link "Tenant Management" [ref=e69] [cursor=pointer]: 62: - /url: /tildaScale/tenants 63: - generic [ref=e75]: 64: - button "Help" [ref=e77] [cursor=pointer] 65: - separator [ref=e84] 66: - generic [ref=e85]: 67: - generic [ref=e87]: 68: - generic [ref=e88]: "FE: main-93e3c65," 69: - generic [ref=e89]: "BE: master-82fca18" 70: - button "Feature toggles" [ref=e90] [cursor=pointer] 71: - generic "Main content area" [ref=e100]: 72: - generic [ref=e101]: 73: - generic [ref=e102]: 74: - generic [ref=e103]: 75: - generic [ref=e104]: Tenant Management 76: - button "Ask AI" [ref=e113] [cursor=pointer] 77: - navigation [ref=e122]: 78: - link "Organizations" [ref=e123] [cursor=pointer]: 79: - /url: /tildaScale/tenants 80: - generic [ref=e134]: 81: - generic [ref=e136]: 82: … (522 more characters not kept)
8. search_code repo=cleopatra, text=orgArchivePurge · 331 chars back
packages/api/hooks/useFeatureToggles.ts 92: orgArchivePurge: false apps/sense/src/modules/scale/routes/organizations/index.tsx 233: features.orgArchivePurge && 257: [features.orgArchivePurge, isAdmin, currentAlias, openAlert, archive] apps/sense/src/app/navigation/registry.ts 685: roles.isAdmin && features.orgArchivePurge
9. read_file repo=cleopatra, path=packages/api/hooks/useFeatureToggles.ts, start_line=90, end_line=160 · 2601 chars back
packages/api/hooks/useFeatureToggles.ts (191 lines), lines 90-160: 90 // Tenant Management: archive (soft delete), restore and purge (hard delete) 91 // of an organization (ENG-7837). Off hides all three. 92 orgArchivePurge: false 93 }; 94 95 const availableToggles = Object.entries(defaultFeatureToggles).flatMap( 96 ([key, value]) => 97 isPlainObject(value) 98 ? Object.keys(value).map((child) => `${key}.${child}`) 99 : [key] 100 ); 101 102 export const isFeatureToggle = (path: string): path is FeatureToggle => 103 availableToggles.includes(path); 104 105 export const featureTogglePaths = availableToggles.filter(isFeatureToggle); 106 107 export const isToggleEnabled = ( 108 toggles: FeatureToggles, 109 path: FeatureToggle 110 ): boolean => get(toggles, path) === true; 111 112 const defaultStored: StoredFeatureToggles = { 113 toggles: defaultFeatureToggles, 114 createdAt: new Date().getTime(), 115 updatedAt: new Date().getTime() 116 }; 117 const stored = atomWithStorage<StoredFeatureToggles>( 118 'feature-toggles', 119 defaultStored, 120 undefined, 121 { getOnInit: true } 122 ); 123 124 // Local overrides expire after a day so a forgotten toggle doesn't outlive the 125 // session that set it; production never honours them. 126 const isLocalValid = (previous: StoredFeatureToggles) => 127 new Date().getTime() - previous.updatedAt < 24 * 3600 * 1000; 128 129 const resolveToggles = (previous: StoredFeatureToggles): FeatureToggles … (1101 more characters not kept)
10. search_code repo=cleopatra, text=feature-toggles, path_prefix=e2e · 876 chars back
e2e/knowledge/site-team-findings.md 5: > **Last updated:** 2026-09-17 | TA-138 review: spot-checked against `origin/main` 5c06cecb47 — the `siteTeamReview` gate, its `feature-toggles` localStorage key and the ontologysvc `FOUND_IN` contrac 13: The toggle lives in `localStorage` under `feature-toggles`, shaped `{ toggles: {...}, createdAt, updatedAt }`. Forcing it on means merging into `toggles`, not replacing the object: 16: const stored = JSON.parse(localStorage.getItem('feature-toggles') || '{"toggles":{}}'); 19: localStorage.setItem('feature-toggles', JSON.stringify(stored)); e2e/pages/study/studyFeedPage.js 151: const raw = window.localStorage.getItem('feature-toggles'); 157: window.localStorage.setItem('feature-toggles', JSON.stringify(stored)); e2e/pages/common/base.page.js 416: this.featureToggleItemsList = page.getByTestId('feature-toggles');
11. commits repo=cleopatra, path=apps/sense/src/modules/scale, since=2026-11-16T08:54:00Z · 38 chars back
no commits to that path in that window

What it was shown (build 881, 44.9 KB)

The run
{ "job": "e2e-tests-master", "build": 881, "kind": "ui-tests", "result": "UNSTABLE", "started": "2026-11-16T08:54:38Z", "tests": 714, "failed": 36, "test_commit": "de78c7210", "branch": "master", "cluster_prepared": { "mode": "verify", "result": "ready", "product_commit": "82fca18" } }
services
[ "docsvc", "execsvc", "patientsvc", "schedsvc", "enrollsvc", "studiosvc", "finsvc", "notifsvc", "dslsvc", "authz", "dashQL", "dashRsvc", "regsvc", "advpsvc", "workplansvc", "datasvc", "payoutsvc", "tusker", "authsvc", "eventsvc", "ehrsvc", "docproc", "studioai", "sense" ]
The cluster during the run
{ "cluster": "automation", "findings_opened_around_the_run": [ { "kind": "error.novel", "severity": "critical", "subject": "execsvc", "title": "execsvc: a new error shape, 5\u00d7 in the last hour, never seen in 90 days (Request completed \u2014 ? \u00b7 {?:\" failed to create Actor for Study ? Actor )", "opened_minutes_after_run_start": -38 }, { "kind": "error.novel", "severity": "critical", "subject": "execsvc", "title": "execsvc: a new error shape, 5\u00d7 in the last hour, never seen in 90 days (Request completed \u2014 ? \u00b7 {?:\" failed to create Actor for Study ? Actor )", "opened_minutes_after_run_start": -38 }, { "kind": "error.novel", "severity": "critical", "subject": "docproc", "title": "docproc: a new error shape, 6\u00d7 in the last hour, never seen in 90 days (Failed to create document processing AIRun \u2014 aborting pipeline (refuse)", "opened_minutes_after_run_start": -38 }, { "kind": "error.novel", "severity": "critical", "subject": "docproc", "title": "docproc: a new error shape, 5\u00d7 in the last hour, never seen in 90 days (Recovery failed \u2014 AIRun creation failed for document ? (document proce)", "opened_minutes_after_run_start": -38 }, { "kind": "error.novel", "severity": "warning", "subject": "execsvc", "title": "execsvc: a new error shape, 5\u00d7 in the last hour, never seen in 90 days (failed to find study protocol for study study ? site ?: bad status of )", "opened_minutes_after_run_start": 85 }, { "kind": "error.novel", "severity": "warning", "subject": "execsvc", "title": "execsvc: a new error shape, 10\u00d7 in the last hour, never seen in 90 days (failed to create Actor for Study error: user ? is not a member of orga)", "opened_minutes_after_run_start": -38 }, { "kind": "error.novel", "severity": "warning", "subject": "execsvc", "title": "execsvc: a new error shape, 10\u00d7 in the last hour, never seen in 90 days (failed to create Actor for Study \u2014 user ? is not a member of organizat)", "opened_minutes_after_run_start": -38 }, { "kind": "error.novel", "severity": "warning", "subject": "virtual-assistant", "title": "virtual-assistant: a new error shape, 23\u00d7 in the last hour, never seen in 90 days ([PlaceholderMatch][placeholder_id=?] Failed to record match: Failed to)", "opened_minutes_after_run_start": 12 } ], "long_standing_findings_left_out": 25, "pods_in_trouble_during_the_run": [], "deploys_during_the_run": [] }
The group
{ "tests": 2, "suite": "archiveOrg", "members": [ { "test": "archiveOrg::TC-01: Archive lifecycle", "pattern": "flaky", "meaning": "passed and failed in turn: 4 failures and 7 changes in 25 runs", "newest_first": "F P P F P P P P P P P P F P P P P P P P P F P P P", "failing_in_a_row": 1, "this_error_in_a_row": 1, "this_error_since_build": 881, "build_before_this_error": 880, "failing_since_build": 881, "last_passed_build": 880 }, { "test": "archiveOrg::TC-02: TC-ORG-064: Archiving is offered only to a Tilda Scale org admin", "pattern": "intermittent", "meaning": "2 failures in 25 runs, 1 in a row now", "newest_first": "F P P F P P P P P P P P P P P P P P P P P P P P P", "failing_in_a_row": 1, "this_error_in_a_row": 1, "this_error_since_build": 881, "build_before_this_error": 880, "failing_since_build": 881, "last_passed_build": 880 } ] }
The failure
{ "test": "archiveOrg::TC-01: Archive lifecycle", "status": "error", "message": "locator.click: Timeout 10000ms exceeded.", "traceback_tail": "\n attachment #3: screenshot (image/png) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/userProfile-archiveOrg-Org-01f5e-ive-TC-01-Archive-lifecycle-platform/test-failed-2.png\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n Error Context: reports/userProfile-archiveOrg-Org-01f5e-ive-TC-01-Archive-lifecycle-platform/error-context.md\n\n Retry #1 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n TimeoutError: locator.click: Timeout 10000ms exceeded.\n Call log:\n - waiting for getByTestId('scale-organizations-row-menu-archiveorg1794824256285')\n\n\n at pages/common/base.page.js:517\n\n 515 | async openMenu(trigger) {\n 516 | for (let attempt = 1; attempt <= 3; attempt += 1) {\n > 517 | await trigger.click({ timeout: 10000 });\n | ^\n 518 | try {\n 519 | await this.menuPopover.waitFor({ state: 'visible', timeout: 10000 });\n 520 | return;\n at TenantManagementPage.openMenu (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/common/base.page.js:517:21)\n at TenantManagementPage.openRowMenu (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/platform/scale/tenantManagement.page.js:115:16)\n at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/platform/userProfile/archiveOrg.spec.js:24:31\n at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/platform/userProfile/archiveOrg.spec.js:20:5\n\n attachment #1: screenshot (image/png) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/userProfile-archiveOrg-Org-01f5e-ive-TC-01-Archive-lifecycle-platform-retry1/test-failed-1.png\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n attachment #3: screenshot (image/png) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/userProfile-archiveOrg-Org-01f5e-ive-TC-01-Archive-lifecycle-platform-retry1/test-failed-2.png\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n Error Context: reports/userProfile-archiveOrg-Org-01f5e-ive-TC-01-Archive-lifecycle-platform-retry1/error-context.md\n\n attachment #5: trace (application/zip) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/userProfile-archiveOrg-Org-01f5e-ive-TC-01-Archive-lifecycle-platform-retry1/trace.zip\n Usage:\n\n yarn playwright show-trace reports/userProfile-archiveOrg-Org-01f5e-ive-TC-01-Archive-lifecycle-platform-retry1/trace.zip\n\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500", "requests": [ { "trace_id": "e2e7e5789a53701311d094be7074c1de", "method": "GET", "path": "/api/myprofile/signature", "status": "200", "error": "None" }, { "trace_id": "e2e7e5789a53701311d094b576932e50", "method": "POST", "path": "/api/journey", "status": "204", "error": "None" }, { "trace_id": "e2e7e5789a53701311d094b3ab22cd4f", "method": "POST", "path": "/api/organizations", "status": "200", "error": "None" }, { "trace_id": "e2e7e5789a53701311d094b4ffd800c9", "method": "GET", "path": "/api/scale/organizations", "status": "200", "error": "None" }, { "trace_id": "e2e7e5789a53701311d094b5349c4766", "method": "POST", "path": "/api/journey", "status": "204", "error": "None" } ], "errors_the_services_logged_for_these_requests": [ { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:675", "line": "Error creating response set: 400 - {\"message\":\"response set with same title and variablename already exists\"}", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:1562", "line": "Skipping question 'Eye (select one):': creation failed", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:1562", "line": "Skipping question 'Eye (select one):': creation failed", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:675", "line": "Error creating response set: 400 - {\"message\":\"response set with same title and variablename already exists\"}", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:675", "line": "Error creating response set: 400 - {\"message\":\"response set with same title and variablename already exists\"}", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:1562", "line": "Skipping question 'Route': creation failed", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:1562", "line": "Skipping question 'Eye (select one):': creation failed", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:675", "line": "Error creating response set: 400 - {\"message\":\"response set with same title and variablename already exists\"}", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:1562", "line": "Skipping question 'Dosage unit': creation failed", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:675", "line": "Error creating response set: 400 - {\"message\":\"response set with same title and variablename already exists\"}", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:1562", "line": "Skipping question 'Frequency': creation failed", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:675", "line": "Error creating response set: 400 - {\"message\":\"response set with same title and variablename already exists\"}", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:675", "line": "Error creating response set: 400 - {\"message\":\"response set with same title and variablename already exists\"}", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" }, { "minutes_after_run_start": 87, "service": "studioai-automation", "at": "generate_graph/import_global.py:1562", "line": "Skipping question 'Indication': creation failed", "trace_id": "e2e7e5789a53701311d094b3ab22cd4f" } ], "raised_at": "e2e/pages/common/base.page.js:517", "code_frame": " at pages/common/base.page.js:517\n\n 515 | async openMenu(trigger) {\n 516 | for (let attempt = 1; attempt <= 3; attempt += 1) {\n> 517 | await trigger.click({ timeout: 10000 });\n | ^\n 518 | try {\n 519 | await this.menuPopover.waitFor({ state: 'visible', timeout: 10000 });\n 520 | return;", "playwright_call_log": [ "- waiting for getByTestId('scale-organizations-row-menu-archiveorg1794824256285')" ], "attempts": { "errors": [ "TimeoutError: locator.click: Timeout 10000ms exceeded.", "TimeoutError: locator.click: Timeout 10000ms exceeded." ], "note": "every attempt failed the same way: deterministic, not a race" } }
Console lines about this test
{ "from": "console.log", "lines": [ "7248: INFO Selected study Study Feed 1794823015941 (+1 identical, not shipped)", "7249: INFO Successfully navigated to study Study Feed 1794823015941 overview tab (+1 identical, not shipped)", "7250: INFO \u2718 474 [study] \u203a tests/study/studyFeed.spec.js:77:3 \u203a Study feed \u203a TC-03: A populated feed shows the brief, sections, rows and the nav badge (1.7m) (+1 identical, not shipped)", "7251: INFO \u2718 572 [platform] \u203a tests/platform/userProfile/archiveOrg.spec.js:9:3 \u203a Organizations - Archive \u203a TC-01: Archive lifecycle (14.9s)", "7252: INFO Signing in License Admin ([email protected])", "7253: INFO Opened organization overview for Overview Org 1794824175302", "7254: INFO Opened settings of Overview Org 1794824175302", "\u2026", "7325: INFO Created label group dept1794824237857", "7326: INFO Group dept1794824237857 shows with its two labels", "7327: INFO Selecting site E2E CRO Site 1794823709535", "7328: INFO \u2718 576 [platform] \u203a tests/platform/userProfile/archiveOrg.spec.js:9:3 \u203a Organizations - Archive \u203a TC-01: Archive lifecycle (retry #1) (13.3s)", "7329: INFO Created label Monitor1794824237857", "7330: INFO The standalone label is listed and counted in the tab", "7331: INFO A duplicate label name is refused", "\u2026", "7750: INFO Selected study Study Feed 1794823015941 (+1 identical, not shipped)", "7751: INFO Successfully navigated to study Study Feed 1794823015941 overview tab (+1 identical, not shipped)", "7752: INFO Opened Tilda Scale \u2192 Tenant Management (+3 identical, not shipped)", "7753: INFO \u2718 572 [platform] \u203a tests/platform/userProfile/archiveOrg.spec.js:9:3 \u203a Organizations - Archive \u203a TC-01: Archive lifecycle (14.9s) (+1 identical, not shipped)", "7754: INFO Opened the New organization dialog (+3 identical, not shipped)", "7755: INFO \u2713 591 [platform] \u203a tests/platform/userProfile/organizationPage.spec.js:12:3 \u203a User Profile - Organization Page \u203a Verify nav link for Organization (9.8s) (+4 identical, not shipped)", "7756: INFO Opened organization overview for Ui Test Org 1794824391405 (+1 identical, not shipped)", "\u2026", "15123: INFO Error Context: reports/studySettings-Study-Settin-29f9b-fy-Advanced-Settings-Values-study-retry1/error-context.md", "15124: INFO reports/studySettings-Study-Settin-29f9b-fy-Advanced-Settings-Values-study-retry1/trace.zip", "15125: INFO yarn playwright show-trace reports/studySettings-Study-Settin-29f9b-fy-Advanced-Settings-Values-study-retry1/trace.zip", "15126: INFO 28) [platform] \u203a tests/platform/userProfile/archiveOrg.spec.js:9:3 \u203a Organizations - Archive \u203a TC-01: Archive lifecycle \u203a TC-ORG-063: cancelling the confirmation leaves the organization in place", "15127: ERROR TimeoutError: locator.click: Timeout 10000ms exceeded.", "15128: INFO at pages/common/base.page.js:517", "15129: INFO 515 | async openMenu(trigger) {" ] }
The test's history
{ "pattern": "flaky", "meaning": "passed and failed in turn: 4 failures and 7 changes in 25 runs", "newest_first": "F P P F P P P P P P P P F P P P P P P P P F P P P", "failing_in_a_row": 1, "this_error_in_a_row": 1, "this_error_since_build": 881, "build_before_this_error": 880 }
other_branch
{ "branch": "production", "job": "e2e-tests-production", "build": 858, "these_tests_there": { "passing": 2 }, "reading": "fails on master only: production is unaffected (`e2e-tests-production` build 858). Fix it before master is released to production." }
The test's source
{ "repo": "tildabio/cleopatra", "at": "de78c7210", "path": "e2e/tests/platform/userProfile/archiveOrg.spec.js", "from_line": 9, "failing_line": 9, "code": "9> test('TC-01: Archive lifecycle', async ({\n10 platformAdminPage,\n11 orgApiUtility\n12 }) => {\n13 const { orgName } = archive.tc01();\n14 const org = await orgApiUtility.createOrg(\n15 orgData.orgType,\n16 orgName,\n17 archive.members\n18 );\n19 \n20 await test.step('TC-ORG-063: cancelling the confirmation leaves the organization in place', async () => {\n21 await platformAdminPage.searchOrganizations(orgName);\n22 await expect(platformAdminPage.rows).toHaveCount(1);\n23 \n24 await platformAdminPage.openRowMenu(org.alias);\n25 await platformAdminPage.archiveMenuItem.click();\n26 await expect(platformAdminPage.archiveConfirmDialog).toBeVisible();\n27 \n28 await platformAdminPage.archiveCancelButton.click();\n29 await expect(platformAdminPage.archiveConfirmDialog).toBeHidden();\n30 \n31 await expect(platformAdminPage.row(org.alias)).toBeVisible();\n32 await expect(platformAdminPage.rows).toHaveCount(1);\n33 logger.info(`${orgName} survived a cancelled archive`);\n34 });\n35 \n36 await test.step('TC-ORG-062: an organization can be archived from the organizations list', async () => {\n37 // A before-reading, so the after-reading cannot pass vacuously.\n38 expect(await orgApiUtility.findOrgByName(orgName)).not.toBeNull();\n39 \n40 await platformAdminPage.openRowMenu(org.alias);\n41 await expect(platformAdminPage.archiveMenuItem).toBeVisible();\n42 await expect(platformAdminPage.archiveMenuItem).toHaveAttribute(\n43 'data-theme',\n44 'danger'\n45 );\n46 \n47 await platformAdminPage.archiveMenuItem.click();\n48 await expect(platformAdminPage.archiveConfirmDialog).toBeVisible();\n49 await expect(platformAdminPage.archiveConfirmDialogBody).toContainText(\n50 orgName\n51 );\n52 \n53 await platformAdminPage.archiveConfirmButton.click();\n54 await expect(platformAdminPage.row(org.alias)).toBeHidden();\n55 \n56 await expect.poll(() => orgApiUtility.findOrgByName(orgName)).toBeNull();\n57 logger.info(`${orgName} is archived, confirmed through the API`);\n58 });\n59 \n60 await test.step('TC-ORG-065: an archived organization stays out of the list after a reload', async () => {\n61 await platformAdminPage.refresh();\n62 await platformAdminPage.searchOrganizations(orgName);\n63 \n64 await expect(platformAdminPage.row(org.alias)).toHaveCount(0);\n65 await expect(platformAdminPage.emptyState).toContainText(\n66 orgData.searchEmptyState\n67 );\n68 \n69 await platformAdminPage.openOrgSwitcher();\n70 // Anchor on the switcher having rendered orgs at all, so the absence\n71 // below means the archived one is gone rather than nothing having loaded.\n72 await expect(platformAdminPage.orgSwitcherOptions.first()).toBeVisible();\n73 await expect(platformAdminPage.orgSwitcherOption(org.alias)).toHaveCount(\n74 0\n75 );\n76 await platformAdminPage.closeOrgSwitcher();\n77 logger.info(`${orgName} is absent from the list and the org switcher`);\n78 });\n79 });" }
The page when it failed
{ "what": "Playwright's accessibility snapshot of the page at the moment the test gave up (error-context.md): what was really on screen", "snapshot": "# Instructions\n\n- Following Playwright test failed.\n- Explain why, be concise, respect Playwright best practices.\n- Provide a snippet of code with the fix, if possible.\n\n# Test info\n\n- Name: tests/platform/userProfile/archiveOrg.spec.js >> Organizations - Archive >> TC-01: Archive lifecycle\n- Location: tests/platform/userProfile/archiveOrg.spec.js:9:3\n\n# Error details\n\n```\nTimeoutError: locator.click: Timeout 10000ms exceeded.\nCall log:\n - waiting for getByTestId('scale-organizations-row-menu-archiveorg1794824176463')\n\n```\n\n# Page snapshot\n\n```yaml\n- main [ref=e3]:\n - generic \"Main navigation sidebar\" [ref=e4]:\n - generic [ref=e5]:\n - link \"Home\" [ref=e6] [cursor=pointer]:\n - /url: /\n - button \"Collapse navigation\" [ref=e7] [cursor=pointer]\n - generic [ref=e12]:\n - button \"TI Tilda Scale First User\" [ref=e14] [cursor=pointer]:\n - generic [ref=e15]: TI\n - generic [ref=e16]:\n - generic [ref=e17]: Tilda Scale\n - generic [ref=e18]: First User\n - navigation [ref=e24]:\n - treegrid \"Navigation\" [ref=e25]:\n - rowgroup [ref=e26]:\n - row \"Home\" [level=1] [ref=e27]:\n - gridcell [ref=e28]:\n \u2026\n - heading \"Archive Org 1794824176463\" [level=5] [ref=e199]\n \u2026\n 507 | throw new Error('Dropdown did not open after 3 attempts');\n \u2026\n | ^ TimeoutError: locator.click: Timeout 10000ms exceeded.\n \u2026\n 525 | throw new Error('Menu did not open after 3 attempts');\n \u2026\n 604 | // resp.url().includes(`/${this.module}`) && resp.status() === 200;" }
The code where it failed
{ "path": "e2e/pages/common/base.page.js", "failing_line": 517, "code": "492 }\n493 \n494 async openDropdown(trigger) {\n495 for (let attempt = 1; attempt <= 3; attempt += 1) {\n496 await trigger.click();\n497 try {\n498 await this.dropdownPopover.waitFor({\n499 state: 'visible',\n500 timeout: 10000\n501 });\n502 return;\n503 } catch {\n504 logger.info(`Dropdown did not open (attempt ${attempt}/3)`);\n505 }\n506 }\n507 throw new Error('Dropdown did not open after 3 attempts');\n508 }\n509 \n510 /**\n511 * Row action menus re-mount while their table refetches (e.g. straight after\n512 * a tab switch), which swallows the click meant to open them. Retry the\n513 * trigger click until the menu is actually on screen.\n514 */\n515 async openMenu(trigger) {\n516 for (let attempt = 1; attempt <= 3; attempt += 1) {\n517> await trigger.click({ timeout: 10000 });\n518 try {\n519 await this.menuPopover.waitFor({ state: 'visible', timeout: 10000 });\n520 return;\n521 } catch {\n522 logger.info(`Menu did not open (attempt ${attempt}/3)`);\n523 }\n524 }\n525 throw new Error('Menu did not open after 3 attempts');\n526 }\n527 \n528 /**\n529 * Open a row menu and click one of its items, reopening the menu when a" }
Commits in the window
{ "between": "build 880 (last pass, started 2026-11-16T01:37:29Z) and build 881 (first failure of the streak, started 2026-11-16T08:54:38Z)", "test_repo": { "repo": "tildabio/cleopatra", "range": "c5db9232b..de78c7210", "href": "https://github.com/tildabio/cleopatra/compare/c5db9232b1268bb11f614e536f963c55d6d5b34d...de78c72100d11ee0de34af537ac1feac367d13bc", "total": 9, "commits": [ { "sha": "de78c7210", "subject": "[E2E]: Training logs verifications (#16842)", "login": "sbadiger", "name": "Santosh Badiger", "date": "2026-11-16T07:51", "touches": [ "e2e/AGENTS.md", "e2e/knowledge", "e2e/pages", "e2e/tests", "e2e/utils" ] }, { "sha": "82a536ea2", "subject": "[E2E] start the longest Visit Execution files first (#16843)", "login": "Harsh-Tilda", "name": "Harsh Agarwal", "date": "2026-11-16T07:38", "touches": [ "e2e/knowledge", "e2e/modules.js", "e2e/playwright.config.js" ] }, { "sha": "efc042fd8", "subject": "EDL page: Keep in sync switch (ENG-8351) (#16838)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-16T07:04", "touches": [ "apps/sense" ] }, { "sha": "346e610ba", "subject": "Add eval-backed layouts to the design system (#16794)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T07:01", "touches": [ "apps/sense" ] }, { "sha": "d551a5bd0", "subject": "Show object counts in the Global Form sidebar (ENG-4808) (#16800)", "login": "poojalodhi", "name": "Pooja Lodhi", "date": "2026-11-16T06:23", "touches": [ "apps/sense", "e2e/pages", "e2e/publishResults.js", "packages/api" ] }, { "sha": "32ff063b2", "subject": "Archived organizations tab with restore and purge in Tenant Management (ENG-7837) (#16811)", "login": "Shashank-Agrawal12", "name": "Shashank-Agrawal12", "date": "2026-11-16T06:12", "touches": [ "apps/sense", "packages/api" ] }, { "sha": "b7d34528d", "subject": "fix(execution): save pending edits before removing a form (ENG-8532) (#16596)", "login": "Shashank-Agrawal12", "name": "Shashank-Agrawal12", "date": "2026-11-16T05:48", "touches": [ "apps/sense" ] }, { "sha": "5f5aae50d", "subject": "Assign only signers on documents with slots, lock signed slots and send DocumentSignoff review tasks (#16805)", "login": "arzatskis", "name": "Edvinas Ar\u017eatskis", "date": "2026-11-16T04:28", "touches": [ "packages/api", "packages/doc-management" ] }, { "sha": "f40c13b6a", "subject": "chore(bugbot): cut Cursor Bugbot review cost (#16837)", "login": "bandarupalli", "name": "Sambasiva Bandarupalli", "date": "2026-11-16T01:15", "touches": [ ".cursor/config", ".gitattributes" ] } ] }, "product": { "repo": "tildabio/main", "range": "a654678..82fca18", "href": "https://github.com/tildabio/main/compare/a654678...82fca18", "total": 434, "commits": [ { "sha": "cc38bc4a8", "subject": "docsvc: support 0 as a valid TMF sub-artifact number (ENG-8155) (#16934)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-10-28T11:31", "touches": [ "common/doclib", "docsvc/pkg" ] }, { "sha": "10ab8d332", "subject": "Support sponsor role to site role mapping (#16905)", "login": "pralim", "name": "Prasad", "date": "2026-10-28T08:34", "touches": [ "e2e/CLAUDE.md", "e2e/automation", "execsvc/pkg", "tildaobj/exec_obj_defs.go", "tildaobj/model.go", "tildaobj/schema_owner.go" ] }, { "sha": "8a857d045", "subject": "fix(swaggersvc): copy exportsvc's base-dependencies into the OpenAPI stage (#16924)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-10-28T08:08", "touches": [ "swaggersvc/Dockerfile" ] }, { "sha": "0aa4e92cd", "subject": "Study feed: docsvc bulk review actions + EDL agent reasons (ENG-8109, ENG-8108) (#16914)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-10-28T05:21", "touches": [ "data-science/virtual_assistant", "docsvc/pkg", "docsvc/routes" ] }, { "sha": "8a2b06094", "subject": "fix(docsvc): list only existing documents in the Email Upload Log (ENG-7504) (#16922)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-10-28T05:16", "touches": [ "docsvc/pkg" ] }, { "sha": "b234eed2c", "subject": "docproc: 20 slots, page-window memory estimates, docsvc retries and checksum deadlock fix (ENG-8143) (#16899)", "login": "asatish", "name": "asatish", "date": "2026-10-28T04:50", "touches": [ "common/doclib", "data-science/docproc", "data-science/packages", "docsvc/pkg" ] }, { "sha": "840794aea", "subject": "Keep an unassigned trainee's completed record in trainee reads (ENG-7750) (#16919)", "login": "mmukkama", "name": "mmukkama", "date": "2026-10-28T03:47", "touches": [ "execsvc/pkg" ] }, { "sha": "0c99958c6", "subject": "Stop checksum tally on uploadComplete. (#16913)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-10-28T03:44", "touches": [ "docsvc/pkg" ] }, { "sha": "1f289fc4d", "subject": "feat(execsvc): training assignees expose primary sites and filter by role (ENG-7952) (#16918)", "login": "danherberttilda", "name": "Dan Herbert", "date": "2026-10-27T22:52", "touches": [ "execsvc/pkg" ] }, { "sha": "36c15b8a8", "subject": "Resolve training certificate site number through the TrainingAssignment (#16857)", "login": "taylorfutral", "name": "Taylor", "date": "2026-10-27T22:37", "touches": [ "common/hdmlib", "common/stafflib", "execsvc/pkg" ] }, { "sha": "a3b7177b6", "subject": "fix(va): show the work-order email the site actually received (ENG-7530) (#16882)", "login": "mmukkama", "name": "mmukkama", "date": "2026-10-27T20:42" }, { "sha": "a90e35d5b", "subject": "neo4j: reject non-identifier sort/search keys and labels spliced into Cypher (ENG-6376) (#16898)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-10-27T17:14" }, { "sha": "4fb1e0e55", "subject": "fix(execsvc): register DocSeqCounter so CRO site import can create sites (ENG-7517) (#16867)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-10-27T16:41" }, { "sha": "6a6deb384", "subject": "chat-agent: WO-config run through tilda-backend-client with a per-call timeout; fix people lookup (ENG-7883, ENG-6312) (#16880)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-10-27T16:07" }, { "sha": "a653784ab", "subject": "chat-agent: choose the model per run, and call OpenAI's newest models through the Responses API (ENG-7882) (#16879)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-10-27T16:01" }, { "sha": "a771f1836", "subject": "feat(feedsvc): To do read API v2 and badge (ENG-8105) (#16893)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-10-27T14:49" }, { "sha": "5c261a837", "subject": "feat(feedsvc): To do and badge API contract (ENG-8105) (#16892)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-10-27T14:30" }, { "sha": "936941d15", "subject": "fix: record the real sender on work-order uploads + backfill existing docs (ENG-7738) (#16770)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-10-27T14:28" }, { "sha": "e8429eebf", "subject": "feat(feedsvc): item-level fact store with change detection (ENG-8101) (#16891)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-10-27T14:23" }, { "sha": "b33dc392a", "subject": "feat(va): store a Need Attention reason code on the work order (ENG-8107) (#16894)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-10-27T14:23" }, { "sha": "71d88dbd0", "subject": "add filter values API to fileupload mailbox APIs (#16902)", "login": "vikrantsharma-tildabio", "name": "vikrantsharma-tildabio", "date": "2026-10-27T14:21" }, { "sha": "7b016725d", "subject": "ENG-7888: Studies list no longer leaks details of studies the caller cannot access (#16897)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-10-27T14:15" }, { "sha": "2b0910d07", "subject": "Add missing org filter in SiteStudy listing (#16903)", "login": "pralim", "name": "Prasad", "date": "2026-10-27T13:17" }, { "sha": "ad1ac1c8d", "subject": "Fix: Certify waived(skipAttestation=true) documents are stuck in Upload Pending (#16802)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-10-27T13:13" }, { "sha": "8b0ad4bf3", "subject": "studiosvc, workplansvc: backfill Timer scopeid and WorkPlanInstance scopeId so their NODE KEYs can be created (#16896)", "login": "sureshboddapati", "name": "Suresh Boddapati", "date": "2026-10-27T05:08" } ] } }
The issue as the agent wrote it
**Fix is in:** the automation suite (e2e): the test is wrong. **What failed:** `locator.click: Timeout 10000ms exceeded.` **On screen when it failed:** The Tenant Management list shows the searched org row, but there is no row menu button and no Archived tab, only 'Organizations'. ![The page when the test failed](https://uploads.linear.app/d1b9dc36-3ae8-49c0-8ea8-02f9d1566efc/475a7299-9e42-4c4d-90e3-46df647a3b1f/5c07a100-e043-4bd5-bbc7-9e56a17ef331) ![The page when the test failed](https://uploads.linear.app/d1b9dc36-3ae8-49c0-8ea8-02f9d1566efc/a25b8699-45ea-4d12-920b-ee767ce3d537/839ef0e6-1fa4-4e23-8bd2-3c9007837134) **The test is wrong**, confidence medium. Found in `e2e-tests-master` build 881: [run in X-ray](https://xray.tilda.pizza/tests/run/e2e-tests-master/881). **Root cause in X-ray:** [the verdict, each test's history and the evidence the agent read](https://xray.tilda.pizza/test-triage/f903a7f28587d9) **Branches:** fails on master only: production is unaffected (`e2e-tests-production` build 858). Fix it before master is released to production. The Tenant Management row menu button is missing, so the click on 'scale-organizations-row-menu-archiveorg…' times out at e2e/pages/common/base.page.js:517. Both attempts failed the same way. Cause: 32ff063b2 (ENG-7837) gates the archive menu item on `features.orgArchivePurge`, in routes/organizations/index.tsx:233. `orgArchivePurge` defaults to false (useFeatureToggles.ts:92). With it off, the row menu is empty and no menu button renders. The page snapshot agrees: the org row is listed, but the nav shows only 'Organizations' and there is no 'Archived' tab. That tab is gated on the same toggle. Nothing under e2e/ mentions orgArchivePurge. I did not read the TC-02 test source, but it fails from the same build, so I assume it hits the same missing menu (not verified). I did not find why earlier runs passed or why history says flaky; that is unexplained. The cause here is deterministic. Fix: enable the toggle before these specs load the page. Merge `orgArchivePurge: true` into localStorage 'feature-toggles' with an init script, as e2e/pages/study/studyFeedPage.js:151 does. Alternatively, ask whether the toggle should default to on on master. **Suspect commit:** [32ff063b2](https://github.com/tildabio/cleopatra/commit/32ff063b2075e60d275a552058b102826ddf4436) Archived organizations tab with restore and purge in Tenant Management (ENG-7837) (#16811) (Shashank-Agrawal12) **Service:** sense **Assigned to:** [email protected] (last changed base.page.js (9595e30aa); the test agent opens the pull request once this is in Ready for Development). **Proposed fix:** In archiveOrg.spec.js (e.g. a beforeEach, or a platformAdminPage helper) add an init script that reads localStorage 'feature-toggles', merges `orgArchivePurge: true` into `toggles`, sets `updatedAt` to now, and writes it back. Do this before navigating to Tenant Management, using the same pattern as studyFeedPage.js:151-157. Then openRowMenu will find the menu button. **Failing tests (2):** - [archiveOrg::TC-01: Archive lifecycle](https://xray.tilda.pizza/tests/case/0dac0d0178e44cd3) (new in this run) - [archiveOrg::TC-02: TC-ORG-064: Archiving is offered only to a Tilda Scale org admin](https://xray.tilda.pizza/tests/case/c40358c043d688b0) (new in this run) **Error:** ``` locator.click: Timeout 10000ms exceeded. ``` The test agent picks this ticket up and opens the pull request. ```yaml suite: ui feature: fix-archiveorg find: true fix: true target_file: e2e/tests/platform/userProfile/archiveOrg.spec.js failing_tests: - 'archiveOrg::TC-01: Archive lifecycle' - 'archiveOrg::TC-02: TC-ORG-064: Archiving is offered only to a Tilda Scale org admin' acceptance: - Each test in failing_tests passes on the automation cluster. - 'No assertion is weakened to make a test pass: the test still checks the behaviour it was written for.' request: "Fix existing tests that fail on master. Do not write new coverage.\nError: locator.click: Timeout\ \ 10000ms exceeded.\nDiagnosis: The Tenant Management row menu button is missing, so the click on 'scale-organizations-row-menu-archiveorg\u2026\ ' times out at e2e/pages/common/base.page.js:517. Both attempts failed the same way.\nCause: 32ff063b2\ \ (ENG-7837) gates the archive menu item on `features.orgArchivePurge`, in routes/organizations/index.tsx:233.\ \ `orgArchivePurge` defaults to false (useFeatureToggles.ts:92). With it off, the row menu is empty\ \ and no menu button renders.\nThe page snapshot agrees: the org row is listed, but the nav shows only\ \ 'Organizations' and there is no 'Archived' tab. That tab is gated on the same toggle.\nNothing under\ \ e2e/ mentions orgArchivePurge. I did not read the TC-02 test source, but it fails from the same build,\ \ so I assume it hits the same missing menu (not verified).\nI did not find why earlier runs passed\ \ or why history says flaky; that is unexplained. The cause here is deterministic.\nFix: enable the\ \ toggle before these specs load the page. Merge `orgArchivePurge: true` into localStorage 'feature-toggles'\ \ with an init script, as e2e/pages/study/studyFeedPage.js:151 does. Alternatively, ask whether the\ \ toggle should default to on on master.\nProposed change: In archiveOrg.spec.js (e.g. a beforeEach,\ \ or a platformAdminPage helper) add an init script that reads localStorage 'feature-toggles', merges\ \ `orgArchivePurge: true` into `toggles`, sets `updatedAt` to now, and writes it back. Do this before\ \ navigating to Tenant Management, using the same pattern as studyFeedPage.js:151-157. Then openRowMenu\ \ will find the menu button." ``` +++ Agent notes Filed by X-ray's triage agent. Models asked: claude-sonnet-5-5; settled by deep; 11 lookups in the code and its history. Group `triage:f903a7f28587d9` (one issue per root cause). A wrong verdict can be corrected on the run page in X-ray. +++