fix(uipath-rpa): coded UIA — headless ObjectRepository.cs regeneration, editor using hints, CodedWorkflow.cs restart fix, selector-only targets - #3134
Merged
Conversation
…ile validate headless, Descriptors.* mandatory over string targets, ignore editor unnecessary-using hints, CodedWorkflow.cs needs host restart + validate
… Target.FromSelector with CLI-captured selectors) alongside OR descriptors
danmunteanu1
requested review from
AlvinStanescu,
DragosUnguru,
Mihaiii,
RaduAna-Maria and
gabrielavaduva
as code owners
September 8, 2026 13:01
Contributor
PR Review: fix(uipath-rpa): coded UIA — headless ObjectRepository.cs regeneration, editor using hints, CodedWorkflow.cs restart fix, selector-only targets
|
AlvinStanescu
approved these changes
Sep 8, 2026
…file validate rule, independent of Studio flavor
…b before first uip command; .codedworkflows partials are a first-load snapshot (regen on later package/workflow change)
…bug start (build deletes WorkflowRunnerService.cs); use --skip-build or a bare run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fixes two failure modes observed in a coded UI-automation session and documents the selector-only coded targeting path.
ObjectRepository.csregeneration (headless): the skill said Studio Desktop was required and thatvalidate/buildnever trigger it. Verified on uip 1.200.1 / UIA 26.10: headless per-filevalidateregenerates the file when a[Workflow]/[TestCase].csis on disk; the OR write alone andbuilddo not. SKILL.md Step 0 + fast-path step 2a,coded/operations-guide.md§ Configure UI Targets, and the execution-maps UIA journey now state this.Descriptors.*is mandatory for OR targets; string target names / constants classes are called out as a non-fallback..csproj, so IDE diagnostics flag every using as unnecessary; acting on them produced 19 CS0246/CS0103 errors. § Using Statements Rules, the template note, and a troubleshooting row say to keep the usings and trust onlyvalidate/build. Added the namespace map forUiTargetApp,TargetAppOptions,N*enums, andIElementDescriptor(read from assembly metadata).CS0246 'CodedWorkflow'with a greenbuild: the old row saidbuildcreates the base partial. Verified: only the firstvalidate/runafter the headless host loads a coded project writesCodedWorkflow.cs;build/analyzenever do. Fix documented: restart the host, thenvalidate.TargetAppModel+Target.FromSelectorwith CLI-captured selectors is now an allowed path for projects with no Object Repository by design or runtime-computed selectors, replacing the blanket "never constructTargetAppModel" rules. Full guidance lives in the UIA package docs (UiPath/Activities PR onfix/coded-or-regeneration-headless); the skill carries category pointers only.Verification
npm run skills:check-links,npm run skills:validate,scripts/check-skill-status.py,scripts/check-skills-sh.pypass.CodedWorkflow.csbehavior reproduced deterministically in a scratch copy of a coded UIA project (delete file →validate/build/analyze→ inspect.local/.codedworkflows/).