Flake speedup#156
Merged
Merged
Conversation
Point packages.sce/.default and apps.sce/.default at the native scePackage for faster development builds, and expose the static-musl release binary as packages.sce-release / apps.sce-release. Retarget the release-artifacts helper to build .#sce-release. On Linux the native and release outputs are now distinct store paths; on Darwin the release output equals the native build. Co-authored-by: SCE <[email protected]>
Move SCE_GIT_COMMIT out of commonCargoArgs into a releaseCommitArgs fragment applied only to the release derivations (scePackageMusl on Linux, a new native-toolchain sceReleasePackageNative on Darwin). Native packages.sce/default and the cli-tests/cli-clippy/cli-fmt checks no longer carry the commit in their inputs, so they stay cache-reusable across commits (native `sce version` reports "unknown"), while .#sce-release still reports the real commit. Reduce cli/build.rs emit_git_commit to emit the rustc-env value only when SCE_GIT_COMMIT is explicitly set, with rerun-if-env-changed as its sole trigger — dropping the git rev-parse fallback, the .git/HEAD and .git/packed-refs rerun watches, and the now-unused std::process::Command import. On Darwin the release derivation now diverges from .#sce (shared deps-only cargoArtifacts, distinct final crate carrying the commit). Co-authored-by: SCE <[email protected]>
Exclude SCE and Turso packages from the default shell to avoid unnecessary builds. Add an opt-in database shell that layers Turso onto shared development tooling. Co-authored-by: SCE <[email protected]>
Reduce generated manifest size while preserving asset hashes, ordering, and rebuild tracking. Co-authored-by: SCE <[email protected]>
Expose the release build and Linux portability audit through packages.ci-checks while keeping expensive validation out of nix flake check. Co-authored-by: SCE <[email protected]>
Co-authored-by: SCE <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.