Replace backwards compat symlinks with copies#341
Conversation
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughReplaces four deprecated workflow files with new, full-featured GitHub Actions manifests and adds a build-invoked script that generates backwards-compatible copies at the old workflow filenames with deprecation headers. Changes
Sequence Diagram(s)sequenceDiagram
participant GH as GitHub Actions Workflow
participant Runner as Runner (job steps)
participant Repo as Repository files/artifacts
participant MCP as MCP Gateway/Server
participant Agent as Copilot CLI / Agent
participant Issues as Issue Tracker / Reporting
GH->>Runner: start multi-job workflow (activation → agent → detection → safe_outputs → conclusion)
Runner->>Repo: checkout code & prompts, collect artifacts
Runner->>MCP: bootstrap gateway/server, exchange tokens
Runner->>Agent: provision prompt, run Copilot CLI in sandbox
Agent->>MCP: send/receive safe_outputs payloads
Agent->>Repo: upload agent outputs/artifacts
Runner->>Issues: create issue / comment / report based on safe_outputs and detection results
Runner->>GH: upload logs & summary artifacts
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/gh-aw-breaking-change-detect.lock.yml:
- Around line 1-5: The checkout error is caused because
.github/workflows/gh-aw-breaking-change-detect.lock.yml is currently a tracked
symlink; replace it with a real generated file by running the generator and
backwards-compat script and committing the result: run `gh aw compile` to
regenerate the .lock.yml files from the source .md, then run
`scripts/backwards-compat.sh` to produce the backwards-compat copy for
gh-aw-breaking-change-detect.lock.yml, verify the generated
.github/workflows/gh-aw-breaking-change-detect.lock.yml is a regular file (not a
symlink), remove the symlink entry from git if necessary, add and commit the new
file so CI checkout no longer fails.
db7af9c to
f223f29
Compare
Summary
This PR replaces backward-compatibility symlinks for renamed lock workflows with full file copies so legacy
workflow_callreferences keep working..github/workflows/.scripts/backwards-compat.shto regenerate these compatibility copies from the canonical renamed workflow files.make compileto run the compatibility sync script aftergh-aw compile.Legacy → New workflow mapping
gh-aw-breaking-change-detect.lock.yml→gh-aw-breaking-change-detector.lock.ymlgh-aw-docs-drift.lock.yml→gh-aw-docs-patrol.lock.ymlgh-aw-pr-ci-detective.lock.yml→gh-aw-pr-actions-detective.lock.ymlgh-aw-test-improvement.lock.yml→gh-aw-test-improver.lock.ymlOperational note
The legacy filenames now contain generated copies (not links) and include a deprecation banner indicating they will be removed in a future release.