[Test failure] New site dialog Team step fails with 400: backend rejects the "siteId" parameter on the staff list
Product bug confidence low · medium priority · e2e-tests-master, last seen in build 880
The verdict
- Fix is in
- the product code
- Issue
- ENG-8854 · Ready for Development
- Owner
- nobody (nobody could be named from the evidence)
- Filed in
- Ready for Development, product project, in the current cycle
- History when filed
- intermittent, this error since build 880
- On screen
- The New site dialog is on its Team step, which shows "Error loading data (#400)" saying parameter "siteId" is not a valid key, and there is no 'Add new' button.
The New site dialog's Team step showed "Error loading data (#400)" instead of the staff list, so the 'Add new' button never appeared (createSite.page.js:510). The retry failed the same way.
The 400 text is "parameter \"siteId\" is not a valid key continuing. valid keys are: [... firstname tildaid ufid]". It comes from the members-list validation in main's tildaobj/exec_obj_defs.go:2973 (ListActorsQueryParams.Set).
On the default branch, line 2959 skips params.SiteIDFlag ("siteId") before that check, and has since 2024. So the backend on the cluster is not running that code. Cluster prep was verify/not_ready on product a654678, whose listed commits are 6 Nov production cherry-picks.
I found no change to apps/sense sites between build 879 (passed) and 880, and none of the listed commits touches this check. The other 'is not a valid key' check, in obj_crud.go, prints a different message.
Next: find which service's build on the cluster served this staff-list call, and compare its ListActorsQueryParams.Set at a654678 with master. A staff list that ignores siteId is probably authz, but I have not confirmed it. Also check whether the earlier failure, 12 runs ago, had the same 400.
Steps to reproduce
- Sign in as an org admin of a CRO organization.
- Open the Sites module for that CRO org and go to the Sites tab.
- Click the button that creates a site; the 'New site' dialog opens.
- Fill in the Site information step with a new site name and click Next.
- Watch the Team step load its staff list (the request carries a siteId query parameter).
- Expected: the Team step lists staff and shows an 'Add new' button; actual: "Error loading data (#400)" with "parameter \"siteId\" is not a valid key continuing. valid keys are: [searchkey sort role status ...]".
History of this root cause
- filed ENG-8854 · build 880 7d ago
Product bug, confidence low; 1 test; to nobody in Ready for Development
Tests 1
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.
| Test | History | Newest run | Reading |
|---|---|---|---|
| CRO Add Site › TC-01: Add new site inside CRO org with 2 members and contact strategy croAddSite |
did not run |
How the agent decided
- Models
- claude-sonnet-5-5 ($0.94, 28 lookups), then claude-opus-5-5 ($1.19, 15 lookups)
- Settled by
- the escalation model, because the first was unsure
- Cost
- $2.12
What it looked up (43, in order)
1. search_code repo=main, text=is not a valid key continuing · 255 chars back
common/execlib/model.go
786: logger.DebugCtx(ctx, fmt.Sprintf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
tildaobj/exec_obj_defs.go
2973: return fmt.Errorf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
2. page_snapshot text=siteId · 514 chars back
315: - generic [ref=f3e768]:
316: - heading "Team" [level=1] [ref=f3e769]
317: - generic [ref=f3e771]:
318: - heading "Error loading data (#400)" [level=3] [ref=f3e776]
319: - paragraph [ref=f3e777]: "parameter \"siteId\" is not a valid key continuing. valid keys are: [searchkey sort role status lastname search state createdat delpending name lastActivity lastGitBookVisit email updatedat holdbitmap subject firstname tildaid ufid]"
320: ```
322: # Test source
3. service_errors text=siteId · 4079 chars back
+90m finsvc pubsublib/handler_wrapper.go:37: error in pubsub handler — failed to get budget (siteId=8bbdc5e6-4691-49e0-9314-2aa2cf032ffd, studyId=150e06a9-dc6e-441d-904b-c730f2348a0d): no budget found for siteID 8bbdc5e6-4691-49e0-
+91m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+92m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+92m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+105m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+106m finsvc pubsublib/handler_wrapper.go:37: error in pubsub handler — failed to get budget (siteId=8bbdc5e6-4691-49e0-9314-2aa2cf032ffd, studyId=150e06a9-dc6e-441d-904b-c730f2348a0d): no budget found for siteID 8bbdc5e6-4691-49e0-
+107m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+110m finsvc repo/report.go:579:
… (2579 more characters not kept)
4. search_code repo=cleopatra, text=siteId, path_prefix=apps/sense/src/pages/sites · 30 chars back
no match on the default branch
5. read_file repo=main, path=common/execlib/model.go, start_line=760, end_line=800 · 1543 chars back
common/execlib/model.go (1268 lines), lines 760-800:
760 params.LimitParam: true,
761 params.SkipParam: true,
762 params.SortParam: true,
763 params.SearchKeyParam: true,
764 params.SearchParam: true,
765 params.EdcEnabledParam: true,
766 params.ArmParam: true,
767 params.CategoryParam: true,
768 params.ICFSignedParam: true,
769 params.IsDeletedParam: true,
770 params.AnchoringDateBeforeParam: true,
771 params.AnchoringDateAfterParam: true,
772 params.CreatedAtBeforeParam: true,
773 params.CreatedAtAfterParam: true,
774 }
775 c.OtherQueryParams = make(map[string][]string)
776 for key, values := range queryVals {
777 if handledKeys[key] {
778 continue
779 }
780 _, ok := careplanQueryValObjMap[key]
781 if !ok {
782 exampleValidKeys := make([]string, 0)
783 for validKey, _ := range careplanQueryValObjMap {
784 exampleValidKeys = append(exampleValidKeys, validKey)
785 }
786 logger.DebugCtx(ctx, fmt.Sprintf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
787 key,
788 exampleValidKeys))
789 continue
790 }
791
792 for _, val := range values {
793 if val != "" {
794 if !regexp.MustCompile(`^[a-zA-Z0-9]*$`).MatchString(val) {
795 logger.DebugCtx(ctx, fmt.Sprintf("%q param %q must be alphanumeric", key, val))
796 continue
797 }
798 }
799
… (43 more characters not kept)
6. read_file repo=main, path=tildaobj/exec_obj_defs.go, start_line=2940, end_line=2985 · 1916 chars back
tildaobj/exec_obj_defs.go (3559 lines), lines 2940-2985:
2940 id = strings.TrimSpace(id)
2941 if id == "" {
2942 continue
2943 }
2944 if !memberLabelIdPattern.MatchString(id) {
2945 return fmt.Errorf("%q param %q must be alphanumeric", MemberLabelIdParam, id)
2946 }
2947 l.LabelIDs = append(l.LabelIDs, id)
2948 }
2949
2950 // TODO: once UI start sending role in queryParam uncomment error check
2951 role := strings.TrimSpace(queryVals.Get("role"))
2952 l.Role = role
2953 // if role == "" {
2954 // return fmt.Errorf("bad input: role")
2955 // }
2956 l.OtherQueryParams = make(map[string][]string)
2957 for key, values := range queryVals {
2958 // If the keys have already been validated by SetDefaultQueryParams continue
2959 if key == params.DescParam || key == params.LimitParam || key == params.SkipParam || key == params.SiteIDFlag {
2960 continue
2961 }
2962 // Skip validation for special parameters that are handled separately
2963 if key == "taskId" || key == "temporary" || key == params.StudyIDFlag || key == MemberLabelIdParam {
2964 continue
2965 }
2966 queryValObjMap := l.GetQueryValObjMap()
2967 _, ok := queryValObjMap[key]
2968 if !ok {
2969 exampleValidKeys := make([]string, 0)
2970 for validKey, _ := range queryValObjMap {
2971 exampleValidKeys = append(exampleValidKeys, validKey)
2972 }
2973 return fmt.Errorf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
2974 key,
2975 e
… (416 more characters not kept)
7. search_code repo=cleopatra, text=New site, path_prefix=apps/sense · 407 chars back
apps/sense/src/components/site-modal/new-site.tsx
124: title="New site"
apps/sense/src/components/site-modal/new-cro-site.tsx
241: title="New site"
apps/sense/src/modules/studies/components/import-study-sites-modal/import-plan-review.tsx
apps/sense/src/components/actor-modal/utils.ts
apps/sense/src/components/site-modal/add-study-site-list.tsx
apps/sense/src/components/actor-modal/useEditActorFlow.ts
8. search_code repo=main, text=SiteIDFlag · 551 chars back
common/params/params.go
75: SiteIDFlag = "siteId"
tildaobj/obj_crud.go
229: if key == params.DescParam || key == params.LimitParam || key == params.SkipParam || key == params.SiteIDFlag {
328: if key == params.SiteIDFlag {
419: if key == params.SiteIDFlag {
common/execlib/model.go
915: if key == params.SiteIDFlag {
tildaobj/exec_obj_defs.go
2959: if key == params.DescParam || key == params.LimitParam || key == params.SkipParam || key == params.SiteIDFlag {
3057: if key == params.SiteIDFlag {
3141: if key == params.SiteIDFlag {
9. search_code repo=cleopatra, text=siteId, path_prefix=apps/sense/src/components/site-modal · 1037 chars back
apps/sense/src/components/site-modal/new-cro-site.tsx
66: const [siteId, setSiteId] = useState<string | null>(null);
127: if (siteId) {
128: deleteSiteMutation.mutate(siteId, {
141: }, [closeModal, siteId, deleteSiteMutation]);
apps/sense/src/components/site-modal/cro-team-form.tsx
13: export const CROTeamForm: React.FC<CROTeamFormProps> = ({ siteId, onNext }) => {
16: const query = useSiteStaffQuery({ 'siteId': siteId ?? '' });
24: siteIds: siteId ? [siteId] : undefined
apps/sense/src/components/site-modal/site-member-form.tsx
30: siteId: siteMemberModal.siteId ?? ''
42: if (siteMemberModal.siteId) {
apps/sense/src/components/site-modal/site-member-modal.tsx
33: const site = useSiteQuery({ id: modal.siteId || '' });
47: if (modal.siteId) {
54: siteId: modal.siteId
75: daysOfWeek: modal.siteId ? workingHours : defaultWorkingHours
apps/sense/src/components/site-modal/edit-member-modal.tsx
52: siteId: modal.siteId!,
apps/sense/src/components/site-modal/cro-team-form.types.ts
3: siteId?: string;
10. commits repo=main, path=tildaobj/exec_obj_defs.go, since=2026-10-25T00:00:00Z · 1622 chars back
0d1173ff7 2026-11-16T00:37 sureshboddapati: Quiz question counts: graded and correct per quiz, shown in chat (ENG-8729) (#17471)
bea983e34 2026-11-15T01:23 nkommuri: feat(execsvc,studiosvc): auto queries apply across protocol versions (ENG-7994) (#17446)
79ae4b89e 2026-11-14T06:29 taylorfutral: Auto-fill certificate Completed On and Issued On from Training.CompletedOn (#17445)
7c3f9439a 2026-11-11T05:28 mvelamatt: feat(edl): EDL audit log with actors, groups and a read API (ENG-8628) (#17349)
b0280b6ea 2026-11-06T14:34 mmukkama: feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965)
3a712634d 2026-11-05T05:35 nkommuri: feat(execlib): Disabled status for protocol objects in visits not yet started (#17176)
6609d70c5 2026-11-04T06:12 sanchitmishra08: Apply rule-chain changes across visits when a completed answer is edited (#16544)
0670d32bb 2026-11-02T17:07 mmukkama: feat(training): email every training assignment as a work order (ENG-8185) (#17046)
8e3ebf0fb 2026-10-30T20:12 taylorfutral: Reassign completed trainings on content update or before expiry (#16890)
862445530 2026-10-30T13:53 vishal23karedla: Record TMF structure exports(at both Template and Study levels) in the audit log (#17024)
d93080df2 2026-10-30T13:20 danherberttilda: feat(studiosvc, execsvc): training Results block, quiz Results pages, Results / certificate switches (ENG-7013) (#16885)
8fd5e9628 2026-10-29T18:11 danherberttilda: Return training validity and trainee score for t
… (122 more characters not kept)
11. read_file repo=cleopatra, path=apps/sense/src/components/site-modal/cro-team-form.tsx, start_line=1, end_line=60 · 2769 chars back
apps/sense/src/components/site-modal/cro-team-form.tsx (79 lines), lines 1-60:
1 import { Button, Heading, LoadedContent } from 'ui';
2 import {
3 useDeleteSiteStaffMutation,
4 useSiteStaffQuery,
5 DELETE_SITE_STAFF_MUTATION_KEY
6 } from 'api';
7 import { useMutationState } from '@tanstack/react-query';
8 import { useAddStaffManuallyModal } from '../../modules/sites/components/add-staff-manually-modal';
9 import './cro-team-form.scss';
10 import { CROTeamFormProps } from './cro-team-form.types';
11 import { CROTeamFormCore } from './cro-team-form-core';
12
13 export const CROTeamForm: React.FC<CROTeamFormProps> = ({ siteId, onNext }) => {
14 const { openAddStaffManuallyModal } = useAddStaffManuallyModal();
15 const deleteMutation = useDeleteSiteStaffMutation();
16 const query = useSiteStaffQuery({ 'siteId': siteId ?? '' });
17 const deletingIds = useMutationState({
18 filters: { mutationKey: DELETE_SITE_STAFF_MUTATION_KEY, status: 'pending' },
19 select: (mutation) => mutation.state.variables as string
20 });
21
22 const addNew = () => {
23 openAddStaffManuallyModal({
24 siteIds: siteId ? [siteId] : undefined
25 });
26 };
27
28 return (
29 // Staff are added out-of-band through the add-staff modal, so this step
30 // submits nothing — the form only exists to catch the wizard's "Next".
31 <form
32 data-testid="site-modal.cro-team-form.team"
33 id="cro-step-form"
34 onSubmit={() => onNext()}
35 c
… (1269 more characters not kept)
12. search_code repo=main, text=params.SiteIDFlag, path_prefix=authz · 30 chars back
no match on the default branch
13. read_file repo=main, path=tildaobj/exec_obj_defs.go, start_line=2890, end_line=2940 · 2026 chars back
tildaobj/exec_obj_defs.go (3559 lines), lines 2890-2940:
2890 // Adopt DutyPlan
2891
2892 // SMO/CRO PD -[PlanDefinitionToDutyList]-> DutyPlan
2893 // Site PD -[PlanDefinitionToPublishedDutyList]-> DutyPlan
2894 // Site PD -[PlanDefinitionToAdoptedDutyList]-> DutyPlan
2895
2896 // maxSearchStrLen bounds the size of free-text `search` values. The
2897 // downstream Cypher uses %q (escape-safe), so we don't need a character-class
2898 // regex for safety — only a length cap to prevent absurdly large inputs.
2899 const maxSearchStrLen = 200
2900
2901 func (l *ListActorsQueryParams) Set(ctx context.Context, queryVals url.Values) error {
2902 commonQueryParams, err := SetDefaultQueryParams(ctx, queryVals, nil, true)
2903 if err != nil {
2904 return err
2905 }
2906 if commonQueryParams != nil {
2907 l.CommonQueryParams = *commonQueryParams
2908 }
2909
2910 l.SearchKey = queryVals.Get(params.SearchKeyParam)
2911 l.SearchStr = queryVals.Get(params.SearchParam)
2912
2913 taskId := strings.TrimSpace(queryVals.Get("taskId"))
2914 if taskId != "" {
2915 if !regexp.MustCompile(`^[a-zA-Z0-9-_@.+ ]*$`).MatchString(taskId) {
2916 return fmt.Errorf("taskId param %q must be alphanumeric", taskId)
2917 }
2918 }
2919 l.TaskId = taskId
2920
2921 sites := queryVals[params.SiteIDFlag]
2922 for i, site := range sites {
2923 if !regexp.MustCompile(`^[a-zA-Z0-9-_@.+ ]*$`).MatchString(site) {
2924 return fmt.Errorf("%q param %q must be alphanumeric", params.SiteIDFlag
… (526 more characters not kept)
14. search_code repo=cleopatra, text=useSiteStaffQuery, path_prefix=packages/api · 202 chars back
packages/api/hooks/useSiteStaffQuery.ts
29: export const useSiteStaffQuery = (
34: export const useSiteStaffQueryPaged = () =>
packages/api/hooks/index.ts
308: export * from './useSiteStaffQuery';
15. commits repo=cleopatra, path=apps/sense/src/components/site-modal, since=2026-11-01T00:00:00Z · 289 chars back
cf10f9b55 2026-11-12T08:14 arzatskis: Regenerate API types for camelCase query params and fields (#16715)
7a0d10ac5 2026-11-10T12:56 arzatskis: Save the tasks, trainings, templates, patients, finance, events, studies and staff tables' state and restore it from their route loaders (#16620)
16. read_file repo=cleopatra, path=packages/api/hooks/useSiteStaffQuery.ts, start_line=1, end_line=60 · 2087 chars back
packages/api/hooks/useSiteStaffQuery.ts (88 lines), lines 1-60:
1 import { useQuery } from '@tanstack/react-query';
2 import { api, StaffOverview, useQueryPaged } from '..';
3 import { QueryOptions } from '../types';
4
5 type GeneratedStaffQuery = NonNullable<
6 Parameters<typeof api.sitesStaffOutputList>[0]
7 >;
8
9 // codegen drift: the endpoint takes several sites as repeated `siteId`
10 export type SiteStaffQuery = Omit<GeneratedStaffQuery, 'siteId'> & {
11 'siteId'?: string | string[];
12 };
13
14 // StaffOverview is stale: the BE returns numInvited but the generated type
15 // still lists numPending/numQualified/numInactive.
16 export type StaffOverviewExt = StaffOverview & { numInvited?: number };
17
18 const siteStaffQueryOptions = (
19 query: SiteStaffQuery,
20 options: QueryOptions = {}
21 ) => ({
22 queryKey: ['site-staff', query],
23 queryFn: async (): Promise<StaffOverviewExt> =>
24 // @ts-ignore codegen drift: see SiteStaffQuery
25 (await api.sitesStaffOutputList(query)).data,
26 ...options
27 });
28
29 export const useSiteStaffQuery = (
30 query: SiteStaffQuery,
31 options: QueryOptions = {}
32 ) => useQuery(siteStaffQueryOptions(query, options));
33
34 export const useSiteStaffQueryPaged = () =>
35 useQueryPaged({
36 queryParams: ({ pageIndex, pageSize }) =>
37 siteStaffQueryOptions({ skip: pageIndex * pageSize, limit: pageSize }),
38 getRows: (res) => res.staffList,
39 getTotalCount: (res) => res.totalCount
… (587 more characters not kept)
17. blame repo=main, path=tildaobj/exec_obj_defs.go, start_line=2957, end_line=2960 · 120 chars back
lines 2957-2960: 0405c92b6 2024-08-07T23:22 taylorfutral: Fixed version of search and pagination of study actors (#4501)
18. blame repo=main, path=tildaobj/exec_obj_defs.go, start_line=2920, end_line=2928 · 420 chars back
lines 2920-2920: 431151247 2025-12-08T16:20 janavsharma: Task edcpi signoff actors (#10925)
lines 2921-2922: 0405c92b6 2024-08-07T23:22 taylorfutral: Fixed version of search and pagination of study actors (#4501)
lines 2923-2923: 724d97e67 2025-05-07T05:59 vishal23karedla: Org member search (#8100)
lines 2924-2928: 0405c92b6 2024-08-07T23:22 taylorfutral: Fixed version of search and pagination of study actors (#4501)
19. search_code repo=main, text=SiteStaffOutput · 30 chars back
no match on the default branch
20. search_code repo=main, text=/sites/staff · 2067 chars back
e2e/automation/models/site.py
83: return self.post(payload, endpoint=f"{self.base_url}/api/sites/staff")
90: return self.get(params=params, endpoint=f"{self.base_url}/api/sites/staff/output")
e2e/automation/models/staff.py
8: self.relative_url = "/api/sites/staff"
24: endpoint = f"{self.base_url}/api/sites/staff/import"
32: endpoint = f"{self.base_url}/api/sites/staff/import/confirm"
36: endpoint = f"{self.base_url}/api/sites/staff/{staff_id}/sites"
api/staff.go
36: // POST /api/sites/staff/{id}/sites: each id must resolve to a live Site,
78: // created from (via POST /api/sites/staff/import). Nil for staff
212: // Per-row status of a site-staff import (POST /api/sites/staff/import with siteStaffImport=true).
common/authlib/identity.go
9: // A CRO's staff edits (PUT /api/sites/staff/{id}) are written onto the ClinOp,
e2e/automation/knowledge/crosite.md
3: > **Purpose:** The CRO-side site, staff and named-role surface (`/api/sites/*`, `/api/sites/staff/*`, `/api/roles`). Read by `tests/onboardingsvc/cro_site/`, `test_named_roles.py`, `fixtures/cro_site_
115: A bulk import writes a ClinOp linked by `TEMPORARY_CLINOP` until import-confirm confirms or rejects it. Every `/api/sites/staff/{id}/...` route answers **409** `pending import confirmation` for such a
121: `GET /api/sites/staff` (`ListAllStaff`) passes nil query params to `repo.ListAllOrgStaff`. It honours `temporary` and nothing else: `searchkey`, `searchstr`, `limit` and `skip` are ignored, and
… (567 more characters not kept)
21. search_code repo=main, text=siteId, path_prefix=e2e/automation/knowledge/crosite.md · 30 chars back
no match on the default branch
22. search_code repo=main, text=staff/output, path_prefix=authz · 59 chars back
could not do that: RuntimeError: GitHub 403 on /search/code
23. read_file repo=main, path=e2e/automation/models/site.py, start_line=75, end_line=100 · 1081 chars back
e2e/automation/models/site.py (97 lines), lines 75-97:
75 "fullName": name,
76 "email": email,
77 "phoneNumber": "",
78 "credentials": "",
79 "specialty": "",
80 "subSpecialty": "",
81 "siteIds": [site_id],
82 }
83 return self.post(payload, endpoint=f"{self.base_url}/api/sites/staff")
84
85 def get_staff_output(self, site_id, study_id=None):
86 logger.info(f"Getting staff output for site {site_id}")
87 params = {"skip": 0, "siteId": site_id}
88 if study_id:
89 params["studyId"] = study_id
90 return self.get(params=params, endpoint=f"{self.base_url}/api/sites/staff/output")
91
92 def find_by_name(self, name):
93 resp = self.list(params={"search": name, "searchkey": "name", "skip": 0, "limit": 100})
94 if resp.status_code != 200:
95 return None
96 candidates = resp.json().get("sitesList", [])
97 return next((s["tildaid"] for s in candidates if s.get("name") == name), None)
24. search_code repo=main, text=ListStaffOutput · 59 chars back
could not do that: RuntimeError: GitHub 403 on /search/code
25. search_code repo=main, text=ListStaffOutput, path_prefix=authz · 59 chars back
could not do that: RuntimeError: GitHub 403 on /search/code
26. service_errors service=authz · 88 chars back
no error line matches during the run (X-ray keeps ERROR lines; an INFO line is not here)
27. read_file repo=main, path=e2e/automation/knowledge/crosite.md, start_line=100, end_line=135 · 2562 chars back
e2e/automation/knowledge/crosite.md (127 lines), lines 100-127:
100 Two consequences for anyone touching that method:
101
102 - **The refusal message is a constant string for the whole replication window.** So "the same message twice" is what settling looks like here, not evidence of a permanent failure. Do not short-circuit when a refusal repe
103 - **The failure surfaces only in the body.** The HTTP status is 200 even when every site was refused, so a caller that checks `response.status_code` alone reads a total failure as success. The per-site map is the only pl
104
105 `validate_sites_added` is the confirmation step and is separate — attach returning success does not mean the link is readable yet.
106
107 ## 11. Pool identities are linked with `confirmLinkExisting`
108
109 authz's `WriteOrLookupUsers` refuses with **409** when an email already belongs to a User whose stored name differs from the one sent, unless the request says `confirmLinkExisting`. Pool members are existing Users re-ent
110
111 The flag is set once in the shared builders, not per call: `team_member()` (site `team`), `Site.add_members_by_email` (`/sitemembers`), `Staff.post` (staff create body) and `Staff.bulk_import` (form field). `rejectNameMi
112
113 ## 12. Pending-import records (ENG-7446)
114
115 A bulk import writes a ClinOp linked by `TEMPORARY_CLINOP` until import-confirm confirms or rejects it. Every `/api/sites/staff/{id}/...` route answers **409** `pending import confirmation` for such
… (1062 more characters not kept)
28. service_errors text=not a valid key · 88 chars back
no error line matches during the run (X-ray keeps ERROR lines; an INFO line is not here)
29. search_code repo=main, text=is not a valid key continuing · 255 chars back
common/execlib/model.go
786: logger.DebugCtx(ctx, fmt.Sprintf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
tildaobj/exec_obj_defs.go
2973: return fmt.Errorf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
30. page_snapshot text=Error loading data · 572 chars back
314: - generic [ref=f3e762]: Contact strategy
315: - generic [ref=f3e768]:
316: - heading "Team" [level=1] [ref=f3e769]
317: - generic [ref=f3e771]:
318: - heading "Error loading data (#400)" [level=3] [ref=f3e776]
319: - paragraph [ref=f3e777]: "parameter \"siteId\" is not a valid key continuing. valid keys are: [searchkey sort role status lastname search state createdat delpending name lastActivity lastGitBookVisit email updatedat holdbitmap subject firstname tildaid ufid]"
320: ```
322: # Test source
31. read_file repo=main, path=tildaobj/exec_obj_defs.go, start_line=2940, end_line=2990 · 2179 chars back
tildaobj/exec_obj_defs.go (3559 lines), lines 2940-2990:
2940 id = strings.TrimSpace(id)
2941 if id == "" {
2942 continue
2943 }
2944 if !memberLabelIdPattern.MatchString(id) {
2945 return fmt.Errorf("%q param %q must be alphanumeric", MemberLabelIdParam, id)
2946 }
2947 l.LabelIDs = append(l.LabelIDs, id)
2948 }
2949
2950 // TODO: once UI start sending role in queryParam uncomment error check
2951 role := strings.TrimSpace(queryVals.Get("role"))
2952 l.Role = role
2953 // if role == "" {
2954 // return fmt.Errorf("bad input: role")
2955 // }
2956 l.OtherQueryParams = make(map[string][]string)
2957 for key, values := range queryVals {
2958 // If the keys have already been validated by SetDefaultQueryParams continue
2959 if key == params.DescParam || key == params.LimitParam || key == params.SkipParam || key == params.SiteIDFlag {
2960 continue
2961 }
2962 // Skip validation for special parameters that are handled separately
2963 if key == "taskId" || key == "temporary" || key == params.StudyIDFlag || key == MemberLabelIdParam {
2964 continue
2965 }
2966 queryValObjMap := l.GetQueryValObjMap()
2967 _, ok := queryValObjMap[key]
2968 if !ok {
2969 exampleValidKeys := make([]string, 0)
2970 for validKey, _ := range queryValObjMap {
2971 exampleValidKeys = append(exampleValidKeys, validKey)
2972 }
2973 return fmt.Errorf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
2974 key,
2975 e
… (679 more characters not kept)
32. blame repo=main, path=tildaobj/exec_obj_defs.go, start_line=2960, end_line=2980 · 636 chars back
lines 2960-2961: 0405c92b6 2024-08-07T23:22 taylorfutral: Fixed version of search and pagination of study actors (#4501)
lines 2962-2962: 431151247 2025-12-08T16:20 janavsharma: Task edcpi signoff actors (#10925)
lines 2963-2963: 048a72cad 2026-10-15T17:01 taylorfutral: Added member labels and label groups (#16617)
lines 2964-2965: 431151247 2025-12-08T16:20 janavsharma: Task edcpi signoff actors (#10925)
lines 2966-2978: 0405c92b6 2024-08-07T23:22 taylorfutral: Fixed version of search and pagination of study actors (#4501)
lines 2979-2980: 7c5e24324 2026-05-04T03:49 mmukkama: Support filtering on staff profile listing. (#12910)
33. search_code repo=main, text=SiteIDFlag = · 30 chars back
no match on the default branch
34. search_code repo=cleopatra, text=siteId: , path_prefix=apps/sense/src/components/sites · 30 chars back
no match on the default branch
35. search_code repo=main, text=SiteIDFlag · 786 chars back
common/params/params.go
75: SiteIDFlag = "siteId"
tildaobj/obj_crud.go
229: if key == params.DescParam || key == params.LimitParam || key == params.SkipParam || key == params.SiteIDFlag {
328: if key == params.SiteIDFlag {
419: if key == params.SiteIDFlag {
common/execlib/model.go
915: if key == params.SiteIDFlag {
1001: careplanQueryValObjMap[params.SiteIDFlag] = "site"
tildaobj/exec_obj_defs.go
2921: sites := queryVals[params.SiteIDFlag]
2924: return fmt.Errorf("%q param %q must be alphanumeric", params.SiteIDFlag, site)
2959: if key == params.DescParam || key == params.LimitParam || key == params.SkipParam || key == params.SiteIDFlag {
3057: if key == params.SiteIDFlag {
execsvc/pkg/handlers/duty.go
808: sitesIDs := r.URL.Query()[params.SiteIDFlag]
36. commits repo=main, path=tildaobj/exec_obj_defs.go, since=2026-10-01T00:00:00Z · 2381 chars back
0d1173ff7 2026-11-16T00:37 sureshboddapati: Quiz question counts: graded and correct per quiz, shown in chat (ENG-8729) (#17471)
bea983e34 2026-11-15T01:23 nkommuri: feat(execsvc,studiosvc): auto queries apply across protocol versions (ENG-7994) (#17446)
79ae4b89e 2026-11-14T06:29 taylorfutral: Auto-fill certificate Completed On and Issued On from Training.CompletedOn (#17445)
7c3f9439a 2026-11-11T05:28 mvelamatt: feat(edl): EDL audit log with actors, groups and a read API (ENG-8628) (#17349)
b0280b6ea 2026-11-06T14:34 mmukkama: feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965)
3a712634d 2026-11-05T05:35 nkommuri: feat(execlib): Disabled status for protocol objects in visits not yet started (#17176)
6609d70c5 2026-11-04T06:12 sanchitmishra08: Apply rule-chain changes across visits when a completed answer is edited (#16544)
0670d32bb 2026-11-02T17:07 mmukkama: feat(training): email every training assignment as a work order (ENG-8185) (#17046)
8e3ebf0fb 2026-10-30T20:12 taylorfutral: Reassign completed trainings on content update or before expiry (#16890)
862445530 2026-10-30T13:53 vishal23karedla: Record TMF structure exports(at both Template and Study levels) in the audit log (#17024)
d93080df2 2026-10-30T13:20 danherberttilda: feat(studiosvc, execsvc): training Results block, quiz Results pages, Results / certificate switches (ENG-7013) (#16885)
8fd5e9628 2026-10-29T18:11 danherberttilda: Return training validity and trainee score for t
… (881 more characters not kept)
37. blame repo=main, path=tildaobj/exec_obj_defs.go, start_line=2915, end_line=2930 · 503 chars back
lines 2915-2920: 431151247 2025-12-08T16:20 janavsharma: Task edcpi signoff actors (#10925)
lines 2921-2922: 0405c92b6 2024-08-07T23:22 taylorfutral: Fixed version of search and pagination of study actors (#4501)
lines 2923-2923: 724d97e67 2025-05-07T05:59 vishal23karedla: Org member search (#8100)
lines 2924-2929: 0405c92b6 2024-08-07T23:22 taylorfutral: Fixed version of search and pagination of study actors (#4501)
lines 2930-2930: d2aef6e87 2026-07-02T06:52 pralim: Onboarding fixes 2jul (#14263)
38. search_code repo=main, text=is not a valid key · 356 chars back
tildaobj/obj_crud.go
255: return fmt.Errorf("parameter %q is not a valid key. valid keys are: %v",
common/execlib/model.go
786: logger.DebugCtx(ctx, fmt.Sprintf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
tildaobj/exec_obj_defs.go
2973: return fmt.Errorf("parameter \"%s\" is not a valid key continuing. valid keys are: %v",
39. service_errors text=siteId · 4079 chars back
+90m finsvc pubsublib/handler_wrapper.go:37: error in pubsub handler — failed to get budget (siteId=8bbdc5e6-4691-49e0-9314-2aa2cf032ffd, studyId=150e06a9-dc6e-441d-904b-c730f2348a0d): no budget found for siteID 8bbdc5e6-4691-49e0-
+91m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+92m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+92m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+105m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+106m finsvc pubsublib/handler_wrapper.go:37: error in pubsub handler — failed to get budget (siteId=8bbdc5e6-4691-49e0-9314-2aa2cf032ffd, studyId=150e06a9-dc6e-441d-904b-c730f2348a0d): no budget found for siteID 8bbdc5e6-4691-49e0-
+107m finsvc repo/report.go:579: Failed to fetch budget for site and study — no budget found for siteID 8bbdc5e6-4691-49e0-9314-2aa2cf032ffd and studyID 150e06a9-dc6e-441d-904b-c730f2348a0d: not found
+110m finsvc repo/report.go:579:
… (2579 more characters not kept)
40. read_file repo=main, path=tildaobj/exec_obj_defs.go, start_line=2895, end_line=2939 · 1779 chars back
tildaobj/exec_obj_defs.go (3559 lines), lines 2895-2939:
2895
2896 // maxSearchStrLen bounds the size of free-text `search` values. The
2897 // downstream Cypher uses %q (escape-safe), so we don't need a character-class
2898 // regex for safety — only a length cap to prevent absurdly large inputs.
2899 const maxSearchStrLen = 200
2900
2901 func (l *ListActorsQueryParams) Set(ctx context.Context, queryVals url.Values) error {
2902 commonQueryParams, err := SetDefaultQueryParams(ctx, queryVals, nil, true)
2903 if err != nil {
2904 return err
2905 }
2906 if commonQueryParams != nil {
2907 l.CommonQueryParams = *commonQueryParams
2908 }
2909
2910 l.SearchKey = queryVals.Get(params.SearchKeyParam)
2911 l.SearchStr = queryVals.Get(params.SearchParam)
2912
2913 taskId := strings.TrimSpace(queryVals.Get("taskId"))
2914 if taskId != "" {
2915 if !regexp.MustCompile(`^[a-zA-Z0-9-_@.+ ]*$`).MatchString(taskId) {
2916 return fmt.Errorf("taskId param %q must be alphanumeric", taskId)
2917 }
2918 }
2919 l.TaskId = taskId
2920
2921 sites := queryVals[params.SiteIDFlag]
2922 for i, site := range sites {
2923 if !regexp.MustCompile(`^[a-zA-Z0-9-_@.+ ]*$`).MatchString(site) {
2924 return fmt.Errorf("%q param %q must be alphanumeric", params.SiteIDFlag, site)
2925 }
2926 sites[i] = strings.TrimSpace(site)
2927 }
2928 l.SiteIDs = sites
2929
2930 studyId := strings.TrimSpace(queryVals.Get(params.StudyIDFlag))
2931 if studyId != "" {
2932 if !regexp.Mus
… (279 more characters not kept)
41. service_errors text=not a valid key · 88 chars back
no error line matches during the run (X-ray keeps ERROR lines; an INFO line is not here)
42. search_code repo=cleopatra, text=siteId=, path_prefix=apps/sense · 953 chars back
apps/sense/src/modules/sites/routes/site/team.tsx
37: <CROManagedTeamDisplay siteId={siteId!} />
39: <TeamDisplay siteId={siteId!} />
apps/sense/src/modules/sites/routes/site/documents/index.tsx
26: siteId={siteId}
apps/sense/src/components/visit-summary/signoff-content.tsx
64: siteId={scope.site?.tildaid!}
apps/sense/src/modules/sites/routes/site/documents/staging.tsx
14: siteId={siteId}
apps/sense/src/modules/studies/routes/studies/study/site/index.tsx
191: siteId={siteId || ''}
197: siteId={siteId || ''}
251: siteId={siteId || ''}
258: content: <EmailPreference studyId={studyId} siteId={siteId || ''} />
apps/sense/src/components/study-site-slideover/study-site-slideover.tsx
78: siteId={site?.tildaid || ''}
85: content: <Tasks studyId={studyId} siteId={site?.tildaid || ''} />
93: <Documents studyId={studyId} siteId={site?.tildaid || ''} />
101: content: <Activity studyId={studyId} siteId={site?.tildaid || ''} />
43. commits repo=cleopatra, path=apps/sense/src/modules/sites, since=2026-11-01T00:00:00Z · 1493 chars back
f9816ac73 2026-11-13T09:36 Shashank-Agrawal12: feat(sense): allow removing a study from a site's Studies tab (#16766)
cf10f9b55 2026-11-12T08:14 arzatskis: Regenerate API types for camelCase query params and fields (#16715)
f101ac870 2026-11-11T07:54 susheelkumar-cmyk: feat: unify user avatars across the platform (ENG-8148) (#16675)
b9e13c2d9 2026-11-10T14:42 arzatskis: Remove the old DataTable state API now that every table runs on table definitions (#16644)
0ac1926d5 2026-11-10T12:56 arzatskis: Restore the remaining route tables from their route loaders (#16621)
7a0d10ac5 2026-11-10T12:56 arzatskis: Save the tasks, trainings, templates, patients, finance, events, studies and staff tables' state and restore it from their route loaders (#16620)
0f5392c74 2026-11-10T12:55 arzatskis: Save the documents list and staging documents list state and restore it from their route loaders (#16618)
c71704644 2026-11-10T08:36 gedi-tilda: Use the study object icon in study lists and add a Sponsor column (#16616)
f6d138842 2026-11-10T06:40 arzatskis: Close Add Site Staff when discarding a newly created member (#16598)
e93fbb594 2026-11-06T12:04 arzatskis: Move the settings, sites, finance and shared component tables onto table definitions (#16567)
0f51d8ced 2026-11-03T14:03 arzatskis: Generate string unions instead of enums in API types and absorb latest master drift (#16411)
2a57f2e7d 2026-11-03T07:54 arzatskis: Remove the newFilters toggle and the old table toolbar it gated (#16331)
What it was shown (build 880, 69.3 KB)
The run
{
"job": "e2e-tests-master",
"build": 880,
"kind": "ui-tests",
"result": "UNSTABLE",
"started": "2026-11-16T01:37:29Z",
"tests": 710,
"failed": 84,
"test_commit": "c5db9232b",
"cluster_prepared": {
"mode": "verify",
"result": "not_ready",
"product_commit": "a654678"
}
}
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": "exportsvc",
"title": "exportsvc: a new error shape, 95\u00d7 in the last hour, never seen in 90 days (Cache not found for activity update: Cache not found for study ?. Expe)",
"opened_minutes_after_run_start": 105
},
{
"kind": "error.novel",
"severity": "warning",
"subject": "exportsvc",
"title": "exportsvc: a new error shape, 7\u00d7 in the last hour, never seen in 90 days (Cache not found for activity update: Cache not found for study ?. Expe)",
"opened_minutes_after_run_start": 235
},
{
"kind": "error.novel",
"severity": "warning",
"subject": "exportsvc",
"title": "exportsvc: a new error shape, 7\u00d7 in the last hour, never seen in 90 days (Cache not found for activity update: Cache not found for study ?. Expe)",
"opened_minutes_after_run_start": 235
}
],
"long_standing_findings_left_out": 22,
"pods_in_trouble_during_the_run": [],
"deploys_during_the_run": []
}
The group
{
"tests": 1,
"suite": "croAddSite",
"members": [
{
"test": "croAddSite::TC-01: Add new site inside CRO org with 2 members and contact strategy",
"pattern": "intermittent",
"meaning": "2 failures in 25 runs, 1 in a row now",
"newest_first": "F P P P P P P P P P P F 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": 880,
"build_before_this_error": 879,
"failing_since_build": 880,
"last_passed_build": 879
}
]
}
The failure
{
"test": "croAddSite::TC-01: Add new site inside CRO org with 2 members and contact strategy",
"status": "error",
"message": "locator.waitFor: Timeout 50000ms exceeded.",
"traceback_tail": " reports/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-platform/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: video (video/webm) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\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/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-platform/video.webm\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/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-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.waitFor: Timeout 50000ms exceeded.\n Call log:\n - waiting for getByRole('dialog').getByRole('button', { name: 'Add new' }) to be visible\n\n\n at pages/platform/sites/createSite.page.js:510\n\n 508 | await this.addCroSiteStep1Data(siteName);\n 509 | await this.croModalNextButton.click();\n > 510 | await this.croAddNewStaffButton.waitFor({ state: 'visible' });\n | ^\n 511 |\n 512 | if (teamMembers?.length > 0) {\n 513 | await this.addCroSiteTeamMembers(teamMembers);\n at SitesPage.createCroSite (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/platform/sites/createSite.page.js:510:37)\n at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/platform/sites/croAddSite.spec.js:68: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/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-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 #2: video (video/webm) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\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/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-platform-retry1/video.webm\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/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-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/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-platform-retry1/trace.zip\n Usage:\n\n yarn playwright show-trace reports/sites-croAddSite-CRO-Add-S-8c7ce-embers-and-contact-strategy-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": "e2e7e57c176f9e859abe365f318bdd53",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e859abe3651a8f14586",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e859abe365c74ed5b02",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e859abe365c5368527b",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e859abe365fdbe0c86d",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e859abe365bb1f1d193",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
}
],
"errors_the_services_logged_for_these_requests": "none: no service logged an error under these requests' trace ids",
"raised_at": "e2e/pages/platform/sites/createSite.page.js:510",
"code_frame": " at pages/platform/sites/createSite.page.js:510\n\n 508 | await this.addCroSiteStep1Data(siteName);\n 509 | await this.croModalNextButton.click();\n> 510 | await this.croAddNewStaffButton.waitFor({ state: 'visible' });\n | ^\n 511 |\n 512 | if (teamMembers?.length > 0) {\n 513 | await this.addCroSiteTeamMembers(teamMembers);",
"playwright_call_log": [
"- waiting for getByRole('dialog').getByRole('button', { name: 'Add new' }) to be visible"
],
"attempts": {
"errors": [
"TimeoutError: locator.waitFor: Timeout 50000ms exceeded.",
"TimeoutError: locator.waitFor: Timeout 50000ms exceeded."
],
"note": "every attempt failed the same way: deterministic, not a race"
}
}
Console lines about this test
{
"from": "console.log",
"lines": [
"4266: INFO Created minimal site Ui Test 1794796871384 with ID ee92c8d7-0a8e-4e6e-a98b-c36c33b141fb",
"4267: INFO Opening seeded site ee92c8d7-0a8e-4e6e-a98b-c36c33b141fb",
"4268: INFO Key contact lists the creating admin, not the staff member",
"4269: INFO \u2718 505 [platform] \u203a tests/platform/sites/croAddSite.spec.js:56:3 \u203a CRO Add Site \u203a TC-01: Add new site inside CRO org with 2 members and contact strategy (2.1m)",
"4270: INFO - 528 [platform] \u203a tests/platform/sites/croAddSite.spec.js:80:3 \u203a CRO Add Site \u203a TC-02: Add created site into CRO study",
"4271: INFO - 529 [platform] \u203a tests/platform/sites/croAddSite.spec.js:96:3 \u203a CRO Add Site \u203a TC-03: Add site members and contact strategy to study site",
"4272: INFO - 530 [platform] \u203a tests/platform/sites/croAddSite.spec.js:123:3 \u203a CRO Add Site \u203a TC-04: Create new staff manually for CRO site",
"\u2026",
"4705: INFO \u2713 558 [platform] \u203a tests/platform/organizations/organizationOverview.spec.js:31:3 \u203a Organization overview \u203a TC-01: TC-ORG-029: The organization name is required on the overview (1.0m)",
"4706: INFO Created new CRO Overview Org 1794797324440 with AI Teammate config",
"4707: INFO Selecting site Docs Site 1794797047763",
"4708: INFO \u2718 537 [platform] \u203a tests/platform/sites/croAddSite.spec.js:56:3 \u203a CRO Add Site \u203a TC-01: Add new site inside CRO org with 2 members and contact strategy (retry #1) (3.0m)",
"4709: INFO Opened row menu for staff Floating Staff 1794797146218",
"4710: INFO \u25c7 injected env (0) from ../env/.env.master // tip: \u2318 suppress logs { quiet: true } (+2 identical, not shipped)",
"4711: INFO \u25c7 injected env (0) from ../env/.env.master // tip: \u2318 enable debugging { debug: true } (+2 identical, not shipped)",
"\u2026",
"13809: INFO 156 | await expect(matchesPage.matchOpenEdl).toHaveAttribute(",
"13810: INFO 157 | 'href',",
"13811: INFO reports/studyFeedMatches-Study-fee-24845-d-the-item-links-to-its-EDL-study-retry1/test-failed-1.png",
"13812: INFO 72) [platform] \u203a tests/platform/sites/croAddSite.spec.js:56:3 \u203a CRO Add Site \u203a TC-01: Add new site inside CRO org with 2 members and contact strategy",
"13813: ERROR TimeoutError: locator.waitFor: Timeout 50000ms exceeded.",
"13814: INFO - waiting for getByRole('dialog').getByRole('button', { name: 'Add new' }) to be visible",
"13815: INFO at pages/platform/sites/createSite.page.js:510",
"\u2026",
"14262: INFO [study] \u203a tests/study/studyFeedMatches.spec.js:26:3 \u203a Study feed: confirm AI matches \u203a TC-10: One candidate for one placeholder is confirmed with a single pick",
"14263: INFO [study] \u203a tests/study/studyFeedMatches.spec.js:61:3 \u203a Study feed: confirm AI matches \u203a TC-11: Several placeholders take ticked documents, never more ticks than placeholders",
"14264: INFO [study] \u203a tests/study/studyFeedMatches.spec.js:101:3 \u203a Study feed: confirm AI matches \u203a TC-12: \"Not a match\" rules out every candidate of the open placeholders",
"14265: INFO [platform] \u203a tests/platform/sites/croAddSite.spec.js:56:3 \u203a CRO Add Site \u203a TC-01: Add new site inside CRO org with 2 members and contact strategy",
"14266: INFO [platform] \u203a tests/platform/userProfile/licenseTabVisibility.spec.js:781:3 \u203a User Profile - Org license & visibility \u203a TC-01: All CRO licenses enabled on a CRO org - every mapped screen and tab is visible",
"14267: INFO [platform] \u203a tests/platform/userProfile/licenseTabVisibility.spec.js:821:5 \u203a User Profile - Org license & visibility \u203a TC-02: TMF AI Teammate license only on a CRO org - shows the screens and tabs it licenses and hides the rest",
"14268: INFO [platform] \u203a tests/platform/userProfile/licenseTabVisibility.spec.js:821:5 \u203a User Profile - Org license & visibility \u203a TC-03: SSU/WO/WP license only on a CRO org - shows the screens and tabs it licenses and hides the rest"
]
}
The test's history
{
"pattern": "intermittent",
"meaning": "2 failures in 25 runs, 1 in a row now",
"newest_first": "F P P P P P P P P P P F 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": 880,
"build_before_this_error": 879
}
The test's source
{
"repo": "tildabio/cleopatra",
"at": "c5db9232b",
"path": "e2e/tests/platform/sites/croAddSite.spec.js",
"from_line": 56,
"failing_line": 56,
"code": "56> test('TC-01: Add new site inside CRO org with 2 members and contact strategy', async ({\n57 adminUser\n58 }) => {\n59 test.skip(!data.croOrgSetup, 'Skipping: CRO org setup not available');\n60 const sitesPage = new SitesPage(adminUser.page, 'sites');\n61 await sitesPage.selectOrgAndModule('sites', data.croOrg);\n62 \n63 siteName = `E2E CRO Site ${FunctionHelper.getRandomNumber()}`;\n64 logger.info(\n65 `Creating new site ${siteName} with 2 members, contact strategy (5 days)`\n66 );\n67 await sitesPage.sitesTab.click();\n68 await sitesPage.createCroSite(siteName, croTeamMembers, contactAssignments);\n69 await sitesPage.verifyCroSiteInList(siteName, 'Active');\n70 await sitesPage.verifyCroSiteTeamMembers(siteName, [\n71 member1Name,\n72 member2Name\n73 ]);\n74 await sitesPage.verifyCroSiteDetailsAndContactStrategy(siteName, 5, [\n75 member1Name,\n76 member2Name\n77 ]);\n78 });\n79 \n80 test('TC-02: Add created site into CRO study', async ({ adminUser }) => {\n81 test.skip(\n82 !data.croOrgSetup || !data.croStudySetup,\n83 'Skipping: CRO org/study setup not available'\n84 );\n85 test.skip(!siteName, 'Skipping: no site created in previous test');\n86 \n87 const studiesPage = new StudiesPage(adminUser.page, 'studies');\n88 await studiesPage.selectOrgAndModule('studies', data.croOrg);\n89 \n90 await studiesPage.selectStudyTab(studyName, 'sites');\n91 const siteNumber = await studiesPage.addSite(siteName);\n92 \n93 await studiesPage.verifySiteAddedToStudy(siteName, siteNumber);\n94 });\n95 \n96 test('TC-03: Add site members and contact strategy to study site', async ({\n97 adminUser\n98 }) => {\n99 test.skip(\n100 !data.croOrgSetup || !data.croStudySetup,\n101 'Skipping: CRO org/study setup not available'\n102 );\n103 test.skip(!siteName, 'Skipping: no site created in previous test');\n104 \n105 const studiesPage = new StudiesPage(adminUser.page, 'studies');\n106 await studiesPage.selectOrgAndModule('studies', data.croOrg);\n107 await studiesPage.openStudySiteTeamTab(studyName, siteName);\n108 \n109 await studiesPage.addStudySiteMembers([member1Name, member2Name]);\n110 await expect(studiesPage.page.getByText(member1Name).first()).toBeVisible();\n111 await expect(studiesPage.page.getByText(member2Name).first()).toBeVisible();\n112 \n113 await studiesPage.page\n114 .getByRole('tab', { name: 'Contact Strategy' })\n115 .click();\n116 await studiesPage.fillStudySiteContactStrategy(contactAssignments);\n117 await expect(studiesPage.page.getByText(member1Name).first()).toBeVisible();\n118 await expect(studiesPage.page.getByText(member2Name).first()).toBeVisible();\n119 \n120 logger.info('Site members and contact strategy added to study site');\n121 });\n122 \n123 test('TC-04: Create new staff manually for CRO site', async ({\n124 adminUser\n125 }) => {\n126 test.skip(!data.croOrgSetup, 'Skipping: CRO org setup not available');"
}
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/sites/croAddSite.spec.js >> CRO Add Site >> TC-01: Add new site inside CRO org with 2 members and contact strategy\n- Location: tests/platform/sites/croAddSite.spec.js:56:3\n\n# Error details\n\n```\nTimeoutError: locator.waitFor: Timeout 50000ms exceeded.\nCall log:\n - waiting for getByRole('dialog').getByRole('button', { name: 'Add new' }) to be visible\n\n```\n\n# Page snapshot\n\n```yaml\n- generic [active] [ref=f3e1]:\n - main [ref=f3e3]:\n - generic \"Main navigation sidebar\" [ref=f3e4]:\n - generic [ref=f3e5]:\n - link \"Home\" [ref=f3e6] [cursor=pointer]:\n - /url: /\n - button \"Collapse navigation\" [ref=f3e7] [cursor=pointer]\n - generic [ref=f3e12]:\n - button \"E2 E2E UI880 CRO Test Admin\" [ref=f3e14] [cursor=pointer]:\n - generic [ref=f3e15]: E2\n - generic [ref=f3e16]:\n - generic [ref=f3e17]: E2E UI880 CRO\n - generic [ref=f3e18]: Test Admin\n - navigation [ref=f3e24]:\n - treegrid \"Navigation\" [ref=f3e25]:\n - rowgroup [ref=f3e26]:\n - row \"Home\" [level=1] [ref=f3e27]:\n \u2026\n - columnheader \"Status\" [ref=f3e227] [cursor=pointer]\n \u2026\n - dialog [ref=f3e731]:\n \u2026\n - heading \"New site\" [level=2] [ref=f3e742]\n \u2026\n - heading \"Team\" [level=1] [ref=f3e769]\n \u2026\n - heading \"Error loading data (#400)\" [level=3] [ref=f3e776]\n - paragraph [ref=f3e777]: \"parameter \\\"siteId\\\" is not a valid key continuing. valid keys are: [searchkey sort role status lastname search state createdat delpending name lastActivity lastGitBookVisit email u\n \u2026\n 414 | await dialog\n \u2026\n 424 | const dialog = this.croSiteDialog;\n \u2026\n 429 | await dialog.getByTestId('field-fullName').fill(members[i].name);\n 430 | await dialog.getByTestId('field-email').fill(members[i].email);\n \u2026\n 437 | await dialog.getByTestId('field-phoneNumber').fill(phone);\n 438 | await dialog.getByRole('button', { name: 'Add staff' }).click();\n \u2026\n 440 | await dialog.getByRole('button', { name: 'Done' }).click();\n \u2026\n 457 | const dialog = this.croSiteDialog;\n 458 | const contactSection = dialog\n 459 | .getByRole('heading', { name: 'Contact Assignment' })\n \u2026\n 478 | const spinbuttons = dialog.getByRole('spinbutton');\n \u2026\n | ^ TimeoutError: locator.waitFor: Timeout 50000ms exceeded.\n \u2026\n 548 | * Verify the new site appears in the sites table with expected name and status."
}
The code where it failed
{
"path": "e2e/pages/platform/sites/createSite.page.js",
"failing_line": 510,
"code": "485 \n486 /**\n487 * Complete CRO \"Contact strategy\" step: click Save and wait for modal to close.\n488 */\n489 async completeCroContactStrategyAndSave() {\n490 await logger.info('Saving site');\n491 const saveButton = this.page.getByRole('button', { name: 'Save' });\n492 await saveButton.waitFor({ state: 'visible' });\n493 await saveButton.click();\n494 await this.croSiteDialog.waitFor({ state: 'hidden' });\n495 }\n496 \n497 /**\n498 * Full CRO create site flow: Site information \u2192 Team (members with name, email, phone) \u2192 Contact strategy (assign primary/secondary, 5 days, 2 reminder attempts) \u2192 Save.\n499 * @param {string} siteName - Site name\n500 * @param {Array<{ name: string, email: string, phone?: string }>} teamMembers - Members; phone optional (random if omitted)\n501 * @param {Array<{ primary: string, secondary: string }>} contactAssignments - [Regulatory, Finance, Operations] with contact display names\n502 */\n503 async createCroSite(siteName, teamMembers = [], contactAssignments = null) {\n504 await logger.info('Opening Create Site and filling CRO flow');\n505 await this.croCreateSiteButton.click();\n506 await this.croSiteDialog.waitFor({ state: 'visible' });\n507 \n508 await this.addCroSiteStep1Data(siteName);\n509 await this.croModalNextButton.click();\n510> await this.croAddNewStaffButton.waitFor({ state: 'visible' });\n511 \n512 if (teamMembers?.length > 0) {\n513 await this.addCroSiteTeamMembers(teamMembers);\n514 }\n515 await this.croModalNextButton.click();\n516 await this.croContactStrategyHeading.waitFor({ state: 'visible' });\n517 \n518 if (contactAssignments?.length === 3) {\n519 await this.fillCroContactStrategy(contactAssignments, 5, 2);\n520 }\n521 await this.completeCroContactStrategyAndSave();\n522 }"
}
Commits in the window
{
"between": "build 879 (last pass, started 2026-11-15T01:35:54Z) and build 880 (first failure of the streak, started 2026-11-16T01:37:29Z)",
"test_repo": {
"repo": "tildabio/cleopatra",
"range": "450fde1f8..c5db9232b",
"href": "https://github.com/tildabio/cleopatra/compare/450fde1f8c905b5fc07c2535b763609fea4a97bb...c5db9232b1268bb11f614e536f963c55d6d5b34d",
"total": 9,
"commits": [
{
"sha": "c5db9232b",
"subject": "Study feed: request cards in modals with the inbox thread, and the questions list (ENG-8324) (#16831)",
"login": "akshaysharma-tilda",
"name": "akshaysharma-tilda",
"date": "2026-11-15T17:13",
"touches": [
"apps/sense",
"e2e/pages",
"e2e/tests",
"e2e/utils"
]
},
{
"sha": "e5787321c",
"subject": "fix(ai-chat): New chat on a feed card starts on the card's items (ENG-8850) (#16834)",
"login": "mvelamatt",
"name": "murali krishna velamati",
"date": "2026-11-15T16:25",
"touches": [
"apps/sense"
]
},
{
"sha": "063b076fb",
"subject": "[E2E]: Training fix (#16835)",
"login": "sbadiger",
"name": "Santosh Badiger",
"date": "2026-11-15T16:13",
"touches": [
"e2e/pages"
]
},
{
"sha": "563a8b891",
"subject": "e2e: publish the coverage log (ui-requests.jsonl) with each run (ENG-8417) (#16830)",
"login": "asatish",
"name": "asatish",
"date": "2026-11-15T09:47",
"touches": [
"e2e/publishResults.js"
]
},
{
"sha": "b6287d477",
"subject": "feat(feed): Ask AI on the draft emails review (ENG-8850) (#16829)",
"login": "mvelamatt",
"name": "murali krishna velamati",
"date": "2026-11-15T06:20",
"touches": [
"apps/sense",
"packages/api"
]
},
{
"sha": "25e885202",
"subject": "feat(sense): superseded auto queries read-only and Studio inherited auto queries (ENG-7994) (#16819)",
"login": "nkommuri",
"name": "Naga Kishore",
"date": "2026-11-15T01:23",
"touches": [
"apps/sense",
"packages/api",
"packages/common",
"packages/ui"
]
},
{
"sha": "b3c533cff",
"subject": "Site startup suggestion card and EDL purpose (ENG-8842) (#16827)",
"login": "mvelamatt",
"name": "murali krishna velamati",
"date": "2026-11-15T00:54",
"touches": [
"apps/sense",
"packages/api"
]
},
{
"sha": "61adba3a2",
"subject": "Reviewing the training certificate completes the training (#16820)",
"login": "taylorfutral",
"name": "Taylor",
"date": "2026-11-14T19:21",
"touches": [
"apps/sense"
]
},
{
"sha": "806127aa4",
"subject": "feat(feed): Suggestions tab for missing documents (ENG-8794) (#16816)",
"login": "mvelamatt",
"name": "murali krishna velamati",
"date": "2026-11-14T17:37",
"touches": [
"apps/sense",
"packages/api"
]
}
]
},
"product": {
"repo": "tildabio/main",
"range": "7713ce2..a654678",
"href": "https://github.com/tildabio/main/compare/7713ce2...a654678",
"total": 130,
"commits": [
{
"sha": "830e852e8",
"subject": "workplansvc: backfill WorkPlanInstance scopeId from its site edge so the NODE KEY can be created (#16896) (#17300)",
"login": "sureshboddapati",
"name": "Suresh Boddapati",
"date": "2026-11-06T18:15",
"touches": [
"workplansvc/pkg"
]
},
{
"sha": "9a12afd2a",
"subject": "[Cherry-pick] fix(va): show the work-order email the site actually received (ENG-7530) (#16882, #16949) (#17299)",
"login": "mmukkama",
"name": "mmukkama",
"date": "2026-11-06T18:07",
"touches": [
"data-science/virtual_assistant"
]
},
{
"sha": "e3da2fa76",
"subject": "test not valid removing from run will correct flow and format changes (#17296) (#17297)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T17:52",
"touches": [
"e2e/automation"
]
},
{
"sha": "cee99a538",
"subject": "feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965) (#17293)",
"login": "mmukkama",
"name": "mmukkama",
"date": "2026-11-06T17:02",
"touches": [
"common/execlib",
"common/graphlib",
"execsvc/pkg",
"studiosvc/pkg",
"tildaobj/exec_obj_defs.go"
]
},
{
"sha": "8e44d9e2b",
"subject": "List a study admin's studies for the org Trainings page (#17209) (#17292)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T17:01",
"touches": [
"api/auth.go",
"authz/pkg"
]
},
{
"sha": "86b408c60",
"subject": "fix(wo): audit log shows assignee names, not user ids (ENG-8527) (#17288)",
"login": "mvelamatt",
"name": "murali krishna velamati",
"date": "2026-11-06T15:43",
"touches": [
"data-science/virtual_assistant"
]
},
{
"sha": "672c813a0",
"subject": "[Cherry-pick] fix(chat-agent, dashQL): QC/funnel caveats, report tables, active-events routing (ENG-8269, ENG-8397, ENG-8404) (#17260)",
"login": "mmukkama",
"name": "mmukkama",
"date": "2026-11-06T15:37",
"touches": [
"dashQL/charts",
"dashQL/graph",
"data-science/chat-agent"
]
},
{
"sha": "129712e49",
"subject": "fix(execsvc): refresh cached permissions on study-site roster edits (ENG-8519) (#17248) (#17283)",
"login": "mmukkama",
"name": "mmukkama",
"date": "2026-11-06T15:31",
"touches": [
"common/authlib",
"execsvc/pkg"
]
},
{
"sha": "3969a1020",
"subject": "fix(execlib): one PANotStarted test for the amendment's started-activity gates (#17245) (#17246)",
"login": "nkommuri",
"name": "Naga Kishore",
"date": "2026-11-06T15:28",
"touches": [
"common/execlib",
"execsvc/pkg"
]
},
{
"sha": "69d3ab2f8",
"subject": "production: cherry-pick per-service schema convergence (#16243, #16833) (#17286)",
"login": "asatish",
"name": "asatish",
"date": "2026-11-06T15:28",
"touches": [
".github/AI_CONTEXT.md",
".github/REVIEW.md",
".github/workflows",
".gitignore",
"CLAUDE.md",
"Makefile",
"advpsvc/Dockerfile",
"advpsvc/api",
"advpsvc/internal",
"authz/Dockerfile",
"authz/main.go",
"authz/pkg"
]
},
{
"sha": "9ac7682ef",
"subject": "studiosvc: auto query keeps every condition group when reopened (#17229) (#17285)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T15:01"
},
{
"sha": "bd328fd8d",
"subject": "fix(docsvc): share Not Ready documents; release Not Ready on a recipient's completion (ENG-8485) (#17221) (#17253)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T15:00"
},
{
"sha": "5821b5e82",
"subject": "fix(execsvc): no duplicate auto-queries from table template cells; row save evaluates only that row (ENG-8548) (#17282)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T14:41"
},
{
"sha": "34e04a9e9",
"subject": "Do not consider removed activities for making them next executable (#17224) (#17270)",
"login": "nkommuri",
"name": "Naga Kishore",
"date": "2026-11-06T14:22"
},
{
"sha": "bb373ffe7",
"subject": "Fix: Staff state not getting updated (#17276)",
"login": "pralim",
"name": "Prasad",
"date": "2026-11-06T13:57"
},
{
"sha": "664ac14a6",
"subject": "Block CBR auto-promote when Site scope has no resolved siteId (#17266) (#17267)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T09:12"
},
{
"sha": "3f5b7aea8",
"subject": "fix(execlib): record Not Done reason when a blank autosave lands first in edit mode (ENG-8505) (#17242) (#17261)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T08:12"
},
{
"sha": "d44e6a5a1",
"subject": "ci(automation): write the automation image into the ui-tests jobs too; wait between push retries (#17254) (#17257)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-06T06:43"
},
{
"sha": "9dd2fe3d0",
"subject": "docproc: a guard's tag replaces the model's rulebook tag so its QC policy severity reaches the model's copy (#17206) (#17234)",
"login": "aaburaed",
"name": "aaburaed",
"date": "2026-11-06T01:47"
},
{
"sha": "6fc75ce13",
"subject": "tilda-ocr: keep rotated pages upright when shrinking oversized page boxes (ENG-8491) (#17231)",
"login": "aaburaed",
"name": "aaburaed",
"date": "2026-11-06T01:45"
},
{
"sha": "3df8ee012",
"subject": "fix(edl): chat agent reads EDL progress from docsvc completion; plan-first event creation (ENG-8474) (#17250)",
"login": "mvelamatt",
"name": "murali krishna velamati",
"date": "2026-11-06T00:59"
},
{
"sha": "618e0d73d",
"subject": "fix(execsvc): report global-table draft rows across all pages (ENG-6995) (#17216) (#17238)",
"login": "mmukkama",
"name": "mmukkama",
"date": "2026-11-05T18:36"
},
{
"sha": "30cf610bb",
"subject": "feat(execsvc): re-evaluate cross-form auto-queries when the read form completes (ENG-8464) (#17239)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-05T18:20"
},
{
"sha": "5bab8cbac",
"subject": "Backport Not Ready training copies to production (#17240)",
"login": "taylorfutral",
"name": "Taylor",
"date": "2026-11-05T18:13"
},
{
"sha": "3892e3355",
"subject": "Retire study actor on removal from last site (#17226)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-05T16:06"
}
]
}
}
The issue as the agent wrote it
**Fix is in:** the product code.
**What failed:** `locator.waitFor: Timeout 50000ms exceeded.`
**On screen when it failed:** The New site dialog is on its Team step, which shows "Error loading data (#400)" saying parameter "siteId" is not a valid key, and there is no 'Add new' button.

**Product bug**, confidence low. Found in `e2e-tests-master` build 880: [run in X-ray](https://xray.tilda.pizza/tests/run/e2e-tests-master/880).
**Root cause in X-ray:** [the verdict, each test's history and the evidence the agent read](https://xray.tilda.pizza/test-triage/f38516aa68df0e)
The New site dialog's Team step showed "Error loading data (#400)" instead of the staff list, so the 'Add new' button never appeared (createSite.page.js:510). The retry failed the same way.
The 400 text is "parameter \"siteId\" is not a valid key continuing. valid keys are: [... firstname tildaid ufid]". It comes from the members-list validation in main's tildaobj/exec_obj_defs.go:2973 (ListActorsQueryParams.Set).
On the default branch, line 2959 skips params.SiteIDFlag ("siteId") before that check, and has since 2024. So the backend on the cluster is not running that code. Cluster prep was verify/not_ready on product a654678, whose listed commits are 6 Nov production cherry-picks.
I found no change to apps/sense sites between build 879 (passed) and 880, and none of the listed commits touches this check. The other 'is not a valid key' check, in obj_crud.go, prints a different message.
Next: find which service's build on the cluster served this staff-list call, and compare its ListActorsQueryParams.Set at a654678 with master. A staff list that ignores siteId is probably authz, but I have not confirmed it. Also check whether the earlier failure, 12 runs ago, had the same 400.
**Assigned to:** nobody (nobody could be named from the evidence).
### Steps to reproduce
1. Sign in as an org admin of a CRO organization.
2. Open the Sites module for that CRO org and go to the Sites tab.
3. Click the button that creates a site; the 'New site' dialog opens.
4. Fill in the Site information step with a new site name and click Next.
5. Watch the Team step load its staff list (the request carries a siteId query parameter).
6. Expected: the Team step lists staff and shows an 'Add new' button; actual: "Error loading data (#400)" with "parameter \"siteId\" is not a valid key continuing. valid keys are: [searchkey sort role status ...]".
**Failing tests (1):**
- [croAddSite::TC-01: Add new site inside CRO org with 2 members and contact strategy](https://xray.tilda.pizza/tests/case/4bbb09b0cae478d9) (new in this run)
**Error:**
```
locator.waitFor: Timeout 50000ms exceeded.
```
+++ Agent notes
Filed by X-ray's triage agent. Models asked: claude-sonnet-5-5, claude-opus-5-5; settled by escalate; 43 lookups in the code and its history.
Group `triage:f38516aa68df0e` (one issue per root cause).
A wrong verdict can be corrected on the run page in X-ray.
+++