fix: disable incremental compilation for sccache cache consistency #26

Open
thesuperRL wants to merge 2 commits from sccache-devenv-consistency into main
Owner
No description provided.
fix: disable incremental compilation for sccache cache consistency
Some checks failed
kennel/build build succeeded
kennel/deploy deployment healthy
CI / build (pull_request) Successful in 6m20s
CI / check-1 (pull_request) Failing after 21m3s
CI / check (pull_request) Failing after 0s
6fa4b7b560

Kennel Deployments

Service URL
docs https://kennel-docs-pr-26.scottylabs.net

Last updated for commit ab83408.

<!-- kennel-deployment --> ### Kennel Deployments | Service | URL | | --- | --- | | docs | https://kennel-docs-pr-26.scottylabs.net | Last updated for commit `ab83408`.
anish requested changes 2026-09-01 16:56:36 +00:00
Dismissed
@ -58,7 +58,7 @@ in
packages = [ pkgs.sccache ] ++ cfg.nativeBuildInputs;
env = {
CARGO_PROFILE_DEV_DEBUG = "0";
Owner

disabling incremental makes sense, but does that require turning on debug or something?? disabling debug is here as a performance optimization, it makes local compilation faster

disabling incremental makes sense, but does that require turning on debug or something?? disabling debug is here as a performance optimization, it makes local compilation faster
thesuperRL marked this conversation as resolved
fix: restore CARGO_PROFILE_DEV_DEBUG after incremental flag
Some checks failed
kennel/build build succeeded
kennel/deploy deployment healthy
CI / build (pull_request) Successful in 3m26s
CI / check-1 (pull_request) Failing after 17m27s
CI / check (pull_request) Failing after 0s
ab83408646
anish approved these changes 2026-09-01 19:06:46 +00:00
@ -58,6 +58,7 @@ in
packages = [ pkgs.sccache ] ++ cfg.nativeBuildInputs;
env = {
CARGO_INCREMENTAL = "0"; # sccache requires incremental compilation to be off
Owner

actually now im wondering if we should even disable incremental, it'll make local compilation a lot slower

actually now im wondering if we should even disable incremental, it'll make local compilation a lot slower
Some checks failed
kennel/build build succeeded
kennel/deploy deployment healthy
CI / build (pull_request) Successful in 3m26s
CI / check-1 (pull_request) Failing after 17m27s
CI / check (pull_request) Failing after 0s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin sccache-devenv-consistency:sccache-devenv-consistency
git switch sccache-devenv-consistency

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff sccache-devenv-consistency
git switch sccache-devenv-consistency
git rebase main
git switch main
git merge --ff-only sccache-devenv-consistency
git switch sccache-devenv-consistency
git rebase main
git switch main
git merge --no-ff sccache-devenv-consistency
git switch main
git merge --squash sccache-devenv-consistency
git switch main
git merge --ff-only sccache-devenv-consistency
git switch main
git merge sccache-devenv-consistency
git push origin main
Sign in to join this conversation.
No description provided.