René's URL Explorer Experiment


Title: packOptions.filesIncluded is silently ignored for any path under a dot-prefixed directory · Issue #1855 · UiPath/uipath-python · GitHub

Open Graph Title: packOptions.filesIncluded is silently ignored for any path under a dot-prefixed directory · Issue #1855 · UiPath/uipath-python

X Title: packOptions.filesIncluded is silently ignored for any path under a dot-prefixed directory · Issue #1855 · UiPath/uipath-python

Description: What happens packOptions.filesIncluded accepts a relative path so a file in a subdirectory can be added to the package. Any path under a dot-prefixed directory is dropped instead, and nothing reports it. The same applies to a dotfile nam...

Open Graph Description: What happens packOptions.filesIncluded accepts a relative path so a file in a subdirectory can be added to the package. Any path under a dot-prefixed directory is dropped instead, and nothing repor...

X Description: What happens packOptions.filesIncluded accepts a relative path so a file in a subdirectory can be added to the package. Any path under a dot-prefixed directory is dropped instead, and nothing repor...

Opengraph URL: https://github.com/UiPath/uipath-python/issues/1855

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"packOptions.filesIncluded is silently ignored for any path under a dot-prefixed directory","articleBody":"## What happens\n\n`packOptions.filesIncluded` accepts a relative path so a file in a subdirectory can be added to the package. Any path under a dot-prefixed directory is dropped instead, and nothing reports it. The same applies to a dotfile named explicitly.\n\nThe spec describes `filesIncluded` as \"Specific files to **always** include\" ([packOptions](https://github.com/UiPath/uipath-python/blob/main/packages/uipath/specs/uipath.spec.md#4-packoptions)), and `uipath pack` exits successfully, so there is no signal that part of the configuration was ignored.\n\n## Reproduction\n\n```python\nimport os, tempfile\nfrom uipath._cli._utils._project_files import files_to_include\nfrom uipath._cli.models.uipath_json_schema import PackOptions\n\nroot = tempfile.mkdtemp()\nos.makedirs(f\"{root}/.config/assets/demo\")\nos.makedirs(f\"{root}/plain\")\nopen(f\"{root}/.config/assets/demo/ASSET.md\", \"w\").write(\"x\")\nopen(f\"{root}/plain/ASSET.md\", \"w\").write(\"x\")          # control, same shape without the dot\nopen(f\"{root}/.python-version\", \"w\").write(\"3.11\")\nopen(f\"{root}/pyproject.toml\", \"w\").write(\"[project]\")\n\nopts = PackOptions(**{\"filesIncluded\": [\n    \".config/assets/demo/ASSET.md\",\n    \".python-version\",\n    \"plain/ASSET.md\",\n]})\n\nincluded, skipped = files_to_include(opts, root, include_uv_lock=False)\nprint(\"included:\", sorted(f.relative_path for f in included))\nprint(\"skipped :\", skipped)\n```\n\nOutput:\n\n```\nincluded: ['plain/ASSET.md', 'pyproject.toml']\nskipped : []\n```\n\n`plain/ASSET.md` is honoured. `.config/assets/demo/ASSET.md` and `.python-version` are not, and `skipped` is empty.\n\n## Cause\n\nTwo unconditional filters run before the inclusion rules are evaluated.\n\n[`_project_files.py:471`](https://github.com/UiPath/uipath-python/blob/main/packages/uipath/src/uipath/_cli/_utils/_project_files.py#L471) drops dot-prefixed directories from `dirs[:]`, so `os.walk` never descends into them. [Line 497](https://github.com/UiPath/uipath-python/blob/main/packages/uipath/src/uipath/_cli/_utils/_project_files.py#L497) skips dot-prefixed files with a bare `continue`.\n\nThe per-file inclusion check that would honour the configuration is [lines 514 to 520](https://github.com/UiPath/uipath-python/blob/main/packages/uipath/src/uipath/_cli/_utils/_project_files.py#L514-L520), and it already supports a path match for subdirectories. It is simply unreachable for these paths.\n\nBecause both filters `continue` rather than appending to `skipped_files`, the omission does not surface anywhere, including in the caller that reports skipped files.\n\n## Why it matters\n\nTooling configuration and assets conventionally live in a dot-prefixed directory. A project that needs such a directory inside its package has no way to express that: `directoriesExcluded` has no `directoriesIncluded` counterpart, and the documented per-file escape hatch does not work there.\n\nThe available workaround is to keep the content under a non-dot directory and copy it into place at runtime, which means the package layout no longer matches the source layout and the copy step has to be reimplemented per project.\n\n## Suggested fix\n\nAny of these would resolve it, in rough order of smallest change:\n\n1. Honour an explicit `filesIncluded` entry regardless of a dot prefix. Descend into a dot-prefixed directory only when some `filesIncluded` entry has it as a path prefix, which keeps the current pruning fast for `.git`, `.venv` and similar. Apply the same to the dotfile filter at line 497. This matches the word \"always\" already in the spec.\n2. Add `directoriesIncluded` to `packOptions` as the counterpart to `directoriesExcluded`.\n\nIndependent of which is chosen, appending to `skipped_files` at both filters would turn a silent omission into something a caller can report.\n\n## Environment\n\n- `uipath` 2.14.2, resolved from PyPI\n- Python 3.14, macOS\n- Line numbers above are against `main`\n","author":{"url":"https://github.com/radu-mocanu","@type":"Person","name":"radu-mocanu"},"datePublished":"2026-08-11T15:40:40Z","url":"https://github.com/UiPath/uipath-python/issues/1855"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fe4cb02f-51da-c113-9668-64330471608a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE172:EA085:194E5D:22EEBF:6AFF62B3
html-safe-nonce01453c0e2a938303ea4ee3f290bc669a60fb900cede21758267b735bd766e92e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTcyOkVBMDg1OjE5NEU1RDoyMkVFQkY6NkFGRjYyQjMiLCJ2aXNpdG9yX2lkIjoiNjg4ODM1NTgxMTk3MDQ3NDY3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3f3a1f6868f244201c47c370681e60511de1521d5874d12db34679651251dacd
hovercard-subject-tagissue:5121917936
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UiPath/uipath-python/1855/issue_layout
twitter:imagehttps://opengraph.githubassets.com/85b7544fd9f0a1a0f62e896792d114fe4678b2bf4f98acc120b5f2aecc084da5/UiPath/uipath-python/issues/1855
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/85b7544fd9f0a1a0f62e896792d114fe4678b2bf4f98acc120b5f2aecc084da5/UiPath/uipath-python/issues/1855
og:image:altWhat happens packOptions.filesIncluded accepts a relative path so a file in a subdirectory can be added to the package. Any path under a dot-prefixed directory is dropped instead, and nothing repor...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameradu-mocanu
hostnamegithub.com
expected-hostnamegithub.com
None41b58589a1c4eda1e3c8904144a412b88ca4455f63ca2ad3629f2e9f3c3a1d12
turbo-cache-controlno-preview
go-importgithub.com/UiPath/uipath-python git https://github.com/UiPath/uipath-python.git
octolytics-dimension-user_id375663
octolytics-dimension-user_loginUiPath
octolytics-dimension-repository_id925171912
octolytics-dimension-repository_nwoUiPath/uipath-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id925171912
octolytics-dimension-repository_network_root_nwoUiPath/uipath-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8968d6d6acc65d74e4df332d23932dd3fd0502a4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/UiPath/uipath-python/issues/1855#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUiPath%2Fuipath-python%2Fissues%2F1855
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUiPath%2Fuipath-python%2Fissues%2F1855
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=UiPath%2Fuipath-python
Reloadhttps://github.com/UiPath/uipath-python/issues/1855
Reloadhttps://github.com/UiPath/uipath-python/issues/1855
Reloadhttps://github.com/UiPath/uipath-python/issues/1855
UiPathhttps://github.com/UiPath
uipath-pythonhttps://github.com/UiPath/uipath-python
Codehttps://github.com/UiPath/uipath-python
Issues81 (81)https://github.com/UiPath/uipath-python/issues
Pull requests144 (144)https://github.com/UiPath/uipath-python/pulls
Actionshttps://github.com/UiPath/uipath-python/actions
Projectshttps://github.com/UiPath/uipath-python/projects
Security and qualityhttps://github.com/UiPath/uipath-python/security
Insightshttps://github.com/UiPath/uipath-python/insights
https://github.com/UiPath/uipath-python
New issuehttps://github.com/login?return_to=https://github.com/UiPath/uipath-python/issues/1855
New issuehttps://github.com/login?return_to=https://github.com/UiPath/uipath-python/issues/1855
#1864https://github.com/UiPath/uipath-python/pull/1864
packOptions.filesIncluded is silently ignored for any path under a dot-prefixed directoryhttps://github.com/UiPath/uipath-python/issues/1855#top
#1864https://github.com/UiPath/uipath-python/pull/1864
https://github.com/radu-mocanu
radu-mocanuhttps://github.com/radu-mocanu
on Aug 11, 2026https://github.com/UiPath/uipath-python/issues/1855#issue-5121917936
packOptionshttps://github.com/UiPath/uipath-python/blob/main/packages/uipath/specs/uipath.spec.md#4-packoptions
_project_files.py:471https://github.com/UiPath/uipath-python/blob/main/packages/uipath/src/uipath/_cli/_utils/_project_files.py#L471
Line 497https://github.com/UiPath/uipath-python/blob/main/packages/uipath/src/uipath/_cli/_utils/_project_files.py#L497
lines 514 to 520https://github.com/UiPath/uipath-python/blob/main/packages/uipath/src/uipath/_cli/_utils/_project_files.py#L514-L520
Sign up for freehttps://github.com/signup?return_to=https://github.com/UiPath/uipath-python/issues/1855
Sign in to commenthttps://github.com/login?return_to=https://github.com/UiPath/uipath-python/issues/1855
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.