Clean up Azure files and topics after sync failures
還沒有人認領這個 Issue。
評估
研究方向
This work is blocked by #734 and includes production cleanup involving DocumentsSyncJob, Azure files, and the Topic.csv and File.csv exports. Start by checking Mission Control at /jobs and verifying the listed topics and files in Azure; avoid retrying deletes until you confirm the file was not re-added under the same name. Done means the remaining checks and cleanup are complete, duplicate topics are resolved, and both CSV exports have a fresh date after an hourly run.
由索引模型根據 Issue 內容生成。
描述
Blocked by #734. The upload retries did not need the fix (#735) deployed and are done; the rest can proceed as noted.
What we know from production as of 4 Oct 2026 (Mission Control, /jobs):
Failed DocumentsSyncJob runs: 129
- 101 uploads failed with
RecordNotFound, across 28 topics (21250 to 21632). Retried 5 Oct 2026; all succeeded. Spot check one in Azure (21529 had 14 missing). - 8 deletes failed with
RecordNotFound(topics 21579, 21580, 21583, 21705). The old files are probably still in Azure. Check each before retrying: a delete works by filename, so it would remove a file re-added under the same name. - 16 deletes failed with Azure 404. The file was never in Azure. Check a few, then discard.
- 4 uploads failed with Azure 416
InvalidRange(topics 21250, 21328, 21458, 21499). Retried 5 Oct 2026; all succeeded. Cause not established.
Data
- 0 byte documents: topic 21476 needs its PDF re-uploaded. Find any others.
- Duplicate topics: 21486 to 21489 are four copies of the same topic. Find any others and decide which to keep.
- The duplicates reported in #734 (21480 to 21483, 21485) are already deleted. Confirm one good copy of each remains and its file is in Azure.
- Topics with no document attached. Find and fix or remove.
- Topic 21477: file is in SkillRx and Azure but was not listed on the device. Recheck after the above.
CSV export (Topic.csv and File.csv stale since June)
Cause: a test provider was deleted while it still had one topic ("TEST"), which broke both generators every hour. Code fix is in #737.
- Delete the orphaned topic in production (done 5 Oct 2026).
- Confirm Topic.csv and File.csv on Azure have a fresh date after the next hourly run.
- Remove the TEST topic's file from Azure if one was uploaded.
- 主要語言
- Ruby
- 星號
- 16
- 分支
- 11
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
rubyforgood/skillrx 的其他 Issue
-
Discrepancies between SkillRx and Azure可能重新可做 @dcollie2 於 67 天前認領,目前沒有進行中的 PR。 未關閉
rubyforgood/skillrx#734 · 已指派 2 人 ·
-
Requirements Incomplete
難度 4/5 3-5 天 新手友好度 66/100
rubyforgood/skillrx#700 ·
-
Topics UI Tweaks可能已有人在做 @LucassF5 於 131 天前認領。 未關閉enhancement good first issue User Interface
rubyforgood/skillrx#699 · 2 則留言 · 已指派 1 人 ·
-
bug User Interface
難度 2/5 1-3 小時 新手友好度 55/100
rubyforgood/skillrx#606 ·
-
help wanted
難度 3/5 1-2 天 新手友好度 35/100
rubyforgood/skillrx#588 ·
查看 rubyforgood/skillrx 的全部 Issue
相似的 Issue
-
documentation
難度 2/5 1-3 小時 新手友好度 65/100
alphagov/tech-docs-gem#580 ·
維護者通常 1 天內回覆
-
Onboarding form: instructor radio never pre-selected "Yes" (permission vs permissions typo)可能已有人在做 @ThakuraAnki 今天認領。 未關閉bug
難度 1/5 1 小時以內 新手友好度 72/100
WikiEducationFoundation/WikiEduDashboard#7235 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
enhancement priority: low
難度 2/5 1-3 小時 新手友好度 72/100
davidteren/mutineer#361 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
zerocracy/judges-action#3021 ·
維護者通常 2 天內回覆