Repository navigation
docs: reference version source of truth instead of hardcoded image tags - #463
hossain-rayhan wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Wire the documented chart version variable into installation and remove or clarify remaining stale version references.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (4)
What changed in this PR
Updates playground scripts and documentation to use canonical operator and database version sources instead of hardcoded release tags.
Changes:
- Replaces selected pinned versions with source references or latest-release guidance.
- Documents independent operator and database version tracks.
- Clarifies image tag guidance in
AGENTS.md.
| File | Review summary |
|---|---|
documentdb-playground/lightrag/README.md |
Updates operator compatibility guidance; tested-version wording remains potentially misleading. |
documentdb-playground/aks-setup/scripts/create-cluster.sh |
Replaces pinning examples; related official installers still contain hardcoded versions. |
documentdb-playground/aks-setup/README.md |
Documents release pinning, but OPERATOR_CHART_VERSION is not wired into installation. |
docs/designs/image-management.md |
Updates source-of-truth guidance, but some hardcoded version examples remain. |
AGENTS.md |
Clarifies canonical image tag formats and sources. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (docs, playground); effort from diff stats (17+16 LOC, 5 files); LLM: Replaces hardcoded version numbers in docs/playground with canonical source-of-truth references to reduce maintenance burden — a polish/DX improvement with no functional impact. If a label is wrong, remove it manually and ping |
95be18d to
3cf3adc
Compare
Signed-off-by: Rayhan Hossain <[email protected]>
3cf3adc to
9f2052f
Compare
| @@ -17,7 +17,9 @@ KUBERNETES_VERSION="1.35.0" | |||
| # For testing: use hossain-rayhan/documentdb-operator (fork with Azure enhancements) | |||
| # For production: use microsoft/documentdb-operator (official) | |||
| OPERATOR_GITHUB_ORG="hossain-rayhan" | |||
There was a problem hiding this comment.
could we use the official by default?
WentingWu666666
left a comment
There was a problem hiding this comment.
Consistency: document the unpinned default in the other setup READMEs
Nice cleanup — dropping the stale hardcoded tags is the right call for playground scripts. One gap though: the switch to "latest stable" is only documented in aks-setup/README.md. The other three scripts changed to an unpinned default but their READMEs say nothing, so users won't know the install is now non-deterministic or how to pin.
Please add a short note (mirroring the aks-setup one) to:
documentdb-playground/aws-setup/README.mddocumentdb-playground/telemetry/README.mddocumentdb-playground/contrib/telemetry-and-cost-optimized-eks/README.md
Suggested snippet:
Operator version: By default the script installs the latest stable operator chart. This is non-deterministic — repeated runs may install different versions. For reproducible installs (CI, shared envs, bug repro), pin a version by setting
OPERATOR_CHART_VERSIONto a release from the GitHub Releases page before running.
One smaller point while here: since both version tracks (operator chart + documentDbVersion) can now float independently, a one-line caution that an untested operator/database combo could be pulled would help users decide when to pin.
Not blocking — the direction is good, just want the "unpinned by default" behavior documented consistently across all four setups.
Release PRs never touch these scripts, so any pin goes stale at the next release. The README, the EKS guide and aks-setup already install unpinned; OPERATOR_CHART_VERSION still pins. The script changes are taken from documentdb#463. Co-authored-by: Rayhan Hossain <[email protected]> Signed-off-by: Guanzhou Song <[email protected]>
|
The script part of this PR is now in #479: your hunks verbatim, with you as co-author, plus fixes this one doesn't cover (the telemetry script's fork default, contrib's classic-repo path, |
Release PRs never touch these scripts, so any pin goes stale at the next release. The README, the EKS guide and aks-setup already install unpinned; OPERATOR_CHART_VERSION still pins. The script changes are taken from documentdb#463. Co-authored-by: Rayhan Hossain <[email protected]> Signed-off-by: Guanzhou Song <[email protected]>


Replace stale, manually-maintained operator/database version numbers in
playground scripts and design docs with pointers to the canonical sources
(Chart.appVersion, values.yaml documentDbVersion, GitHub Releases) so they
no longer need updating on every release.