Skip to content

fix: stop reading a project's own virtualenv as part of the suite, and warn when a project has several configs - #630

Open
kun-codes wants to merge 7 commits into
mainfrom
fix/skip-hidden-and-generated-folders-when-finding-suite-files
Open

kun-codes wants to merge 7 commits into
mainfrom
fix/skip-hidden-and-generated-folders-when-finding-suite-files

Conversation

@kun-codes

@kun-codes kun-codes commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

optics execute walks the whole project folder. A virtualenv inside it exposed optics's bundled sample suites (Gmail, Calendar, Clock…), which were merged with the project's own, so every Appium session failed.

  • Skip folders: moves the existing hidden-folder rule from generate.py into walk_project, adds venv and env, and uses it in all five walkers.
  • Multiple configs: when a project has more than one config file, the last one found silently won. Optics now logs a warning naming the file that replaces the earlier one.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 11:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chinmayajha
chinmayajha force-pushed the fix/skip-hidden-and-generated-folders-when-finding-suite-files branch from ff900a2 to 7ea73f2 Compare October 22, 2026 08:14
Comment thread optics_framework/common/utils.py Fixed
@chinmayajha
chinmayajha force-pushed the fix/skip-hidden-and-generated-folders-when-finding-suite-files branch from 7ea73f2 to 7edf806 Compare October 22, 2026 08:27
@chinmayajha
chinmayajha force-pushed the fix/skip-hidden-and-generated-folders-when-finding-suite-files branch from 7edf806 to 20c2e9d Compare October 22, 2026 08:37
@sonarqubecloud

Copy link
Copy Markdown

@thakur-patel thakur-patel left a comment

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.

LGTM

This branch has not been deployed

No deployments
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.

5 participants