Skip to content

check for circular aliases#25502

Open
craig-osterhout wants to merge 4 commits into
docker:mainfrom
craig-osterhout:circular-alias-check
Open

check for circular aliases#25502
craig-osterhout wants to merge 4 commits into
docker:mainfrom
craig-osterhout:circular-alias-check

Conversation

@craig-osterhout

@craig-osterhout craig-osterhout commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Description

Added check for circular aliases.

I've done it a few times. Move something and add an alias. Then move it back and forget to remove the alias.

Currently there is a circular alias, so it should fail successfully.

Related issues or tickets

Reviews

  • Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout craig-osterhout requested a review from dvdksn July 6, 2026 20:09
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 4022a80
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a4c0d44f9c90600085a9517
😎 Deploy Preview https://deploy-preview-25502--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/config area/tests ci ci updates labels Jul 6, 2026
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

The circular alias detection script is well-structured and integrates cleanly with the existing CI pipeline. The logic correctly identifies self-referential aliases across both manuals/ and standard Hugo paths. One minor latent risk noted inline.

Comment thread hack/test/validate_aliases Outdated

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🟡 NEEDS ATTENTION

Comment thread hack/test/validate_aliases
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout craig-osterhout added the status/review Pull requests that are ready for review label Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config area/release Relates to CI or deployment area/tests ci ci updates status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants