Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: make tailcall build offline #1722

Open
tusharmath opened this issue Apr 13, 2024 · 5 comments
Open

bug: make tailcall build offline #1722

tusharmath opened this issue Apr 13, 2024 · 5 comments
Labels
💎 Bounty state: inactive No current action needed/possible; issue fixed, out of scope, or superseded.

Comments

@tusharmath
Copy link
Contributor

Currently when you try to build Tailcall without internet it throws up the following error

error: failed to run custom build command for `async-graphql-extension-apollo-tracing v3.2.14 (https://github.com/tailcallhq/async_graphql_apollo_studio_extension/#b7537c56)`

Caused by:
  process didn't exit successfully: `/Users/tushar/Documents/Projects/tailcall/target/debug/build/async-graphql-extension-apollo-tracing-072eed78a261821c/build-script-build` (exit status: 1)
  --- stderr
  Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("usage-reporting.api.apollographql.com")), port: None, path: "/proto/reports.proto", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: nodename nor servname provided, or not known" })) }

@tusharmath tusharmath changed the title Make tailcall build offline bug: make tailcall build offline Apr 13, 2024
@tusharmath
Copy link
Contributor Author

/bounty 50$

Copy link

algora-pbc bot commented Apr 13, 2024

💎 $50 bounty • Tailcall Inc.

Steps to solve:

  1. Start working: Comment /attempt #1722 with your implementation plan
  2. Submit work: Create a pull request including /claim #1722 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

🙏 Thank you for contributing to tailcallhq/tailcall!
🧐 Checkout our guidelines before you get started.

abhishek818 added a commit to abhishek818/tailcall that referenced this issue Apr 13, 2024
Vendor deps with git revisions, enabling offline builds.
abhishek818 added a commit to abhishek818/tailcall that referenced this issue Apr 13, 2024
abhishek818 added a commit to abhishek818/tailcall that referenced this issue Apr 13, 2024
abhishek818 added a commit to abhishek818/tailcall that referenced this issue Apr 15, 2024
Vendor deps with git revisions, enabling offline builds.
@tusharmath
Copy link
Contributor Author

@abhishek818 Is this the only way we can fix the issue? The idea was that a developer should be able to build Tailcall CLI locally without depending on the internet once all the dependencies are installed. Vendoring the dependencies like this seems like a bit of maintenance overhead for us.

abhishek818 added a commit to abhishek818/tailcall that referenced this issue Apr 16, 2024
Vendor deps with git revisions, enabling offline builds.
@abhishek818
Copy link

@tusharmath Alternatives seems to be mirroring crates/deps using panamax and romt.
Found few stackoverflow answers recommending cargo vendor for offline builds and starred repos using vendor.
I went with vendoring only git revision deps.

Copy link

github-actions bot commented Jun 5, 2024

Action required: Issue inactive for 30 days.
Status update or closure in 7 days.

@github-actions github-actions bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty state: inactive No current action needed/possible; issue fixed, out of scope, or superseded.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants