Add timestamp logging and x402_ttl configuration option#17
Merged
Conversation
- Add current timestamp logging in payment verification flow - Log current timestamp when processing X-PAYMENT header - Log current timestamp in facilitator response - Include maxTimeoutSeconds in payment header logs - Add x402_ttl configuration directive - Allow configuring payment authorization TTL (1-3600 seconds, default: 60) - Set PaymentRequirements.max_timeout_seconds from configuration - Update documentation in README.md - Add comprehensive tests - Unit tests for timestamp logging functionality - Integration tests for timestamp logging in Docker environment - All tests passing - Code quality improvements - All code formatted with cargo fmt - All clippy warnings resolved - Build succeeds without warnings - Add .env.build to .gitignore (local build configuration)
- Add timestamp logging for payment verification debugging - Add x402_ttl configuration directive for customizing payment authorization TTL - Include maxTimeoutSeconds in payment header logs - Add comprehensive unit and integration tests for timestamp logging - Improve code quality: all clippy warnings resolved, formatting applied
c4ddd84 to
579e1a0
Compare
- Add check_container_exists() helper function to avoid code duplication - Improve Docker logs retrieval to handle both stdout and stderr - Increase wait times and log line counts for better reliability - Add debug logging to help diagnose test failures - All timestamp logging tests now pass successfully
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add current timestamp logging in payment verification flow
Add x402_ttl configuration directive
Add comprehensive tests
Code quality improvements