Skip to content

feat: add /requests endpoint for debugging request history - #81

Open
dwmkerr wants to merge 3 commits into
mainfrom
feat/sequence-ignore
Open

feat: add /requests endpoint for debugging request history#81
dwmkerr wants to merge 3 commits into
mainfrom
feat/sequence-ignore

Conversation

@dwmkerr

@dwmkerr dwmkerr commented Dec 22, 2025

Copy link
Copy Markdown
Owner

Summary

  • Add GET /requests endpoint that returns all recorded requests for debugging
  • Track timestamp, method, path, and body for each incoming request
  • Add sequenceIgnore property to Rule interface for future use

- Add sequenceIgnore property to Rule interface for future use
- Track all incoming requests with timestamp, method, path, and body
- Expose recorded requests via GET /requests endpoint
- Document the new debugging endpoint in README
@codecov

codecov Bot commented Dec 22, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.88%. Comparing base (f571bff) to head (fb103f4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   90.78%   90.88%   +0.09%     
==========================================
  Files          15       15              
  Lines         369      373       +4     
  Branches       43       43              
==========================================
+ Hits          335      339       +4     
  Misses         27       27              
  Partials        7        7              
Flag Coverage Δ
samples 90.88% <100.00%> (+0.09%) ⬆️
unittests 90.88% <100.00%> (+0.09%) ⬆️

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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Rules with sequenceIgnore: true will match based on sequence number
but will not increment the counter when matched.
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