Add scheduled workflow to detect upstream failures; set weekly cadence#1180
Conversation
Agent-Logs-Url: https://github.com/geocompx/geocompr/sessions/19f46a52-d387-423d-b4a4-554ec62aada0 Co-authored-by: Robinlovelace <1825120+Robinlovelace@users.noreply.github.com>
Agent-Logs-Url: https://github.com/geocompx/geocompr/sessions/19f46a52-d387-423d-b4a4-554ec62aada0 Co-authored-by: Robinlovelace <1825120+Robinlovelace@users.noreply.github.com>
Agent-Logs-Url: https://github.com/geocompx/geocompr/sessions/840d61e6-bed8-4133-ab8c-886a316fbbf0 Co-authored-by: Robinlovelace <1825120+Robinlovelace@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
|
||
|
|
||
| ## --------------------------------------------------------------------------------------------------- | ||
| myurl = "/vsicurl/https://zenodo.org/record/5774954/files/clm_snow.prob_esacci.dec_p.90_500m_s0..0cm_2000..2012_v2.0.tif" |
There was a problem hiding this comment.
https://zenodo.org/record/5774954/files/clm_snow.prob_esacci.dec_p.90_500m_s0..0cm_2000..2012_v2.0.tif is super slow and 140 MB. The new one is around 5 MB and much faster.
There was a problem hiding this comment.
Hi @Robinlovelace -- I am not sure if this change is good. 1. Zenodo is unusually slow today -- in the past it was much faster consistently. 2. The idea in that code chunk is that we are not downloading the whole file (thus the file size does not matter) but we are just connecting to it.
There was a problem hiding this comment.
@Nowosad are you sure only part of the file gets downloaded? The next line is
snow = rast(myurl)
There was a problem hiding this comment.
We can try reverting it to see if actions pass in any case.
There was a problem hiding this comment.
OK I see the syntax now.. So yeah it only gets a bit I guess.
|
@copilot fix the github actions check errors. I'm seeing this: |
This was a non-issue, sorted now I think. |
|
|
||
|
|
||
| ## --------------------------------------------------------------------------------------------------- | ||
| myurl = "/vsicurl/https://zenodo.org/record/5774954/files/clm_snow.prob_esacci.dec_p.90_500m_s0..0cm_2000..2012_v2.0.tif" |
There was a problem hiding this comment.
@Nowosad are you sure only part of the file gets downloaded? The next line is
snow = rast(myurl)
|
|
||
|
|
||
| ## --------------------------------------------------------------------------------------------------- | ||
| myurl = "/vsicurl/https://zenodo.org/record/5774954/files/clm_snow.prob_esacci.dec_p.90_500m_s0..0cm_2000..2012_v2.0.tif" |
There was a problem hiding this comment.
We can try reverting it to see if actions pass in any case.
|
|
||
|
|
||
| ## --------------------------------------------------------------------------------------------------- | ||
| myurl = "/vsicurl/https://zenodo.org/record/5774954/files/clm_snow.prob_esacci.dec_p.90_500m_s0..0cm_2000..2012_v2.0.tif" |
There was a problem hiding this comment.
OK I see the syntax now.. So yeah it only gets a bit I guess.
Robinlovelace
left a comment
There was a problem hiding this comment.
Reverting the other change to the url as Zenodo seems to be working now.
…-github-workflow-re-run Add scheduled workflow to detect upstream failures; set weekly cadence 734d547
Upstream dataset locations and dependencies can break silently between pushes. Adds a scheduled workflow that renders the book without deploying, surfacing failures automatically.
Changes
.github/workflows/scheduled.yaml0 6 * * 1) and onworkflow_dispatchfor manual runsbookdown::render_book("index.Rmd")— render only, no deployghcr.io/geocompx/suggests:latestcontainer asmain.yamlpermissions: contents: readscoped explicitly