mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
ci: make what's new updates incremental (#25817)
## Summary Fix the Sonnet 5 request failure by removing the deprecated temperature setting. Make daily curation incremental: skip the model when there are no unseen merges or expired highlights, review only unseen merge dates when work exists, and retain a manual full-window recalibration option. Generated by Codex
This commit is contained in:
1 parent
1840ddd5d9
commit
ccb8e85e45
3 files changed
+71
-10
No files matched your search
@@ -52,17 +52,29 @@ status only when the relative importance of the candidate set changes.
|
||||
## Procedure
|
||||
|
||||
1. Read `data/whats-new.json`.
|
||||
2. List every PR merged in the requested period:
|
||||
2. Determine the review mode from the request:
|
||||
- For an incremental review, list PRs merged from the day after the supplied
|
||||
checkpoint through the end of the publication window. Retain existing
|
||||
items inside the publication window without re-reviewing their source PRs.
|
||||
- For a full review, inspect every PR merged in the supplied publication
|
||||
window.
|
||||
3. List PRs in the range that applies to the review mode:
|
||||
|
||||
```console
|
||||
$ gh pr list --repo docker/docs --state merged --search 'merged:START..END' --limit 200
|
||||
```
|
||||
|
||||
3. Inspect the diff and resulting pages for every plausible candidate.
|
||||
4. Decide what qualifies using only evidence in the merged documentation.
|
||||
5. Replace `period_start`, `period_end`, and `items` in
|
||||
If an incremental search returns no PRs, skip candidate inspection and only
|
||||
remove expired items.
|
||||
4. Inspect the diff and resulting pages for every plausible new candidate.
|
||||
5. Decide what qualifies using only evidence in the merged documentation.
|
||||
6. Remove existing items published before the requested publication window.
|
||||
Add newly qualifying launches, combine related PRs, and reconsider featured
|
||||
status across the resulting list. Do not replace or rewrite retained items
|
||||
merely because they were not part of the incremental candidate range.
|
||||
7. Replace `period_start`, `period_end`, and `items` in
|
||||
`data/whats-new.json`. Sort items by `published` date, newest first.
|
||||
6. Write `.pr-body.md` with the publication period, selected highlights and
|
||||
8. Write `.pr-body.md` with the publication period, selected highlights and
|
||||
source PRs, plus concise reasons for plausible exclusions.
|
||||
|
||||
Each item must contain `product`, `title`, `description`, `url`, `published`,
|
||||
|
||||
Reference in new issue
Block a user