Tags: jetify-com/devbox
Tags
add GITHUB_TOKEN to some GHA workflows (#2624) ## Summary Got this error from a recent CICD failure: https://github.com/jetify-com/devbox/actions/runs/15422512862/job/43401117195 ``` Error: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' flake metadata --json github:NixOS/nixpkgs/nixpkgs-unstable: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': HTTP error 403: exit code 1 time=2025-06-03T16:18:44.819Z level=ERROR source=/Users/runner/work/devbox/devbox/internal/boxcli/midcobra/debug.go:68 msg="command error" stderr="error:\n … while fetching the input 'github:NixOS/nixpkgs/nixpkgs-unstable'\n\n error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': HTTP error 403\n\n response body:\n\n {\"message\":\"API rate limit exceeded for 13.105.117.137. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\"}\n" execid=56fcbe21ff4a4759b3aa59c59d79e8a8 stack=<nil> ``` ... ``` time=2025-06-03T16:18:44.820Z level=DEBUG source=/Users/runner/work/devbox/devbox/internal/nix/flake.go:27 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' flake metadata --json github:NixOS/nixpkgs/nixpkgs-unstable" time=2025-06-03T16:18:45.030Z level=DEBUG source=/Users/runner/work/devbox/devbox/internal/nix/flake.go:27 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' flake metadata --json github:NixOS/nixpkgs/nixpkgs-unstable" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.stderr="unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': HTTP error 403" cmd.pid=2817 cmd.code=1 cmd.dur=210.690417ms ``` I think we need to add GITHUB_TOKEN for a couple of jobs that setup Devbox ## How was it tested? will hope that CICD passes ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Update Docs dependencies (#2618) ## Summary Update doc dependencies, including algolia, to fix an issue with algolia search ## How was it tested? Tested algolia before and after upgrading locally, confirmed bug + fix ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
docs: Fix docs around what environment variable and commands to gener… …ate token(s) (#2593) ## Summary Updated docs around devbox api tokens. ## How was it tested? ``` % DEVBOX_API_TOKEN=a-token devbox cache info * s3://<a-valid-devbox-cloud-cache>?region=us-west-2&trusted=true * s3://<jetify-devbox-cache>?region=us-west-2&trusted=true (read-only) ``` ``` % devbox cache info No cache configured ```
Documentation Cleanup (#2592) ## Summary Cleanup Devspaces Documentation links ## How was it tested? Localhost testing ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license). --------- Signed-off-by: John Lago <750845+Lagoja@users.noreply.github.com>
Documentation Cleanup (#2592) ## Summary Cleanup Devspaces Documentation links ## How was it tested? Localhost testing ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license). --------- Signed-off-by: John Lago <750845+Lagoja@users.noreply.github.com>
Documentation Cleanup (#2592) ## Summary Cleanup Devspaces Documentation links ## How was it tested? Localhost testing ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license). --------- Signed-off-by: John Lago <750845+Lagoja@users.noreply.github.com>
[nixpkgs] Use lock.stdenv instead of NixPkgsCommitHash (#2584) ## Summary `NixPkgsCommitHash` is no longer defaulted so it's best to use lockfile.Stdenv to get the nixpkgs for patching and telemetry. This ensures we use the correct resolved version at all times. (also I think, but have not confirmed that before this change, `newGlibcPatchFlake` will not work is nixpkgs hash is not specified in devbox.json) ## How was it tested? unit tests ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
PreviousNext