Skip to content

test: Remove flaky key encoding timing assertion - #6746

Merged
ntkathole merged 1 commit into
feast-dev:masterfrom
larrysingleton007:fix/issue-6745-key-encoding-wall-clock-flake
Aug 18, 2026
Merged

ntkathole merged 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

@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.96%. Comparing base (602d752) to head (bf74d29).
⚠️ Report is 5 commits behind head on master.
❗ 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.91%   46.96%   +0.05%     
==========================================
  Files         416      416              
  Lines       50545    50606      +61     
  Branches     7252     7262      +10     
==========================================
+ Hits        23714    23768      +54     
- Misses      25157    25159       +2     
- Partials     1674     1679       +5     
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 48.30% <ø> (+0.05%) ⬆️
see 6 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 602d752...bf74d29. 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.

Fixes feast-dev#6745

Signed-off-by: Larry Singleton <166439969+larrysingleton007@users.noreply.github.com>
@ntkathole
ntkathole force-pushed the fix/issue-6745-key-encoding-wall-clock-flake branch from 10d4a9f to bf74d29 Compare August 18, 2026 04:15
@ntkathole
ntkathole merged commit aa7b685 into feast-dev:master Aug 18, 2026
18 of 22 checks passed
@larrysingleton007
larrysingleton007 deleted the fix/issue-6745-key-encoding-wall-clock-flake branch September 14, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Key encoding unit test flakes on wall-clock performance bound

3 participants