[Test restructure 4] Reclassify misplaced tests at the unit/integration boundary
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by reviewing the five named test files and their current directories, especially fixture use, mocking, external services, HTTP/TLS setup, and pytest markers. Reclassify or split each file as proposed, then verify that no test straddles unit, universal, component, and integration tiers and that test_dbt_integration.py no longer runs during unit CI.
Written by the indexing model from the issue text.
Description
What
Handle edge-case files that are currently in the wrong tier.
Files to investigate and reclassify
| File | Current location | Issue | Proposed action |
|---|---|---|---|
test_mcp_feature_server.py |
integration/ |
Fully mocked, no external services, no markers | Move to unit/ |
test_rest_error_decorator.py |
unit/ |
Uses environment fixture with no markers |
Investigate: refactor to remove environment dep (preferred) or move to universal/ |
test_offline_server.py |
unit/ |
Partially uses environment |
Split: env-dependent tests → universal/, rest stays in unit/ |
test_auth_registry_server.py |
unit/permissions/auth/server/ |
Starts real HTTP server with TLS | Move to integration/auth/ or component/ |
test_dbt_integration.py |
integration/dbt/ |
Missing @pytest.mark.integration — runs during unit CI |
Will be fixed structurally by living in integration/dbt/ |
Note
Each file may need individual judgment. The goal is zero tests that straddle tier boundaries after this PR.
- Dominant language
- Python
- Stars
- 7.4k
- Forks
- 1.5k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 107
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from feast-dev/feast
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
BigQuery data quality monitoring fails: PRIMARY KEY placed outside the column list in monitoring table DDLPossibly taken @liron-velocity claimed this 50 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
get_online_features silently drops a join key value when it shares a name with an OnDemandFeatureView's RequestSource fieldPossibly taken @OHMFOHS claimed this 99 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
kind/bug priority/p2
Difficulty 1/5 Under an hour Newbie friendliness 90/100
feast-dev/feast#6778 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
future-agi/future-agi#6392 ·
Maintainers usually reply within 1 day
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPossibly taken @prathameshfuke claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
StingraySoftware/HENDRICS#213 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day