GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI: Access DagsHub repository via an access token by seisman · Pull Request #4078 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Sep 7, 2025

Copy link
Copy Markdown
Member

dvc pull started to fail recently with errors like:

2025-09-07 01:23:24,119 DEBUG: v3.63.0 (pip), CPython 3.11.13 on Linux-6.11.0-1018-azure-x86_64-with-glibc2.39
2025-09-07 01:23:24,119 DEBUG: command: /home/runner/work/pygmt/pygmt/.venv/bin/dvc pull --no-run-cache --verbose
2025-09-07 01:23:26,142 DEBUG: Preparing to transfer data from 'https://dagshub.com/GenericMappingTools/pygmt.dvc/files/md5' to '/home/runner/work/pygmt/pygmt/.dvc/cache/files/md5'
2025-09-07 01:23:26,142 DEBUG: Preparing to collect status from '/home/runner/work/pygmt/pygmt/.dvc/cache/files/md5'
2025-09-07 01:23:26,142 DEBUG: Collecting status from '/home/runner/work/pygmt/pygmt/.dvc/cache/files/md5'
2025-09-07 01:23:26,144 DEBUG: Preparing to collect status from 'https://dagshub.com/GenericMappingTools/pygmt.dvc/files/md5'
2025-09-07 01:23:26,144 DEBUG: Collecting status from 'https://dagshub.com/GenericMappingTools/pygmt.dvc/files/md5'
2025-09-07 01:23:26,144 DEBUG: Querying 172 oids via object_exists
2025-09-07 01:23:26,881 WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:
md5: b73351d7d37e5d56fbcab6d46132026a
md5: e4bc1a90f4f25220fe759cdb0a709db8

I still don't know why it failed suddenly, but it turns out that we can fix the dvc issue via an access token.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

yvonnefroehlich reacted with thumbs up emoji yvonnefroehlich reacted with confused emoji
All reactions
  • 👍 1 reaction
  • 😕 1 reaction
@seisman
CI: Access DagsHub repository via an access token
e26873d
@seisman seisman added this to the 0.17.0 milestone Sep 7, 2025
@seisman seisman added maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review. run/test-gmt-dev Trigger the GMT Dev Tests workflow in PR labels Sep 7, 2025
@seisman
seisman requested a review from Copilot September 7, 2025 13:09
Copilot AI reviewed Sep 7, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses DVC (Data Version Control) failures when accessing the DagsHub repository by implementing token-based authentication. The recent failures were occurring when trying to pull baseline image data from the remote repository.

  • Configures DVC remote access with an authentication token for all CI workflows
  • Updates four GitHub Actions workflow files to use the DAGSHUB_TOKEN secret
  • Modifies the DVC remote URL to include token authentication before pulling data

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/release-baseline-images.yml Adds token authentication for DVC remote before pulling baseline images
.github/workflows/dvc-diff.yml Configures DVC remote with token and adds environment variable
.github/workflows/ci_tests_dev.yaml Updates development CI to use authenticated DVC remote access
.github/workflows/ci_tests.yaml Updates main CI to use authenticated DVC remote access

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/dvc-diff.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/workflows/release-baseline-images.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/workflows/ci_tests_dev.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/workflows/ci_tests.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. run/test-gmt-dev Trigger the GMT Dev Tests workflow in PR labels Sep 7, 2025
weiji14
weiji14 approved these changes Sep 7, 2025
View reviewed changes

@weiji14 weiji14 left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers for figuring this out! Pity that we can't access things publicly now.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@weiji14
weiji14 merged commit c0403aa into main Sep 7, 2025
@weiji14
weiji14 deleted the dvc/debug branch September 7, 2025 22:09
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Sep 7, 2025
@weiji14 weiji14 mentioned this pull request Sep 9, 2025
Build(deps): Bump codecov/codecov-action from 5.5.0 to 5.5.1 #4081
Merged
@seisman seisman mentioned this pull request Sep 22, 2025
CI: Fix the dvc issue with an access token GenericMappingTools/gmt#8799
Merged
@seisman seisman mentioned this pull request Oct 9, 2025
Running "dvc pull" now requires authentication #4147
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@weiji14 weiji14 weiji14 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Milestone

0.17.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@seisman @weiji14
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.