Skip to content

Commit c358154

Browse files
stackptrclaude
andcommitted
fix(ci): resolve HTTP/2 framing errors from Attic cache
Disable nginx proxy buffering and enforce HTTP/1.1 upstream for cache.zx.dev to prevent stream errors when downloading large NARs over HTTP/2. Also add --fallback to attic-client install in CI. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent fda38bf commit c358154

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
extra-trusted-public-keys = main:mu0jkxdJTGWC3djDSEQb3rvZgqlhA8WVMulcTo5IW6c=
3535
- name: Configure Attic cache
3636
run: |
37-
nix profile install --inputs-from . attic#attic-client
37+
nix profile install --inputs-from . attic#attic-client --fallback
3838
attic login rc https://cache.zx.dev ${{ secrets.ATTIC_TOKEN }}
3939
attic use rc:main
4040
- name: Build system configuration

‎.github/workflows/deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
4141
- name: Configure Attic cache
4242
run: |
43-
nix profile install --inputs-from . attic#attic-client
43+
nix profile install --inputs-from . attic#attic-client --fallback
4444
attic login rc https://cache.zx.dev ${{ secrets.ATTIC_TOKEN }}
4545
attic use rc:main
4646

‎hosts/spore/services/web/default.nix‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
extraConfig = ''
9696
client_max_body_size 0;
9797
proxy_read_timeout 300;
98+
proxy_buffering off;
99+
proxy_http_version 1.1;
98100
'';
99101
};
100102
};

0 commit comments

Comments
 (0)