buck2: http_archive fails after update

At one point, we fetch the a binary as part of the build. This was working great, but now that request fails after an update of buck2. The binary is still available, the step just fails with a somewhat opaque:

Internal error: Error performing a http_head request: HTTP Client Error (404 Not Found) when querying URL: https://api.anaconda.org/download/conda-forge/micromamba/1.4.2/linux-64/micromamba-1.4.2-0.tar.bz2. Response text:

cce725666b works fine, current HEAD does not.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

yup, that patch does indeed fix it. I wonder if things like this should throw a “WARN. This is non deferable. Please mark as non_defered=True.”

It’s probably best to just error out (but we can make the error more informative) and let you indeed set is_deferrable = True.