Skip to content

Feat/public api#27

Closed
Keyrxng wants to merge 58 commits into
developmentfrom
feat/public-api
Closed

Feat/public api#27
Keyrxng wants to merge 58 commits into
developmentfrom
feat/public-api

Conversation

@Keyrxng
Copy link
Copy Markdown
Member

@Keyrxng Keyrxng commented Nov 8, 2025

No description provided.

- Introduced centralized error messages for various task assignment scenarios, improving clarity and user guidance.
- Refactored eligibility checks to streamline the assignment process and ensure proper error handling.
- Added detailed logging for task limits and user roles, enhancing debugging capabilities.
- Implemented a new function to evaluate start eligibility, consolidating checks for price labels, task staleness, and assignment limits.
…rage

- Added a new error message for cases where an issue is already assigned, providing clearer guidance to users.
- Refactored the eligibility check to differentiate between the sender being assigned and the issue being assigned to someone else.
- Updated tests to use more concise error assertions, improving readability and maintainability.
- Enhanced mock database and handler responses to better simulate real-world scenarios in tests.
- Refactored the task handling logic by consolidating user command processing into a dedicated handler.
- Introduced new handlers for managing pull request events, including closing unassigned pull requests and handling new pull request or edit events.
- Removed deprecated user start/stop handler and updated references throughout the codebase.
- Enhanced the overall structure and readability of the code by organizing related functionalities into separate modules.
- Updated tests to reflect changes in the command structure and ensure comprehensive coverage of new functionalities.
- Consolidated listener definitions in manifest.json for better readability.
- Enhanced code formatting across multiple handler files, ensuring consistent style and improved clarity.
- Refactored error handling and eligibility checks in task assignment to enhance maintainability.
- Updated various helper functions to improve structure and readability, including better error messaging and streamlined logic.
- Ensured all files end with a newline for consistency.
- Introduced a new public API endpoint to handle task management, supporting recommendation retrieval, eligibility validation, and task execution.
- Added helper functions for JWT verification, context building, and issue URL parsing to streamline request handling.
- Implemented rate limiting to manage API usage effectively.
- Enhanced error handling and response structures for better clarity and user experience.
- Integrated recommendations based on user embeddings to suggest similar issues when no issue URL is provided.
- Updated environment types to include necessary configurations for GitHub integration.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 8, 2025

Unused files (1)

src/utils/is-dev-env.ts

Unused exports (2)

Filename exports
src/handlers/start/api/helpers/auth.ts resolveLoginFromSupabaseIssues
src/handlers/start/api/helpers/octokit.ts createRepoOctokit

- Added eslint-plugin-import to ESLint configuration for improved import management.
- Configured import/order rule to enforce consistent import order.
- Updated package.json to include eslint-plugin-import as a dependency.
- Added a new Deno development script to package.json for easier development.
- Changed TypeScript module setting from ES2022 to ESNext for better compatibility.
- Updated wrangler.toml to include KV namespaces for rate limiting in both dev and prod environments.
@Keyrxng Keyrxng closed this Nov 21, 2025
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