Skip to content

Fix tutorials workflow git fetch failure#3185

Closed
saitcakmak wants to merge 1 commit into
meta-pytorch:mainfrom
saitcakmak:export-D93482307
Closed

Fix tutorials workflow git fetch failure#3185
saitcakmak wants to merge 1 commit into
meta-pytorch:mainfrom
saitcakmak:export-D93482307

Conversation

@saitcakmak
Copy link
Copy Markdown
Contributor

Summary: The tutorials workflow was failing because git fetch --prune --unshallow could not authenticate with the HTTPS remote after actions/checkout@v4 had completed. Instead, configure the checkout action to do a full clone directly by setting fetch-depth: 0, which uses the checkout action's own credentials. This is needed by setuptools_scm to determine the BoTorch version.

Differential Revision: D93482307

@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 17, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Feb 17, 2026

@saitcakmak has exported this pull request. If you are a Meta employee, you can view the originating Diff in D93482307.

Summary: The tutorials workflow was failing because `git fetch --prune --unshallow` could not authenticate with the HTTPS remote after `actions/checkout@v4` had completed. Instead, configure the checkout action to do a full clone directly by setting `fetch-depth: 0`, which uses the checkout action's own credentials. This is needed by `setuptools_scm` to determine the BoTorch version.

Differential Revision: D93482307
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.99%. Comparing base (58f0104) to head (828f37a).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3185   +/-   ##
=======================================
  Coverage   99.99%   99.99%           
=======================================
  Files         219      219           
  Lines       21412    21412           
=======================================
  Hits        21411    21411           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Feb 17, 2026
Summary:

The tutorials workflow was failing because `git fetch --prune --unshallow` could not authenticate with the HTTPS remote after `actions/checkout@v4` had completed. Instead, configure the checkout action to do a full clone directly by setting `fetch-depth: 0`, which uses the checkout action's own credentials. This is needed by `setuptools_scm` to determine the BoTorch version.

Reviewed By: Balandat

Differential Revision: D93482307
@meta-codesync meta-codesync Bot closed this in d5a55aa Feb 17, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Feb 17, 2026

This pull request has been merged in d5a55aa.

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

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants