Sitemap GHA improvement
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Start with the sitemap-related function in app/commands.py around line 397, then review the linked failed GitHub Actions run, especially its HINT and follow-up SQL statement. Check how the sitemap job interacts with harvesting activity and why retries reach recovery conflicts at later offsets. Done means sitemap creation avoids or reliably handles these conflicts; the issue leaves the specific approach open.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The sitemap hit this failure: https://github.com/GSA/datagov-catalog/actions/runs/41006432959/attempts/1 which I re-ran and failed.
I see in the logs that this occurrence is rare, it has happened 3 times in the past year. (Although all 3 within the past month...) https://one.newrelic.com/logger?account=1601367&begin=1761661800000&end=1793199600000&state=30c62e46-aed0-0a06-3047-2e8f1b69b2ce
This ticket is looking to improve the sitemap since the re-run failed.
There's a HINT and followup SQL statement here: https://github.com/GSA/datagov-catalog/actions/runs/41006432959/job/124128735512#step:6:294
Note also that the OFFSET on the 2nd run advanced from offset 555000 (the original failure) to 580000 before the next recovery conflict.
The idea is to create the sitemap when there is no harvesting activity, or make the sitemap creation more robust. A function of interest to start this off is located here: https://github.com/GSA/datagov-catalog/blob/0e9f5abf26c6abd27a4fd1b391dbe3bd54980d91/app/commands.py#L397
- Lingua principale
- Python
- Stelle
- 1.2k
- Fork
- 207
- Merge medio
- 3g 16h
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GSA/data.gov
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Harvester
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
-
blocked form submission shows home pageForse già presa @FuhuXia l’ha presa 1 giorno fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
idle-in-transaction for harvest record selectionForse già presa @theyottaboy l’ha presa 15 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Tutte le issue di GSA/data.gov
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno