Skip to content

fix: resolve background job cancellation and improve context error propagation#1017

Open
kalbasit wants to merge 2 commits intomainfrom
03-01-fix_resolve_background_job_cancellation_and_improve_context_error_propagation
Open

fix: resolve background job cancellation and improve context error propagation#1017
kalbasit wants to merge 2 commits intomainfrom
03-01-fix_resolve_background_job_cancellation_and_improve_context_error_propagation

Conversation

@kalbasit
Copy link
Owner

@kalbasit kalbasit commented Mar 2, 2026

This fix addresses the "context canceled" errors occurring during
database transactions in the cache component. Previously, background
download jobs for narinfo and nar files incorrectly used the request
context. If a client disconnected or a timeout occurred, the request
context would be canceled, directly affecting the background caching
jobs and preventing artifacts from being stored.

Changes:

  • Detached context from the request for background download jobs using
    context.WithoutCancel.
  • Refactored selectUpstream to correctly propagate context cancellation
    errors instead of defaulting to storage.ErrNotFound.
  • Updated GetNarInfo and GetNar to handle client context cancellation
    independently from the background jobs they wait on.
  • Added a reproduction test case
    TestIssue990_BackgroundJobContextCancellation to
    pkg/cache/cache_test.go.

fixes #990

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bug Something isn't working go Pull requests that update go code labels Mar 2, 2026
Copy link
Owner Author

kalbasit commented Mar 2, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request resolves critical issues where client-initiated context cancellations were prematurely terminating essential background caching operations. By isolating the context used for background downloads and improving error propagation in upstream selection, the system can now reliably store artifacts even when client requests time out or disconnect.

Highlights

  • Background Job Context Isolation: Background download jobs for narinfo and nar files now use "context.WithoutCancel" to prevent client request cancellations from affecting their execution.
  • Context Error Propagation: The "selectUpstream" function was refactored to correctly propagate context cancellation errors, avoiding default "storage.ErrNotFound" in such cases.
  • Client Context Handling: "GetNarInfo" and "GetNar" were updated to handle client context cancellations independently, ensuring background jobs can complete even if the client disconnects.
  • New Test Case: A new test, "TestIssue990_BackgroundJobContextCancellation", was added to reproduce and verify the fix for background job context cancellation.
Changelog
  • pkg/cache/cache.go
    • Modified "GetNarInfo" to explicitly check for "ctx.Done()" before waiting on "ds.done", returning "ctx.Err()" if the client context is canceled.
    • Changed "prePullNarInfo" to pass "context.WithoutCancel(ctx)" to "coordinateDownload" and "pullNarInfo", ensuring background operations are not canceled by the client's context.
    • Added a "return ds" statement in "coordinateDownload" when "coordCtx.Done()" is received, ensuring the download state is returned upon caller context cancellation.
    • Introduced "defer cancel()" in "selectUpstream" to ensure the context's cancel function is always called.
    • Updated "selectUpstream" to handle "ctx.Done()" by returning "errors.Join(ctx.Err(), errs)" and to correctly process channel closure ("!ok") for upstream caches.
  • pkg/cache/cache_test.go
    • Added "TestIssue990_BackgroundJobContextCancellation" to simulate a slow upstream download and a client context cancellation, asserting that the background job still completes and stores the narinfo.
Activity
  • No activity (comments, reviews, progress) was provided in the context.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dosubot
Copy link

dosubot bot commented Mar 2, 2026

Related Documentation

Checked 7 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly addresses issues with background job cancellation by detaching the job's context from the request's context using context.WithoutCancel. The changes to selectUpstream properly handle context cancellation and prevent a resource leak by adding a deferred call to cancel. The new test case effectively validates that background jobs continue to completion even after the client's context is canceled. The implementation appears solid and addresses the described problem.

@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 5.04%. Comparing base (1825402) to head (3789f00).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1017   +/-   ##
=====================================
  Coverage   5.04%   5.04%           
=====================================
  Files          6       6           
  Lines        436     436           
=====================================
  Hits          22      22           
  Misses       410     410           
  Partials       4       4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gepbird
Copy link

gepbird commented Mar 2, 2026

Before this PR I ran nixpkgs-review pr 494320 --build-args="--store $(mktemp -d) --substituters https://nix-cache.tchfoo.com" 3 times and got many 500 responses from nginx in front of ncps as expected, so I believe this is a consistent enough reproducer.

I applied this patch on top of 0.8.6. The end results didn't change unfortunately and 3/3 times I got a flood of 500 errors :(
Most error logs have the message "error fetching narinfo from database: error beginning a transaction for getNarInfoFromDatabase: context canceled", full logs filtered by containing error: Logs-2026-03-02 09_52_20.txt

Note: for the first time build failed for me on aarch64-linux, worked for the second time:

ncps> ---------------------------------------------------
ncps> ✅ MinIO configured for S3 integration tests
ncps> 🚀 Starting MariaDB for integration tests...
ncps> ⏳ Waiting for MariaDB to be ready...
ncps> ❌ MariaDB failed to start
ncps> 🛑 Stopping MinIO...
ncps> ✅ MinIO stopped and cleaned up
ncps> 🛑 Stopping MariaDB...
ncps> ✅ MariaDB stopped and cleaned up
ncps> 🛑 Stopping PostgreSQL...
ncps> ✅ PostgreSQL stopped and cleaned up
ncps> 🛑 Stopping Redis...
ncps> ✅ Redis stopped and cleaned up

…opagation

This fix addresses the "context canceled" errors occurring during
database transactions in the cache component. Previously, background
download jobs for narinfo and nar files incorrectly used the request
context. If a client disconnected or a timeout occurred, the request
context would be canceled, directly affecting the background caching
jobs and preventing artifacts from being stored.

Changes:
- Detached context from the request for background download jobs using
  context.WithoutCancel.
- Refactored selectUpstream to correctly propagate context cancellation
  errors instead of defaulting to storage.ErrNotFound.
- Updated GetNarInfo and GetNar to handle client context cancellation
  independently from the background jobs they wait on.
- Added a reproduction test case
  TestIssue990_BackgroundJobContextCancellation to
  pkg/cache/cache_test.go.
@kalbasit
Copy link
Owner Author

kalbasit commented Mar 5, 2026

@gepbird you're using sqlite database and local lock correct? That's what I see in your config.

Weird I can't replicate running it locally with your setup on this branch.

Isolated command I generated from your PR

./dev-scripts/nix-isolated-build.py \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ani-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#anime-downloader \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#anime-downloader.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#apache-answer \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#astro-language-server \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#authelia \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#auto-editor \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#autobrr \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#bash-language-server \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#bilibili-tui \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#botamusique \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#bumpp \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#castero \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#castero.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#catt \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#catt.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#cdxgen \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#celluloid \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#changelogen \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#cine \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#clapper \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#clapper-enhancers \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#claude-code-router \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#concurrently \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#conventional-changelog-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#cplay-ng \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#cplay-ng.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#cspell \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#curseradio \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#curseradio.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#delfin \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#dep-scan \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#dep-scan.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#dmlive \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#dra-cla \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#e-search \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#en-croissant \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#equicord \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#fedistar \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#feishin \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ff2mpv \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ff2mpv-go \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#filebrowser \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#folo \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#froide \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#froide-govplan \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#froide-govplan.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#froide.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gale \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gallery-dl \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gallery-dl.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ghostfolio \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gitea \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gitea.data \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gitify \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gitlab-duo \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#goaway \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gonic \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gophertube \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gpodder \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gtk-pipe-viewer \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#gtk-pipe-viewer.devdoc \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#haruna \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#heroic \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#heroic-unwrapped \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#home-assistant-custom-lovelace-modules.custom-sidebar \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#home-assistant-custom-lovelace-modules.kiosk-mode \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#homepage-dashboard \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#homer \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#hydrus \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#hydrus.doc \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#hypnotix \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#immich \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#immich-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#invidtui \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#jellyfin-mpv-shim \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#jellyfin-mpv-shim.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#jellyfin-tui \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#jellytui \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#jftui \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.audiotube \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.audiotube.debug \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.audiotube.dev \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.audiotube.devtools \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.kalarm \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.kalarm.debug \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.kalarm.dev \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.kalarm.devtools \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.plasmatube \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.plasmatube.debug \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.plasmatube.dev \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kdePackages.plasmatube.devtools \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kikoplay \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#klipperscreen \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#kodiPackages.sendtokodi \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#legcord \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#linkwarden \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#linux-wallpaperengine \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#liquidsoap \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#lollypop \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#memento \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#memos \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#metacubexd \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mgrep \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#minitube \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#monophony \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#monophony.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#moodle-dl \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#moodle-dl.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#moonlight \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mov-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mov-cli.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mpc-qt \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mpv \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mpv-handler \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mpvScripts.mpv-playlistmanager \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#mpvpaper \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ni \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#nrm \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#oxfmt \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#paperless-ngx \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#paperless-ngx.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#parabolic \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#parrot \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#pear-desktop \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#peertube \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#peertube.cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#peertube.runner \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#persepolis \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#photoqt \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#picgo \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#pinchflat \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#pipe-viewer \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#pipe-viewer.devdoc \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#pipeline \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#plex-mpv-shim \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#plex-mpv-shim.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#pocket-id \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#podman-desktop \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#postcss \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#previewqt \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#prisma_6 \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#prisma_7 \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.bgutil-ytdlp-pot-provider \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.bgutil-ytdlp-pot-provider.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.django-filingcabinet \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.django-filingcabinet.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.gradio-client \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.gradio-client.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.gradio-pdf \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.gradio-pdf.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.mpv \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.mpv.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.tubeup \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.tubeup.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.yark \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.yark.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.yt-dlp-ejs \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python313Packages.yt-dlp-ejs.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.bgutil-ytdlp-pot-provider \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.bgutil-ytdlp-pot-provider.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.gradio-client \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.gradio-client.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.gradio-pdf \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.gradio-pdf.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.mpv \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.mpv.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.tubeup \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.tubeup.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yark \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yark.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yt-dlp \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yt-dlp-ejs \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yt-dlp-ejs.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yt-dlp-light \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yt-dlp-light.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#python314Packages.yt-dlp.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#qimgv \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#radiance-vj \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#radio-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#radioboat \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#readest \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#renovate \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#satisfactorymodmanager \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#sharedown \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#sharkey \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#shira \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#shira.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#shoko-webui \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#shopify-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#signal-desktop \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#simple-live-app \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#simple-live-app.debug \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#simple-live-app.pubcache \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#slidev-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#somafm-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#splayer \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#spotdl \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#spotdl.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#stoat-desktop \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#sub-store \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#sub-store-frontend \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#subtitleedit \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#svelte-check \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#svelte-language-server \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#switchfin \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#szurubooru.server \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#szurubooru.server.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#tartube-yt-dlp \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#tartube-yt-dlp.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#teleport_17 \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#teleport_17.client \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#tests.home-assistant-component-tests.media_extractor \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#tomato-c \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#tsx \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#tuba \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#turborepo-remote-cache \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#typespec \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#umami \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#varia \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vencord \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vencord-web-extension \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vesktop \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vidcutter \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vidcutter.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#video-downloader \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vikunja \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vikunja-desktop \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vscode-extensions.eamodio.gitlens \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vscode-extensions.kilocode.kilo-code \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vscode-extensions.rooveterinaryinc.roo-cline \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#vue-language-server \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#webcord-vencord \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#woodpecker-server \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#wtwitch \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#yewtube \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#yewtube.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#youtube-tui \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytcc \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytcc.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytdl-sub \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytdl-sub.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytdownloader \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytfzf \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytmdl \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytmdl.dist \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#ytui-music \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#zenn-cli \
  github:gepbird/nixpkgs/bump/pnpm/10.29.2#zulip

@kalbasit kalbasit force-pushed the 03-01-fix_resolve_background_job_cancellation_and_improve_context_error_propagation branch from 7e1a87c to 3789f00 Compare March 5, 2026 00:30
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Mar 5, 2026
@kalbasit
Copy link
Owner Author

kalbasit commented Mar 5, 2026

@gepbird can you try again with the latest version of the pr?

@gepbird
Copy link

gepbird commented Mar 5, 2026

@gepbird you're using sqlite database and local lock correct? That's what I see in your config.

Yes, I have /var/lib/ncps/db/db.sqlite, I'm not sure about where is the lock (or it only appears when the database is being used at the moment?), in that folder I don't see other files like a lock/WAL, but I didn't change the defaults or messed with /var/lib/ncps.

Weird I can't replicate running it locally with your setup on this branch.

Can you replicate it with my ncps instance behind nginx, https://nix-cache.tchfoo.com? It's on a 24/7 online RPI5, feel free to stress it. If so, you can give me a timespan when you tested it and I can send the logs, if it helps.

Isolated command I generated from your PR
./dev-scripts/nix-isolated-build.py github:gepbird/nixpkgs/bump/pnpm/10.29.2#ani-cli ...

Can you share this script? I can't find it on main or this PR.
Also, that tag on my fork is deleted, so let's use a commit from NixOS/nixpkgs.

I could reproduce it with this script
TEMP_NIX_STORE="$(mktemp -d)"

nix run github:NixOS/nixpkgs/00c21e4c93d963c50d4c0c89bfa84ed6e0694df2#lixPackageSets.stable.lix -- \
  --store "$TEMP_NIX_STORE" \
  --extra-substituters "" \
  --refresh \
  --substituters "https://nix-cache.tchfoo.com" \
  build \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ani-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#anime-downloader \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#anime-downloader.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#apache-answer \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#astro-language-server \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#authelia \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#auto-editor \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#autobrr \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#bash-language-server \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#bilibili-tui \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#botamusique \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#bumpp \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#castero \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#castero.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#catt \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#catt.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#cdxgen \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#celluloid \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#changelogen \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#cine \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#clapper \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#clapper-enhancers \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#claude-code-router \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#concurrently \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#conventional-changelog-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#cplay-ng \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#cplay-ng.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#cspell \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#curseradio \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#curseradio.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#delfin \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#dep-scan \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#dep-scan.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#dmlive \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#dra-cla \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#e-search \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#en-croissant \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#equicord \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#fedistar \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#feishin \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ff2mpv \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ff2mpv-go \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#filebrowser \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#folo \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#froide \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#froide-govplan \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#froide-govplan.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#froide.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gale \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gallery-dl \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gallery-dl.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ghostfolio \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gitea \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gitea.data \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gitify \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gitlab-duo \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#goaway \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gonic \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gophertube \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gpodder \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gtk-pipe-viewer \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#gtk-pipe-viewer.devdoc \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#haruna \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#heroic \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#heroic-unwrapped \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#home-assistant-custom-lovelace-modules.custom-sidebar \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#home-assistant-custom-lovelace-modules.kiosk-mode \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#homepage-dashboard \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#homer \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#hydrus \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#hydrus.doc \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#hypnotix \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#immich \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#immich-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#invidtui \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#jellyfin-mpv-shim \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#jellyfin-mpv-shim.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#jellyfin-tui \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#jellytui \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#jftui \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.audiotube \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.audiotube.debug \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.audiotube.dev \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.audiotube.devtools \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.kalarm \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.kalarm.debug \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.kalarm.dev \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.kalarm.devtools \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.plasmatube \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.plasmatube.debug \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.plasmatube.dev \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kdePackages.plasmatube.devtools \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kikoplay \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#klipperscreen \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#kodiPackages.sendtokodi \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#legcord \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#linkwarden \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#linux-wallpaperengine \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#liquidsoap \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#lollypop \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#memento \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#memos \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#metacubexd \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mgrep \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#minitube \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#monophony \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#monophony.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#moodle-dl \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#moodle-dl.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#moonlight \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mov-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mov-cli.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mpc-qt \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mpv \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mpv-handler \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mpvScripts.mpv-playlistmanager \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#mpvpaper \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ni \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#nrm \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#oxfmt \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#paperless-ngx \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#paperless-ngx.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#parabolic \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#parrot \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#pear-desktop \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#peertube \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#peertube.cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#peertube.runner \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#persepolis \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#photoqt \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#picgo \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#pinchflat \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#pipe-viewer \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#pipe-viewer.devdoc \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#pipeline \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#plex-mpv-shim \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#plex-mpv-shim.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#pocket-id \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#podman-desktop \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#postcss \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#previewqt \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#prisma_6 \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#prisma_7 \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.bgutil-ytdlp-pot-provider \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.bgutil-ytdlp-pot-provider.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.django-filingcabinet \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.django-filingcabinet.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.gradio-client \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.gradio-client.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.gradio-pdf \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.gradio-pdf.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.mpv \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.mpv.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.tubeup \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.tubeup.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.yark \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.yark.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.yt-dlp-ejs \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python313Packages.yt-dlp-ejs.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.bgutil-ytdlp-pot-provider \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.bgutil-ytdlp-pot-provider.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.gradio-client \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.gradio-client.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.gradio-pdf \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.gradio-pdf.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.mpv \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.mpv.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.tubeup \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.tubeup.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yark \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yark.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yt-dlp \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yt-dlp-ejs \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yt-dlp-ejs.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yt-dlp-light \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yt-dlp-light.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#python314Packages.yt-dlp.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#qimgv \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#radiance-vj \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#radio-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#radioboat \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#readest \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#renovate \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#satisfactorymodmanager \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#sharedown \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#sharkey \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#shira \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#shira.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#shoko-webui \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#shopify-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#signal-desktop \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#simple-live-app \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#simple-live-app.debug \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#simple-live-app.pubcache \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#slidev-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#somafm-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#splayer \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#spotdl \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#spotdl.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#stoat-desktop \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#sub-store \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#sub-store-frontend \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#subtitleedit \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#svelte-check \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#svelte-language-server \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#switchfin \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#szurubooru.server \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#szurubooru.server.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#tartube-yt-dlp \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#tartube-yt-dlp.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#teleport_17 \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#teleport_17.client \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#tests.home-assistant-component-tests.media_extractor \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#tomato-c \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#tsx \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#tuba \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#turborepo-remote-cache \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#typespec \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#umami \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#varia \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vencord \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vencord-web-extension \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vesktop \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vidcutter \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vidcutter.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#video-downloader \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vikunja \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vikunja-desktop \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vscode-extensions.eamodio.gitlens \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vscode-extensions.kilocode.kilo-code \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vscode-extensions.rooveterinaryinc.roo-cline \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#vue-language-server \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#webcord-vencord \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#woodpecker-server \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#wtwitch \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#yewtube \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#yewtube.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#youtube-tui \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytcc \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytcc.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytdl-sub \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytdl-sub.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytdownloader \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytfzf \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytmdl \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytmdl.dist \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#ytui-music \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#zenn-cli \
  github:NixOS/nixpkgs/76e155c9f99ec7ed80606379f167134284e381ff#zulip

sudo rm -rf "$TEMP_NIX_STORE"

@gepbird can you try again with the latest version of the pr?

Sure! Unfortunately this doesn't cleanly apply as a patch to v0.8.6, so I'm switching the source to this PR. In the process I got runtime errors from the service about xz missing. I see package has changed a bit in nixpkgs, so first I'll update to nixos-unstable and then continue trying your new changes.

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

Labels

bug Something isn't working go Pull requests that update go code size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Network errors with ncps behind nginx

2 participants