Closed akorchyn closed 3 months ago
The updates across various modules primarily involve refining the pull request (PR) management system by enhancing the tracking of PR statuses, including execution. This includes modifications to storage structures, API adjustments for handling GitHub events, and the introduction of new methods and traits for command execution and comment parsing in the server logic.
Files | Summary |
---|---|
contract/src/lib.rs , contract/src/storage.rs , contract/src/types.rs |
Updated the Contract structure to handle executed PRs, removed the accounted field from PRs, and added a new storage key for merged PRs. |
contract/src/views.rs , server/src/api/near.rs |
Enhanced PR information structure to include new status fields and introduced functions to fetch unmerged PR data. |
server/src/api/github/mod.rs , server/src/api/github/types.rs |
Renamed and refactored command handling, adjusted event return types, and introduced new methods for pull request handling. |
server/src/commands/score.rs , server/src/commands/start.rs |
Refactored trait implementations for command execution and parsing, updating logic to reflect PR status changes. |
server/src/main.rs |
Added new structures for PR metadata and commands, and adjusted execution logic to handle single events. |
🐇🎉 Oh hooray, oh joy, new code deployed today! Merging branches, not just trees, Commands parsed with utmost ease. Bugs beware, you've no place to stay, For we hop through code in the most agile way! 🌟 🐇💻
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Documentation