Skip to content

🚨 Targets workflow failed - Review needed#22

Open
github-actions[bot] wants to merge 75 commits intomainfrom
auto-fix-1772550716
Open

🚨 Targets workflow failed - Review needed#22
github-actions[bot] wants to merge 75 commits intomainfrom
auto-fix-1772550716

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Mar 3, 2026

Workflow Failure

The targets pipeline failed. GitHub Copilot will review this PR.

Error Summary

Starting tar_make()
ℹ Loading EMMAv1
Registered S3 method overwritten by 'httr':
  method           from  
  print.cache_info hoardr
Setting up NASA EarthData authentication (keyring file backend)
AppEEARS authentication configured
terra 1.8.93
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.2.0     ✔ readr     2.1.6
✔ forcats   1.0.1     ✔ stringr   1.6.0
✔ ggplot2   4.0.1     ✔ tibble    3.3.1
✔ lubridate 1.9.5     ✔ tidyr     1.3.2
✔ purrr     1.2.1     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ tidyr::extract()        masks terra::extract()
✖ dplyr::filter()         masks stats::filter()
✖ readr::guess_encoding() masks rvest::guess_encoding()
✖ dplyr::lag()            masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors

Attaching package: ‘arrow’

The following object is masked from ‘package:lubridate’:

    duration

The following object is masked from ‘package:terra’:

    buffer

The following object is masked from ‘package:utils’:

    timestamp

Linking to GEOS 3.12.1, GDAL 3.8.4, PROJ 9.4.0; sf_use_s2() is TRUE
udunits database from /usr/share/xml/udunits/udunits2.xml
Loaded 30 packages from DESCRIPTION
System info: sysname=Linux; release=6.14.0-1017-azure; version=#17~24.04.1-Ubuntu SMP Mon Dec  1 20:10:50 UTC 2025; nodename=eefd86d71e2f; machine=x86_64; login=unknown; user=root; effective_user=root
+ modis_vi_to_download dispatched
Found 4 missing monthly periods to download (current month always included)
✔ modis_vi_to_download completed [6ms, 215 B]
+ vegmap_shp dispatched
Downloading vegmap from GitHub release using piggyback...
Unzipping vegmap...
✖ vegmap_shp errored
✖ errored pipeline [19.8s, 1 completed, 1 skipped]
Error:
! Error in tar_make():
  Error resolving output location: missing files: data/manual_download/NVM2024/shapefile/NVM2024Final_IEM5_12_07012025.shp
  See https://books.ropensci.org/targets/debugging.html
10: (function () 
    {
        traceback(2)
        quit(status = 1)
    })()
9: stop(fallback)
8: signal_abort(cnd, .file)
7: rlang::abort(message = message, class = class, call = tar_envir_base)
6: tar_error(message = paste0(...), class = base::union(custom_error_classes(class), 
       c("tar_condition_run", "tar_condition_targets")))
5: tar_throw_run(message, class = class(traced_condition$condition))
4: callr_error(traced_condition = out, fun = fun)
3: if_any(inherits(out, "tar_condition_traced"), callr_error(traced_condition = out, 
       fun = fun), out)
2: callr_outer(targets_function = tar_make_inner, targets_arguments = targets_arguments, 
       callr_function = callr_function, callr_arguments = callr_arguments, 
       envir = envir, script = script, store = store, fun = "tar_make")
1: targets::tar_make()

Full Log

See .github/workflow-logs/ for complete output.

Next steps:

  1. Review Copilot's suggestions in the PR
  2. Apply fixes
  3. Close this PR once resolved

adammwilson and others added 30 commits January 11, 2022 13:51
Merge branch 'main' into dev-adam

# Conflicts:
#	R/get_climate_chelsa.R
#	_targets.R
#	_targets/meta/meta
Merge branch 'main' into dev-adam

# Conflicts:
#	.gitignore
Merge branch 'main' into dev-adam

# Conflicts:
#	.github/decrypt_secret.sh
#	.gitignore
#	R/get_climate_chelsa.R
#	README_files/figure-gfm/unnamed-chunk-3-1.png
#	_targets.R
- started working through functions

auto summary below:
Add functions to download and process NDVI and NDWI data from MODIS and VIIRS

- Implemented `get_release_ndvi_dates_modis` to download MODIS NDVI dates and convert to UNIX format.
- Created `get_release_ndvi_dates_viirs` for downloading VIIRS NDVI data with appropriate quality checks.
- Added `get_release_ndwi_modis` to download the most recent MODIS NDWI layer.
- Introduced helper functions for date conversion and quality assessment.
- Ensured proper directory management and error handling during downloads.
- Updated documentation for clarity and usage instructions.
… and VIIRS

- Implemented `get_release_ndvi_dates_modis` to download MODIS NDVI dates, including functions for date conversion and error handling.
- Created `get_release_ndvi_dates_viirs` for downloading VIIRS NDVI dates with appropriate quality checks.
- Developed `get_release_ndwi_modis` to fetch the most recent MODIS NDWI layer, including domain formatting and raster processing.
- Added error handling and release management for GitHub uploads across all functions.
- Ensured compatibility with existing data structures and improved documentation for clarity.
…ing climate data download URLs for improved accuracy and reliability.
…and clean up unused steps in targets pipeline
adammwilson and others added 27 commits January 12, 2026 16:27
…ubdirectory and return correct path; update elevation resampling method to average.
…emnants processing, and improve NetCDF variable definitions and metadata handling.
…ndicator description, add comprehensive CRS attributes, and implement run mode for GitHub Actions.
…vegmap, improve elevation retrieval with AppEEARS, and ensure directory structure for temporary files.
… releases; update .gitignore for new data directories
- Update output path for domain bounding box to "data/target_outputs/domain_bbox.parquet" and ensure directory creation.
- Convert bounding box to a simple data frame with WKT geometry before writing as parquet.
- Improve GitHub release upload process with credential handling and retry logic for uploads.
- Adjust cue mode for domain bounding box task based on run mode.
…hing

- Added new helper functions in `R/modis_vi_monthly_helpers.R` for month management and aggregation.
- Refactored `R/get_modis_vi.R` to support single month submissions and downloads, while maintaining backward compatibility.
- Updated `_targets.R` to replace monolithic tasks with dynamic branching for monthly downloads.
- Created `R/MODIS_VI_MONTHLY_README.md` for user documentation on the new implementation.
- Introduced `IMPLEMENTATION_SUMMARY.txt` detailing the changes, technical details, and next steps for users.
- Enhanced parallelization potential and resilience in the downloading process.
- Implemented `submit_modis_vi` function to submit monthly MODIS VI requests via AppEEARS.
- Added `download_modis_vi` function to download and process MODIS VI data into NetCDF format.
- Removed deprecated `get_release_kndvi_modis` function for downloading KNDVI layers.
- Introduced `hexgrid` function to create hexagonal grids for spatial analysis.
- Added new QGIS project file for EMMA data visualization.
- Updated renv version from 0.14.0 to 1.1.7 in activate.R.
- Added support for project directory retrieval via environment variable.
- Introduced startup diagnostics for performance monitoring during activation.
- Enhanced autoloader configuration with additional environment variable checks.
- Improved error handling and user feedback during renv installation and loading.
- Added functions for ansifying output and managing download headers.
- Implemented cache management for renv installations and added support for local tarballs.
- Refactored repository handling to support lockfile repositories and custom headers.
- Updated JSON reading functions for better error handling and compatibility.
- Added new utility functions for managing project paths and user directories.
@github-actions github-actions bot added the bug Something isn't working label Mar 3, 2026
@github-actions
Copy link
Author

github-actions bot commented Mar 3, 2026

@github-copilot review

@github-actions
Copy link
Author

github-actions bot commented Mar 3, 2026

@github-copilot-agent Please analyze the error log and create fixes for this targets pipeline failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant