Skip to content

test: Remove flaky key encoding timing assertion - #6746

Open
larrysingleton007 wants to merge 1 commit into
feast-dev:masterfrom
larrysingleton007:fix/issue-6745-key-encoding-wall-clock-flake
Open

test: Remove flaky key encoding timing assertion#6746
larrysingleton007 wants to merge 1 commit into
feast-dev:masterfrom
larrysingleton007:fix/issue-6745-key-encoding-wall-clock-flake

Conversation

@larrysingleton007

Copy link
Copy Markdown
Contributor

What this PR does

Removes test_performance_bounds_single_entity from the parallel unit suite. The test measures 1,000 operations against an absolute 0.2-second wall-clock limit, which remains sensitive to shared-runner contention after two earlier threshold increases.

Correctness remains covered by test_single_entity_fast_path. Performance remains covered by sdk/python/tests/benchmarks/test_key_encoding_benchmarks.py, where pytest-benchmark reports calibrated results instead of enforcing an absolute wall-clock assertion in the unit suite.

Testing

  • Key encoding unit module: 14 passed
  • Key encoding benchmarks: 2 passed (about 916k serialization and 714k deserialization operations per second locally)
  • Python unit suite: 2,536 passed, 20 skipped
  • Ruff and pre-commit checks passed

Review requests

  • kind/bug
  • ok-to-test

Fixes #6745

Fixes feast-dev#6745

Signed-off-by: Larry Singleton <166439969+larrysingleton007@users.noreply.github.com>
@codecov-commenter

codecov-commenter commented Aug 16, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.80%. Comparing base (f771ea4) to head (10d4a9f).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6746      +/-   ##
==========================================
- Coverage   46.82%   46.80%   -0.02%     
==========================================
  Files         415      415              
  Lines       50406    50406              
  Branches     7215     7215              
==========================================
- Hits        23601    23592       -9     
- Misses      25155    25163       +8     
- Partials     1650     1651       +1     
Flag Coverage Δ
go-feature-server 30.37% <ø> (-0.21%) ⬇️
python-unit 48.14% <ø> (-0.01%) ⬇️
see 2 files with indirect coverage changes

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f771ea4...10d4a9f. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

Key encoding unit test flakes on wall-clock performance bound

2 participants