Skip to content

Conversation

@mangalaman93
Copy link
Contributor

No description provided.

@mangalaman93 mangalaman93 requested review from a team and Copilot May 9, 2025 19:43
@github-actions github-actions bot added area/testing Testing related issues go Pull requests that update Go code labels May 9, 2025
Copy link

Copilot AI left a 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 updates the URLs used for downloading data from the dgraph-benchmarks repository. It replaces GitHub blob URLs with raw and media URLs for schema and RDF files and updates the base URL used for LDBC files.

  • Updated datafiles map with new raw/media URL patterns
  • Changed the baseUrl for LDBC files to the media.githubusercontent.com endpoint
  • Simplified the assignment in the downloadLDBCFiles function
Comments suppressed due to low confidence (2)

t/t.go:884

  • The updated URLs in the datafiles map use different hostnames (raw.githubusercontent.com for some files and media.githubusercontent.com for others). Please ensure the differences are intentional (e.g., based on file type) and document the reasoning if necessary.
"1million-noindex.schema": "https://raw.githubusercontent.com/hypermodeinc/dgraph-benchmarks/refs/heads/main/data/1million-noindex.schema",

t/t.go:891

  • Since the new baseUrl no longer uses the GitHub blob interface, verify that appending the query parameter suffix ('?raw=true') in subsequent URL constructions is still required, or adjust if not needed.
var baseUrl = "https://media.githubusercontent.com/media/hypermodeinc/dgraph-benchmarks/refs/heads/main/ldbc/sf0.3/ldbc_rdf_0.3/"

@mangalaman93 mangalaman93 enabled auto-merge (squash) May 9, 2025 20:23
@mangalaman93 mangalaman93 merged commit eb5a229 into main May 9, 2025
13 checks passed
@mangalaman93 mangalaman93 deleted the aman/raw branch May 9, 2025 20:37
@trunk-io
Copy link

trunk-io bot commented May 9, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

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

Labels

area/testing Testing related issues go Pull requests that update Go code

Development

Successfully merging this pull request may close these issues.

2 participants