Repository navigation
fix: Fix flaky macos test runner apply subprocess unit tests - #7203
Merged
Merged
Conversation
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
Contributor
There was a problem hiding this comment.
🔍 Devin Review: 4 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7203 +/- ##
==========================================
- Coverage 53.63% 53.63% -0.01%
==========================================
Files 462 462
Lines 58538 58538
Branches 8632 8632
==========================================
- Hits 31397 31396 -1
Misses 25006 25006
- Partials 2135 2136 +1
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
franciscojavierarceo
approved these changes
Nov 21, 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.
Summary
CliRunner.local_repo()/feast applysubprocess setup intest_feature_server.pywith an in-processFeatureStore+store.apply()helper.push→ online →get-online-features, missing push source, feature-view metadata, non-finite floats) without spawning a cold child interpreter.repo_pathto the temp dir soget_app()lifespan does not fall back to cwd when looking forstatic_artifacts.py.Why
macOS unit CI (
unit-test-python, pytest-xdist) has been flaking on:Previous mitigations (subprocess timeouts, one retry in #6592) treated the symptom. The flake is cold-start cost of a fresh Python process importing Feast/pandas/pyarrow under loaded macOS runners — retries still fail when both attempts exceed 120s.
CliRunnerneeds a subprocess for CLI tests that dynamically import a feature repo module. These feature-server tests only need a pushable online FeatureView, so in-process apply is the appropriate unit-test setup (same pattern as other local registry fixtures).Impact
feast applycoverage elsewhere; only this file’s fixtures.Test plan
pytest sdk/python/tests/unit/test_feature_server.py(40 passed locally)unit-test-pythonlegs are green on this PR