Skip to content

Comments

Add upstream sync agentic workflow#25

Merged
krukow merged 3 commits intomainfrom
add-upstream-sync-workflow
Feb 21, 2026
Merged

Add upstream sync agentic workflow#25
krukow merged 3 commits intomainfrom
add-upstream-sync-workflow

Conversation

@krukow
Copy link
Collaborator

@krukow krukow commented Feb 21, 2026

Upstream Sync Agentic Workflow

Adds a daily (weekdays) agentic workflow that automatically reviews upstream github/copilot-sdk changes and ports relevant ones to the Clojure SDK.

What it does (7 phases)

  1. Discover — Scans upstream for merged PRs/commits since last sync (tracked via cache-memory)
  2. Assess — Categorizes changes as port/skip/review-needed
  3. Plan — Designs idiomatic Clojure adaptations
  4. Implement — Makes code changes, updates specs/instrumentation, CHANGELOG, docs
  5. Verify — Runs full CI: COPILOT_E2E_TESTS=true bb test, ./run-all-examples.sh, bb validate-docs, clj -T:build jar
  6. Self-review — Checks diff, API parity, async correctness
  7. Create PR — Opens a draft PR for @krukow (or an issue if too complex)

Configuration

  • Schedule: Daily on weekdays (fuzzy) + manual workflow_dispatch
  • Safe outputs: create-pull-request (draft, reviewers: krukow), create-issue, noop
  • Tools: GitHub (default toolsets), web-fetch, cache-memory, bash, edit (defaults)
  • Network: defaults + java + github
  • Strict mode: enabled

Files

  • .github/workflows/upstream-sync.md — Workflow definition (edit markdown body without recompilation)
  • .github/workflows/upstream-sync.lock.yml — Compiled workflow

krukow and others added 2 commits February 21, 2026 10:13
Adds a daily (weekdays) agentic workflow that:
- Reviews merged PRs and commits in github/copilot-sdk
- Assesses which changes are relevant to the Clojure port
- Plans and implements idiomatic Clojure adaptations
- Runs the full test suite (including E2E) and examples
- Creates a draft PR for maintainer review

Uses cache-memory to track sync state across runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@krukow krukow marked this pull request as ready for review February 21, 2026 09:14
Copilot AI review requested due to automatic review settings February 21, 2026 09:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new agentic GitHub Actions workflow to periodically review upstream github/copilot-sdk changes and (when appropriate) port them into this Clojure SDK, plus updates existing agentic workflow lockfiles to the newer gh-aw version.

Changes:

  • Add an “Upstream Sync Agent” workflow definition and its compiled lockfile.
  • Update the “Daily Documentation Updater” compiled lockfile to gh-aw v0.48.1 output/schema.
  • Bump agentics maintenance workflow + action lock metadata for gh-aw v0.48.1.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/workflows/upstream-sync.md New agent prompt + workflow frontmatter for daily upstream sync automation.
.github/workflows/upstream-sync.lock.yml Compiled workflow for upstream sync (gh-aw output).
.github/workflows/daily-doc-updater.lock.yml Regenerated compiled workflow with updated gh-aw version/tool schema.
.github/workflows/agentics-maintenance.yml Regenerated maintenance workflow header + setup action version.
.github/aw/actions-lock.json Adds pinned SHA entry for github/gh-aw/actions/setup@v0.48.1.

Address PR review feedback: prefer ${COPILOT_GITHUB_TOKEN:-$GITHUB_TOKEN}
so an already-set secret is not overwritten.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

@krukow krukow merged commit 7bfd981 into main Feb 21, 2026
5 checks passed
@krukow krukow deleted the add-upstream-sync-workflow branch February 21, 2026 09:41
@github-actions github-actions bot mentioned this pull request Feb 21, 2026
github-actions bot added a commit that referenced this pull request Feb 21, 2026
PR #25 added a daily agentic workflow (.github/workflows/upstream-sync.md)
that automatically discovers upstream github/copilot-sdk changes, ports
them to Clojure idioms, and opens draft PRs for review. Update the
'Syncing with Upstream' section to reflect this automation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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