Repository navigation
Conversation
docs/UPSTREAM.md 的 last_reviewed / last_merged 記成
97338531ff59a0f0cb7217594589d89ceef8a38b,只有前 7 碼與上游真正的
9733853e080346d26a215c0ada43fea224f5d7e4 相同;上游回 "not our ref",
compare 端點因此每天 404。改回正確 SHA。
檢查器在 compare 404 時多查一次 repos/{repo},區分「repo 不見了」與
「last_reviewed 在上游找不到」,兩者都維持錯誤(has_updates=true),
不會被當成空清單。
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DSF2LkgTrmtTqSGHjZECAP
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
SanHsien
added a commit
that referenced
this pull request
Oct 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UFfZEQwsFVa3UctAmzeVdC
Owner
Author
|
內容已於 2026-10-24 由雲端 session 直接推進 main(見 repo-fleet-ops WORKLOG),此 PR 關閉;分支保留。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
根本原因
issue #26 每天回報的
HTTP Error 404來自 commit 軸的 compare 端點repos/aqua5230/usage/compare/<last_reviewed>...main。docs/UPSTREAM.md的last_reviewed/last_merged記成97338531ff59a0f0cb7217594589d89ceef8a38b,只有前 7 碼對。上游真正的 commit 是9733853e080346d26a215c0ada43fea224f5d7e4(build(deps): bump the codeql-action group with 3 updates (#156),2026-10-01)。證據(git 唯讀查詢,雲端 session 讀不到上游 REST API):
git fetch origin 97338531ff59…:fatal: remote error: upload-pack: not our ref 97338531ff59a0f0cb7217594589d89ceef8a38bgit rev-parse 9733853:9733853e080346d26a215c0ada43fea224f5d7e4,git merge-base --is-ancestor 9733853 origin/main成立,落後 main 367 個 commitgit ls-remote:上游main=577e2df(2026-10-24),repo 公開、沒有改名或搬家所以不是上游消失,也不需要寫
docs/DECISIONS.md。變更
docs/UPSTREAM.md:sync point 改成正確的完整 SHA。tools/check_upstream_updates.py:compare 回 404 時多查一次repos/{repo},分成「repo 本身 404(改名/搬家/轉私人/刪除)」和「repo 在,但找不到last_reviewed(打錯字或上游改寫歷史)」兩種;查不到時註明無法確認。三種情況都還是錯誤(has_updates=true),不會變成空清單。測試(
tests/test_upstream_check.py新增)test_a_missing_sync_point_is_named_not_reported_as_bare_404:compare 404、repo 正常 → 錯誤指出last_reviewed找不到,commits 為空但has_updates是 Truetest_a_vanished_repo_is_named_not_reported_as_no_updates:全部 404 → 錯誤指出 repo 本身 404test_an_unconfirmable_404_stays_an_error:探測時網路斷 → 還是錯誤,並註明無法確認test_ticket_axis_404_is_not_checked_not_empty:PR/issue 軸 404 → 報告寫「Not checked」,不是「沒有新項目」驗證(Linux,沒跑
tools/dev_check.ps1)ruff check .:通過mypy(變更的兩個檔):通過check_doc_parity.py、check_file_size.py:通過pytest tests/test_upstream_check.py tests/test_upstream_tickets.py:35 passed合併後由排程確認,再決定是否關閉 #26。
Generated by Claude Code