Clean up Azure files and topics after sync failures
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Ruby
- Estrelas
- 16
- Forks
- 11
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de rubyforgood/skillrx
-
Discrepancies between SkillRx and AzureTalvez livre de novo @dcollie2 assumiu há 66 dias e não há nenhum pull request aberto. Aberta
rubyforgood/skillrx#734 · 2 responsáveis ·
-
Requirements Incomplete
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 66/100
rubyforgood/skillrx#700 ·
-
Topics UI TweaksTalvez já em andamento @LucassF5 assumiu há 130 dias. Abertaenhancement good first issue User Interface
rubyforgood/skillrx#699 · 2 comentários · 1 responsável ·
-
bug User Interface
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 55/100
rubyforgood/skillrx#606 ·
-
Update Website StatsAbertahelp wanted
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
rubyforgood/skillrx#588 ·
Todas as issues de rubyforgood/skillrx
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
L: javascript
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
dependabot/dependabot-core#16744 ·
Mantenedores costumam responder em até 1 dia
-
area:core-lib P2 size:S
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia