fix: route v4 endpoints to objectName (#ENGCE-61098) - #3078
Conversation
|
Claude finished @mrstark14's task in 2m 17s —— View job SummaryCorrects v4 ( Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | OK | No frontmatter changes |
| E2E Tests | OK | Documentation-only change; no new capabilities introduced |
| Skill Body | OK | No SKILL.md changes |
| References & Assets | OK | Both reference files are internally consistent and cross-consistent |
| Repo Hygiene | OK | No secrets, no cross-skill deps introduced, scoped to the fix |
Issues for Manual Review
- Domain accuracy: The core claim — that v4 endpoints route to
objectNamerather thanactivityName— is a CLI behavior assertion this reviewer cannot verify. The author (or a domain expert) should confirm the CLI actually acceptsobjectNameas the positional for--activity-version 4.0.0describe calls.
Conclusion
Clean, well-scoped documentation fix. Both files are updated consistently. The rewritten delta item 1 in impl.md is a meaningful improvement — it gives agents a concrete recovery path instead of just stating a negative. No issues found; this looks good to merge once domain accuracy is confirmed.
Why
Both references said a
4.0.0(v4) connector activity is addressed by its activity name. The CLI addresses it by object name — and always has. The flag's own help text says so:integrationservice-tool/src/commands/resources.ts:756The describe handler is explicit — there is no v4 branch on the positional at all:
resources.ts:793And the command's own built-in example passes an object name (
resources.ts:94):An agent following the old docs derived the positional from the node type's activity-name suffix (
add-users-to-user-group-beta-) instead ofadd_users_to_usergroup, sodescribemissed and the node was configured from no metadata.What
uipath-platform/.../resources.md§--activity-version4.0.0metadata has noobjectName" claim — it does have one.uipath-maestro-flow/.../connector/impl.md§ 4.0.0 Activities, Step 3Delta 1 — where the objectName actually comes from
The v4
objectNameis real, but it is not inmodel.context[], and it is not passed in--detail.configureActivitybranches before the normal objectName resolution and reads it off the definition'sconfigurationJSON:flow-tool/src/services/connector-service.ts:1336-1348The v4 manifest declares the context entry with no value — which is exactly why the v4 path reads the configuration blob:
and the test states the contract directly:
So delta 1 now says: read
configuration.objectName; it is thedescribepositional; do not pass it in--detail; if it is absent the registry copy is stale (registry pull --force, drop thedefinitions[]entry, re-add).Verification
Grepped both files — no
activityName/activity-nameremains in a v4 addressing context. The one surviving<activity-name>(impl.md:60) is the node-type suffixuipath.connector.<key>.<activity-name>, a different thing and correct as written.Deliberately out of scope
Pre-existing v4 gaps this PR does not touch, all verified against the CLI:
is resources describe --fieldis a hard exit-1 with--activity-version 4.0.0(resources.ts:810-820), butimpl.mdStep 3a still tells the agent to run it whenever an api-type ObjectAction is present.node configurerejects--detail.filter(connector-service.ts:1443) andcustomFieldsRequestDetails(:1448) for v4; Steps 6a/6c present both unconditionally.detail.activityContext = { version, scriptRef }(connector-service.ts:1374) — the v4 stand-in fordetail.objectName— is absent from theinputs.detailfield list.resources.md: v4 cache entries land under the no-connection key (<connector-key>/_static/<object-name>.v4.schema.json);--connection-idis warned-and-ignored for v4, against the section's blanket "Always pass--connection-id"; and--activity-versionexists only ondescribe, not onresources list/resources run.