Skip to content

Comments

scout: update watch reference#24169

Merged
craig-osterhout merged 1 commit intodocker:mainfrom
craig-osterhout:scout-watch
Feb 20, 2026
Merged

scout: update watch reference#24169
craig-osterhout merged 1 commit intodocker:mainfrom
craig-osterhout:scout-watch

Conversation

@craig-osterhout
Copy link
Contributor

@craig-osterhout craig-osterhout commented Feb 19, 2026

Description

Quick fix to manually add the examples from the upstream markdown to this downstream yaml.
https://github.com/docker/scout-cli/blob/main/docs/scout_watch.md#docker-scout-watch

We switched to upstream yaml from the md because of a formatting issue. Will look into it and try to get back to using the upstream md as the md and yaml have diverged over time.

https://deploy-preview-24169--docsdocker.netlify.app/reference/cli/docker/scout/watch/

Related issues or tickets

#23921
https://docker.slack.com/archives/C04C69EM70C/p1771418602873829?thread_ts=1754573643.278429&cid=C04C69EM70C

Reviews

  • Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@netlify
Copy link

netlify bot commented Feb 19, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit ae95cf0
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/699796be1ef1250008acd3cc
😎 Deploy Preview https://deploy-preview-24169--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.

@craig-osterhout craig-osterhout marked this pull request as draft February 19, 2026 23:04
Copy link

@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

⚠️ CRITICAL: Editing Generated File

This PR manually edits a YAML file in data/scout-cli/ which is documented as being generated from upstream sources. While the PR description acknowledges this is a temporary workaround, this creates a maintenance risk:

  1. Manual changes will be lost when upstream generation resumes
  2. The file may drift further from upstream over time
  3. Future contributors may unknowingly regenerate and overwrite these changes

Recommendation: Add a comment in the file or create a tracking issue to ensure this temporary workaround is addressed before the next upstream sync.

@craig-osterhout craig-osterhout requested a review from a team February 19, 2026 23:06
@craig-osterhout craig-osterhout marked this pull request as ready for review February 19, 2026 23:07
Copy link

@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

⚠️ CRITICAL ISSUE FOUND: This PR modifies a generated YAML file that should not be manually edited.

High Severity Issue

This PR edits data/scout-cli/docker_scout_watch.yaml, which is generated from upstream (scout-cli repository). According to documentation standards, YAML files in data/*/*.yaml subdirectories are CLI reference data generated from upstream and should not be manually modified.

Why this matters:

  • Manual edits will be overwritten on the next upstream sync
  • Creates divergence between upstream and downstream documentation
  • Makes maintenance difficult and error-prone

Recommended approach:
As mentioned in the PR description, the proper fix is to resolve the formatting issue in the upstream markdown source and regenerate the YAML, rather than manually patching the generated file.

If this is an exceptional case requiring manual intervention, please document:

  1. Why the upstream source cannot be fixed
  2. How future upstream syncs will preserve these changes
  3. A plan to migrate back to upstream-generated content

@craig-osterhout craig-osterhout added the area/scout Relates to Docker Scout label Feb 19, 2026
@craig-osterhout
Copy link
Contributor Author

Closing for now to clarify.

@craig-osterhout craig-osterhout merged commit 08a11ec into docker:main Feb 20, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/scout Relates to Docker Scout status/review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants