feat(jobrunner): automated PR workflow system#329
Merged
VioletCorvin merged 0 commit intodevfrom Feb 5, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements a comprehensive automated job runner system for the core-ide application that polls GitHub for pull request pipeline work and executes typed handler actions. The system introduces an event-driven architecture with pluggable sources, priority-based handler dispatch, and JSONL journal logging for training data capture.
Changes:
- Adds core jobrunner package with poller, journal, and handler infrastructure
- Implements GitHub source adapter with ETag-based conditional requests
- Creates 11 workflow handlers (publish_draft, resolve_threads, enable_auto_merge, tick_parent, etc.)
- Integrates headless mode into core-ide with systemd service support
- Establishes Go workspace for cross-module development
Reviewed changes
Copilot reviewed 30 out of 33 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| go.work | Creates Go workspace linking root and core-ide modules |
| pkg/jobrunner/types.go | Defines core interfaces (JobSource, JobHandler) and data structures (PipelineSignal, ActionResult) |
| pkg/jobrunner/journal.go | Implements JSONL journal writer for training data capture |
| pkg/jobrunner/poller.go | Core polling orchestrator with multi-source dispatch logic |
| pkg/jobrunner/github/source.go | GitHub API adapter implementing JobSource interface |
| pkg/jobrunner/github/signals.go | GitHub response parsing and signal building logic |
| pkg/jobrunner/handlers/*.go | Handler implementations for PR workflow automation |
| internal/core-ide/headless.go | Headless daemon mode startup and configuration |
| internal/core-ide/headless_mcp.go | MCP HTTP bridge for external tool access |
| internal/core-ide/build/linux/core-ide.service | Systemd service definition |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 5, 2026
The security logging in io/local creates a cycle: pkg/log/rotation.go imports pkg/io (for Medium) pkg/io/local/client.go imports pkg/log (for Security()) Remove the log import and rely on the os.ErrPermission return value to signal sandbox escape attempts. Callers can log at their level. Fixes build failure on dev branch introduced by #329. Co-authored-by: Claude <developers@lethean.io>
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.
Summary
Test plan
🤖 Generated with Claude Code