-
Notifications
You must be signed in to change notification settings - Fork 36
Add workflow: githubnext/agentics/weekly-research #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
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
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Add FileTracker struct to track created/modified files during workflow operations - Modify AddWorkflowWithRepoAndPR to use file tracking with rollback on git operation failure - Create AddWorkflowWithTracking function that tracks all file operations (md, lock.yml, .gitattributes) - Update stageWorkflowChanges to stage specific tracked files instead of entire directories - Add compileWorkflowWithTracking to track compilation-generated files - Implement rollback functionality that deletes created files on error - Add comprehensive tests for file tracker functionality - Maintain backward compatibility with existing AddWorkflow function Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…iles - Move FileTracker struct and methods to pkg/cli/file_tracker.go for better organization - Add OriginalContent map to store file content before modification - Enhance TrackModified() to capture original content automatically - Add RollbackModifiedFiles() method to restore files to original state - Add RollbackAllFiles() method for comprehensive rollback - Update defer function to use RollbackAllFiles() instead of RollbackCreatedFiles() - Fix timing of tracking calls to happen before file modification - Add comprehensive tests for all rollback scenarios Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
pelikhan
added a commit
that referenced
this pull request
Sep 4, 2025
* Add create-discussion safe output type with REST API implementation and validation support (#43) * Initial plan * Add create-discussion safe output type Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Convert create-discussion from GraphQL to REST API and remove discussions:write permission requirement Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Add create-discussion validation support to collect_ndjson_output.cjs Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Revert package-lock.json name change from gh-aw-copilots back to gh-aw Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> * Add JSON repair capabilities with graceful error handling for LLM-generated malformed JSON (#42) * Initial plan * Implement JSON repair capabilities for safe-output JSONL parser Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Add comprehensive test coverage for JSON repair functionality - Added 16 new test cases covering various JSON repair scenarios - Tests include mixed quote types, bracket issues, Unicode chars, complex nesting - Added graceful failure tests for edge cases beyond repair capabilities - All 190 JavaScript tests now pass, including 41 JSONL parser tests - Tests validate robustness of LLM-generated JSON handling Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Improve JSON parsing error handling: print to console and return undefined instead of throwing exceptions Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Refactor JSON parsing logic: streamline error handling and improve validation for output types * Add JSON repair and parsing functions to handle malformed input * Fix test cases for JSON repair functionality Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> * Add create-pull-request-review-comment safe-output type with comprehensive validation (#44) * Add prettier integration for automated .cjs file formatting (#46) * Fix Codex execution failure not failing GitHub Actions step (#48) * Add precise JSON path to source location mapping for frontmatter validation errors (#47) * Add network permissions validation and settings generation for Claude * Add conditional task execution for PRs with 'prr' in title for Claude and Codex workflows --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
This was referenced Oct 15, 2025
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.
Automatically created PR to add workflow: githubnext/agentics/weekly-research