Conversation
Added new branch version v26.1 to repos.json.
Review Summary by Qodo(Agentic_describe updated until commit c60d74d)Add v26.1 branch configuration to repos.json
WalkthroughsDescription• Add v26.1 branch configuration to repos.json • New branch includes version, name, path, and start page Diagramflowchart LR
repos["repos.json"] -- "add v26.1 branch" --> config["v26.1 branch config"]
config -- "version: v26.1" --> version["Version"]
config -- "name: release/v26.1" --> name["Branch Name"]
config -- "relativePath: server" --> path["Relative Path"]
config -- "startPage: quick-start/" --> start["Start Page"]
File Changes1. import/repos.json
|
Code Review by Qodo
1. Latest redirect points old
|
Deploying documentation with
|
| Latest commit: |
c60d74d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://329acdde.documentation-21k.pages.dev |
| Branch Preview URL: | https://26-1.documentation-21k.pages.dev |
Docs build
|
Docs build
|
| { | ||
| "version": "v26.1", | ||
| "name": "release/v26.1", | ||
| "relativePath": ["server"], | ||
| "startPage": "quick-start/" | ||
| }, |
There was a problem hiding this comment.
1. Latest redirect points old 🐞 Bug ≡ Correctness
By inserting v26.1 before v26.0 in import/repos.json, the import pipeline and Versioning.latest will treat v26.1 as the latest stable version, but Cloudflare Pages still redirects /server/latest/* to /server/v26.0/*, serving the wrong docs for “latest” URLs.
Agent Prompt
### Issue description
Adding `v26.1` as the newest server branch makes it the computed latest version, but Cloudflare Pages redirects still hardcode `/server/latest/*` to `/server/v26.0/:splat`, so users hitting “latest” URLs are redirected to the wrong (older) docs.
### Issue Context
- `import/import.cjs` generates `generated-versions.json` in the same order as `repo.branches`.
- `docs/.vuepress/lib/versioning.ts` defines `latest` as the first non-preview server version.
- `_redirects` is evaluated by Cloudflare Pages before client-side routing.
### Fix Focus Areas
- docs/.vuepress/public/_redirects[253-255]
### What to change
- Update the `/server/latest/*` redirect target from `/server/v26.0/:splat` to `/server/v26.1/:splat` (and ensure any related “latest” redirect rules remain consistent).
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
Persistent review updated to latest commit c60d74d |
Docs Preview
|
Docs build
|
Added new branch version v26.1 to repos.json.
Description
Page previews