Add comprehensive Devin file operations workflow demonstration#24
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
Add comprehensive Devin file operations workflow demonstration#24devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
This workflow demonstrates the complete Devin API file operations including the newly implemented download-attachment-files endpoint. Features demonstrated: - Create Devin session for code analysis - Upload context files to session (upload-files) - Send additional instructions (send-message) - Download analysis deliverables (download-attachment-files) - Update session tags (update-tags) - Save downloaded files as workflow artifacts The workflow provides a practical example of using Devin for automated code analysis with file uploads and downloads, showcasing all file-related API operations in a real-world scenario. Related PR: samfert/DEVIN-GITHUB-ACTIONS#4 Requested by: Sam Fertig (@samfert-codeium) Devin session: https://app.devin.ai/sessions/de834578e708491d9e12a84dffc5d1c0 Co-Authored-By: Sam Fertig <sam.fertig@codeium.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
The existing workflows were using an older branch of the devin-action (@devin/1762304734-devin-action-implementation) which had a JSON encoding bug when handling multi-line prompts. This was causing the devin-review CI check to fail with 'JSON decode error: Invalid control character'. Updated both workflows to use the newer branch (@devin/1762363168-devin-api-download-attachments) which includes: - Proper JSON encoding for multi-line prompts - The new download-attachment-files endpoint - All 19 Devin API operations This fixes the CI failure in PR #24. Co-Authored-By: Sam Fertig <sam.fertig@codeium.com>
🤖 Devin Code ReviewDevin is reviewing this pull request for:
Session URL: https://app.devin.ai/sessions/a336da3493e44db9967383a02e8971a8 Devin will analyze the changes and provide feedback. You can monitor the progress at the session URL above. This review was automatically triggered by the GitHub Actions workflow. |
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 comprehensive Devin file operations workflow demonstration
Summary
This PR adds a new GitHub Actions workflow (
devin-file-operations.yml) that demonstrates the complete file operations capabilities of the Devin API GitHub Action. The workflow showcases how to:The workflow is triggered manually (workflow_dispatch) and provides four analysis types: security-audit, code-quality-review, architecture-analysis, and performance-analysis. It uploads three context files (project structure, security checklist, analysis instructions) to guide Devin's analysis.
Key Points:
@devin/1762363168-devin-api-download-attachmentsfrom DEVIN-GITHUB-ACTIONS PR #4REPLACE_WITH_ACTUAL_UUID) in download steps - clearly documented in the workflow outputReview & Testing Checklist for Human
@devin/1762363168-devin-api-download-attachments. Decide if this should be merged now or wait for PR Optimize HikariCP connection pooling across all microservices #4 to merge, then update to@mainDEVIN_API_KEYsecret to verify it creates a session and uploads files correctly. Note: Download steps will fail with placeholder UUIDs (expected behavior)/tmp/devin-contextis appropriate for GitHub's ubuntu-latest runnersTest Plan
DEVIN_API_KEYsecret is configured in the repositoryNotes
download-attachment-filesendpoint@mainor a semantic version tagLink to Devin run: https://app.devin.ai/sessions/de834578e708491d9e12a84dffc5d1c0
Requested by: Sam Fertig (@samfert-codeium)