-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Migration Plan: AI Assistant GitHub Bot from OWASP-BLT/BLT to Toasty
Overview
This issue outlines a step-by-step plan for migrating the AI assistant GitHub bot functionality from the OWASP-BLT/BLT repository into the OWASP-BLT/Toasty repository. The plan references all currently pending PRs in BLT that may affect or be affected by the migration. It will also evaluate the feature that compares PRs to the roadmap.
1. Audit Pending Pull Requests in BLT
These open PRs may impact the migration scope or require additional porting or reimplementation:
2. Inventory AI Assistant Bot Components
- Identify all files, modules, dependencies, app registrations, and configuration in BLT that implement the GitHub AI assistant bot.
- List integration points with BLT services (models, signals, celery jobs, GitHub hooks).
3. Establish Migration Requirements
- Determine minimum required features for Toasty integration.
- Ensure compatibility of dependencies and environment with Toasty (Python, Docker, CI, authentication)
- Ensure Toasty has access to necessary GitHub tokens/secrets.
4. Plan Migration Steps
- Freeze changes to bot code in BLT (after reconciling any critical PRs related to the bot).
- Port the core bot logic, APIs, settings, and secrets to Toasty.
- Update Toasty’s documentation and Docker configuration for the migrated bot.
- Verify integration with Toasty’s existing services (see README and pyproject.toml for service patterns).
- Update/test pre-commit, Poetry, and CI for Toasty.
- Perform local and staging environment validation.
- Deprecate/remove bot code from BLT after cutover is validated.
5. Evaluate PR-to-Roadmap Comparison Feature
- Review BLT’s implementation of the feature that compares PRs to the roadmap (could involve specific scripts, GitHub Actions, or Django logic)
- Determine whether this functionality is essential for Toasty or can be improved upon
- Plan porting or refactoring as required
6. Coordinate with Stakeholders
- Communicate migration plan to maintainers/developers of both projects
- Ensure downtime or feature freeze windows are approved
- Provide regular migration progress updates
References:
Action:
- Review and approve migration plan steps
- Assign leads for bot inventory, migration execution, and roadmap feature audit
Metadata
Metadata
Assignees
Labels
No labels