Fix CI pipeline failures across all workflows - #2620
Open
Ilya Matiach (imatiach-msft) wants to merge 1 commit into
Open
Fix CI pipeline failures across all workflows#2620Ilya Matiach (imatiach-msft) wants to merge 1 commit into
Ilya Matiach (imatiach-msft) wants to merge 1 commit into
Conversation
Ilya Matiach (imatiach-msft)
requested review from
Ruby Zhu (RubyZ10),
Vinutha Karanth (vinuthakaranth) and
xuke444
as code owners
March 25, 2026 16:15
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes CI instability/failures by pinning Python tooling, adjusting macOS Node.js PATH behavior for login shells, and de-flaking Cypress model overview E2E interactions.
Changes:
- Pin
setuptools<82across release/CI workflows to avoid breakages frompkg_resourcesremoval. - Add
zope.eventandzope.interfacetorai_core_flaskruntime requirements. - Stabilize E2E interactions by scrolling elements into view and using forced clicks; add a macOS Node PATH fix for
CI-raiwidgets-pytest.
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| rai_core_flask/requirements.txt | Adds zope.* dependencies for Flask core runtime. |
| libs/e2e/src/lib/describer/modelAssessment/modelOverview/ensureNewCohortsShowUpInCharts.ts | Makes the cohort view button interaction more robust in Cypress. |
| libs/e2e/src/lib/describer/modelAssessment/modelOverview/charts.ts | Makes chart pivot interactions more robust in Cypress. |
| .github/workflows/release-raiutils.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/release-rai-vision.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/release-rai-text.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/release-rai-test-utils.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/release-rai-tabular.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/release-nlp-feature-extractors.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/release-flask.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/release-erroranalysis.yml | Pins setuptools<82 during release tooling setup. |
| .github/workflows/CI-responsibleai-text-vision-pytest.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CI-raiwidgets-pytest.yml | Pins setuptools<82 and changes macOS Node PATH handling for login shells. |
| .github/workflows/CI-rai_core_flask-pytest.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CI-python.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CI-notebook.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CI-notebook-vision.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CI-notebook-text.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CI-e2e-notebooks.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CI-e2e-notebooks-text-vision.yml | Pins setuptools<82 for CI tool bootstrap. |
| .github/workflows/CD.yml | Pins setuptools<82 during CD tool bootstrap. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot started reviewing on behalf of
Ilya Matiach (imatiach-msft)
March 25, 2026 16:49
View session
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2620 +/- ##
=======================================
Coverage 70.18% 70.18%
=======================================
Files 18 18
Lines 1278 1278
=======================================
Hits 897 897
Misses 381 381
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Ilya Matiach (imatiach-msft)
force-pushed
the
fix-ci-pipeline-failures
branch
from
March 25, 2026 17:26
fb8b2d5 to
353d1a3
Compare
Ilya Matiach (imatiach-msft)
requested a review
from Gaurav Gupta (gaugup)
as a code owner
March 25, 2026 17:26
- Replace deptree with pipdeptree (compatible with setuptools 82+) - Fix zope package metadata in e2e notebook CIs (conda/pip conflict) - Fix macOS Node.js PATH in CI-raiwidgets-pytest via bash_profile export - Fix flaky Cypress model overview test with scrollIntoView and force click
Ilya Matiach (imatiach-msft)
force-pushed
the
fix-ci-pipeline-failures
branch
from
March 26, 2026 19:50
353d1a3 to
3e04185
Compare
sarashed731-prog
approved these changes
Jul 18, 2026
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.
Description
This pull request focuses on improving CI reliability and compatibility across platforms and environments. The main changes include workarounds for dependency issues with
zopepackages, a fix for Node.js path handling on macOS CI jobs, and updates to end-to-end test scripts to improve UI interaction robustness. Additionally, it replaces the deprecateddeptreetool withpipdeptreefor dependency checks.CI/CD Workflow Improvements:
zope.eventandzope.interfacewithpipto resolve conda/pip compatibility issues in notebook and vision notebook CI workflows (.github/workflows/CI-e2e-notebooks.yml,.github/workflows/CI-e2e-notebooks-text-vision.yml). [1] [2]PATHin login shells, ensuring the correct Node.js version is used for subsequent steps. Also, simplified the yarn installation steps by removing customPATHoverrides (.github/workflows/CI-raiwidgets-pytest.yml).End-to-End Test Robustness:
ensureChartsPivotandensureNewCohortsShowUpInChartsto use.scrollIntoView()and{ force: true }options, making UI tests more reliable by ensuring elements are visible and clickable (libs/e2e/src/lib/describer/modelAssessment/modelOverview/charts.ts,libs/e2e/src/lib/describer/modelAssessment/modelOverview/ensureNewCohortsShowUpInCharts.ts). [1] [2]Dependency Management:
deptreetool withpipdeptreein both the development requirements and the dependency tree test, aligning with current best practices (responsibleai/requirements-dev.txt,responsibleai/tests/test_dependencies.py). [1] [2]Checklist