Skip to content

Rename cagent GH repo#24285

Open
gtardif wants to merge 2 commits intodocker:mainfrom
gtardif:rename_cagent_gh_repo
Open

Rename cagent GH repo#24285
gtardif wants to merge 2 commits intodocker:mainfrom
gtardif:rename_cagent_gh_repo

Conversation

@gtardif
Copy link
Contributor

@gtardif gtardif commented Mar 6, 2026

Description

rename GH cagent repo URL, repo has been renamed to docker/docker-agent

Reviews

  • Technical review
  • Editorial review
  • Product review

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
@gtardif gtardif requested a review from dvdksn as a code owner March 6, 2026 09:34
@netlify
Copy link

netlify bot commented Mar 6, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit e56a334
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69aaacee76b29d000825ab24
😎 Deploy Preview https://deploy-preview-24285--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added area/release Relates to CI or deployment area/guides area/ai ci ci updates labels Mar 6, 2026
Copy link
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

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

Review Summary

Assessment: 🔴 CRITICAL

This PR successfully updates most GitHub repository references from docker/cagent to docker/docker-agent, but there are critical incomplete renames in two files that were modified by this PR:

🔴 Critical Issues

1. .github/workflows/agent-writer.yml (line 28)

Incomplete rename: GitHub Action reference still uses old repo name

This file was modified to update the PR body text link (line 62), but the actual GitHub Action reference on line 28 still points to docker/cagent-action@latest. This should likely be updated to docker/docker-agent-action@latest or similar for consistency with the repository rename.

uses: docker/cagent-action@latest

2. content/manuals/ai/docker-agent/reference/examples.md (line 15)

Incomplete rename: Shortcode still fetches from old repo URL

This file was modified to update the visible GitHub link (line 9), but the shortcode's $baseUrl variable on line 15 still points to the old repo. This will cause 404 errors when the shortcode tries to fetch example files:

{{- $baseUrl := "https://raw.githubusercontent.com/docker/cagent/refs/heads/main/examples" }}

Should be:

{{- $baseUrl := "https://raw.githubusercontent.com/docker/docker-agent/refs/heads/main/examples" }}

Additional References Not Updated (Not in Modified Files)

For completeness, here are other cagent references found in the repository that weren't updated (these are in files not modified by this PR):

  • .github/workflows/pr-review.yml: uses: docker/cagent-action/.github/workflows/review-pr.yml@latest
  • .github/workflows/nightly-docs-scan.yml: uses: docker/cagent-action@latest
  • .github/agents/docs-scanner.yaml: $schema=https://raw.githubusercontent.com/docker/cagent/refs/heads/main/cagent-schema.json

These may need to be addressed in a follow-up PR or may be intentionally left as-is if those actions haven't been renamed yet.


Note: This is a COMMENT-only review. The bot provides feedback but does not block merging.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
@gtardif
Copy link
Contributor Author

gtardif commented Mar 6, 2026

Renamed the raw gh urls.
I intentionally didn't rename uses: docker/cagent-action@latest for the moment, this is not impacted by the cagent GH repo name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ai area/guides area/release Relates to CI or deployment ci ci updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants