Skip to content

test: Document pointer-based loop limitation#20

Merged
mpyw merged 1 commit intomainfrom
test/pointer-loop-limitation
Dec 26, 2025
Merged

test: Document pointer-based loop limitation#20
mpyw merged 1 commit intomainfrom
test/pointer-loop-limitation

Conversation

@mpyw
Copy link
Copy Markdown
Owner

@mpyw mpyw commented Dec 26, 2025

Summary

  • Added test case for pointer-based loop false positive
  • Documented as LIMITATION in file header

Related: #19

Test plan

  • ./test_all.sh passes

🤖 Generated with Claude Code

Added test cases and documentation for a new LIMITATION:
- Pointer-based loop with ctx causes false positive
- Cyclic Store dependencies through pointer in loop cannot be tracked

The analyzer reports false positives when:
1. Event has ctx set initially
2. Event is modified through pointer in a loop
3. Each iteration creates a Store that references the previous value

This is a complex data flow analysis problem that would require
more sophisticated cycle detection through Store dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mpyw mpyw merged commit a4ac07d into main Dec 26, 2025
6 checks passed
@mpyw mpyw deleted the test/pointer-loop-limitation branch December 26, 2025 03:17
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.31%. Comparing base (da800e6) to head (b992573).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   88.88%   89.31%   +0.42%     
==========================================
  Files           7        7              
  Lines         468      468              
==========================================
+ Hits          416      418       +2     
+ Misses         30       29       -1     
+ Partials       22       21       -1     
Flag Coverage Δ
unittests 89.31% <ø> (+0.42%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant