Clean up Azure files and topics after sync failures
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Ruby
- Étoiles
- 16
- Forks
- 11
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de rubyforgood/skillrx
-
Discrepancies between SkillRx and AzurePeut-être à nouveau libre @dcollie2 l’a pris il y a 64 jours, et aucune pull request n’est ouverte. Ouverte
rubyforgood/skillrx#734 · 2 personnes assignées ·
-
Requirements Incomplete
Difficulté 4/5 3-5 jours Accessibilité débutants 66/100
rubyforgood/skillrx#700 ·
-
Topics UI TweaksPeut-être pris @LucassF5 l’a pris il y a 129 jours. Ouverteenhancement good first issue User Interface
rubyforgood/skillrx#699 · 2 commentaires · 1 personne assignée ·
-
bug User Interface
Difficulté 2/5 1-3 heures Accessibilité débutants 55/100
rubyforgood/skillrx#606 ·
-
Update Website StatsOuvertehelp wanted
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
rubyforgood/skillrx#588 ·
Toutes les issues de rubyforgood/skillrx
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
TheOdinProject/curriculum#31493 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
rmosolgo/graphql-ruby#5843 ·
Les mainteneurs répondent en général sous 1 jour
-
Liens externes cassésOuverte
Difficulté 1/5 1-3 heures Accessibilité débutants 66/100
betagouv/conseillers-entreprises#4770 ·
Les mainteneurs répondent en général sous 1 jour