Skip to content

fix: Added advanced field option and offset support#814

Merged
AditiGoyalUipath merged 2 commits into
mainfrom
fix/advancedField
May 18, 2026
Merged

fix: Added advanced field option and offset support#814
AditiGoyalUipath merged 2 commits into
mainfrom
fix/advancedField

Conversation

@AditiGoyalUipath
Copy link
Copy Markdown
Contributor

  1. Skills update to support advanced option in field like field length,max min value
  2. Offset support in get API.

@AditiGoyalUipath AditiGoyalUipath force-pushed the fix/advancedField branch 2 times, most recently from 2d30de9 to e26e65a Compare May 18, 2026 08:28
@UiPath UiPath deleted a comment from github-actions Bot May 18, 2026
@AditiGoyalUipath AditiGoyalUipath requested a review from Copilot May 18, 2026 08:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the UiPath Data Fabric skill’s documentation and coder-eval task definitions to cover (1) advanced per-field constraints in entity schema operations and (2) offset-based pagination support alongside cursor pagination for records list/query.

Changes:

  • Expanded Data Fabric smoke/integration tasks to exercise advanced entity field constraints (lengthLimit, minValue/maxValue, decimalPrecision) and to require offset pagination usage.
  • Added/updated success criteria patterns to detect cursor pagination, offset jumps, and forbidden pagination-in-body usage.
  • Updated skill documentation and reference docs to describe advanced field constraints and --offset pagination.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/tasks/uipath-data-fabric/smoke_records.yaml Updates the offline smoke task prompt + success criteria to require --offset and enforce pagination rules.
tests/tasks/uipath-data-fabric/smoke_entities.yaml Expands the offline entities smoke task to include advanced field constraint usage and checks.
tests/tasks/uipath-data-fabric/integration_large_pagination.yaml Extends the large pagination integration task to validate offset-page jumps vs cursor-walked IDs.
tests/tasks/uipath-data-fabric/integration_full_lifecycle.yaml Adds advanced field constraint creation/verification/tightening to the full lifecycle integration task.
skills/uipath-data-fabric/SKILL.md Adds sections documenting advanced field constraints and pagination (--offset).
skills/uipath-data-fabric/references/records-query.md Documents --offset semantics and mutual exclusivity with --cursor.
skills/uipath-data-fabric/references/entity-schema.md Documents advanced per-type field constraints and how they appear in entities get.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/tasks/uipath-data-fabric/smoke_records.yaml
Comment thread tests/tasks/uipath-data-fabric/integration_large_pagination.yaml
Comment thread skills/uipath-data-fabric/SKILL.md
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Comment on lines +126 to +130
- type: command_executed
description: "Agent must NOT combine --offset and --cursor on the same command"
tool_name: "Bash"
command_pattern: 'uip\s+df\s+records\s+(list|query)(?=[^\n]*--cursor)(?=[^\n]*(-o\s+\d+|--offset\s+\d+))'
min_count: 0
Comment on lines +135 to +140
- type: command_executed
description: "Agent must NOT put pagination keys inside the --body JSON"
tool_name: "Bash"
command_pattern: '(?s)uip\s+df\s+records\s+query.*--body.*\"(start|offset|pageSize|limit)\"\s*:'
min_count: 0
max_count: 0
Comment thread tests/tasks/uipath-data-fabric/integration_large_pagination.yaml
Comment thread tests/tasks/uipath-data-fabric/integration_large_pagination.yaml Outdated
Copy link
Copy Markdown

@SuphalAthlur SuphalAthlur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And do we have these guardrails enforced in the CLI command? Things like is the constraint applied permitted for the chosen field type etc.

Comment on lines +55 to +73
> `start` and `limit` are **not** valid body keys — use `--limit` and `--cursor` CLI flags instead.
> `start`, `limit`, `offset`, and `pageSize` are **not** valid body keys — use `--limit`, `--cursor`, and `--offset` CLI flags instead. The CLI translates them into the underlying offset-based API call.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if the first part is a necessary clarification

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you clarify this ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As in, can't we have something like this? Why do we need to mention properties that are invalid, we could directly provide the valid flags right?

use --limit, --cursor, and --offset CLI flags ONLY. The CLI translates them into the underlying offset-based API call.

```

Pagination for query also uses `--limit` and `--cursor` flags — not body keys.
Pagination for query also uses `--limit`, `--cursor`, and `--offset` flags — not body keys.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is --cursor used for querying VDO entities alone?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No this is supported in SDK for cursor based pagination. User can use limit based(Which is supported in datafabric API) or cursor based pagination (supported via sdk)

@AditiGoyalUipath
Copy link
Copy Markdown
Contributor Author

And do we have these guardrails enforced in the CLI command? Things like is the constraint applied permitted for the chosen field type etc.

Guardrails are enforced in typescript SDK which CLI invokes to perform any action.

…thored-By: Claude Opus 4.7 <noreply@anthropic.com>
@AditiGoyalUipath AditiGoyalUipath merged commit 902bc97 into main May 18, 2026
10 checks passed
@AditiGoyalUipath AditiGoyalUipath deleted the fix/advancedField branch May 18, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants