Skip to content

Hotfix/uipath langchain 0.16.7.post1 - #1065

Open
yashwagle1 wants to merge 3 commits into
release/uipath-langchain-0.16.7from
hotfix/uipath-langchain-0.16.7.post1
Open

Hotfix/uipath langchain 0.16.7.post1#1065
yashwagle1 wants to merge 3 commits into
release/uipath-langchain-0.16.7from
hotfix/uipath-langchain-0.16.7.post1

Conversation

@yashwagle1

Copy link
Copy Markdown
Contributor

Cherry pick #1048 bump the current release version from 0.16.7 -> 0.16.7.post1
CI changes so the the checks run against the branch

Copilot AI lite review requested due to automatic review settings September 3, 2026 20:17
@yashwagle1
yashwagle1 force-pushed the hotfix/uipath-langchain-0.16.7.post1 branch from 5a16c99 to 3b69fd2 Compare September 3, 2026 20:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

CI triggering/PR scope are inconsistent with the stated intent (checks for release branches can still be skipped on version-bump pushes, and the PR includes a functional PII behavior change not reflected in the PR description/title).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This hotfix branch updates the package release metadata to 0.16.7.post1, adjusts GitHub Actions triggers to include release/** branches, and (via the cherry-pick) changes how PII entity thresholds are derived from policy rows so custom policy entries aren’t silently dropped.

Changes:

  • Bump project version from 0.16.7 to 0.16.7.post1 (and update uv.lock accordingly).
  • Update CI/CD workflows to run on release/** branches.
  • Change PiiMasker._entity_thresholds_from_policy to request thresholds for every row in pii-entity-table (ignoring pii-entity-is-enabled) and add/adjust regression tests.
File summaries
File Description
uv.lock Updates lock metadata and reflects the local package version bump.
pyproject.toml Bumps the package version to 0.16.7.post1.
.github/workflows/ci.yml Extends CI triggers to release/** branches (but still ignores pyproject.toml on push).
.github/workflows/cd.yml Extends CD triggers to release/** branches for pyproject.toml changes.
src/uipath_langchain/agent/tools/internal_tools/pii_masker.py Changes policy parsing so all table rows become entityThresholds entries.
tests/agent/tools/internal_tools/test_pii_masker.py Updates/adds tests to validate the new threshold extraction behavior.
Review details
  • Files reviewed: 5/6 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yml
Comment on lines 5 to 9
branches:
- main
- 'release/**'
paths-ignore:
- pyproject.toml
Comment on lines +158 to +162
Every row in the table is requested. ``pii-entity-is-enabled`` is not
consulted: built-in categories carry it as ``true`` while custom rows
(e.g. ``FINationalID`` at 0.8) omit it entirely, so keying off it dropped
those rows from ``entityThresholds``. The service treats that list as an
allowlist, meaning a dropped row is never detected and its PII reaches
Comment thread pyproject.toml
Comment on lines 1 to 4
[project]
name = "uipath-langchain"
version = "0.16.7"
version = "0.16.7.post1"
description = "Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform"
@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

Comment thread .github/workflows/cd.yml
push:
branches:
- main
- 'release/**'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should this just be always on?

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.

4 participants