Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new: Enable more remote caching features. #1774

Merged
merged 8 commits into from
Jan 3, 2025
Merged

new: Enable more remote caching features. #1774

merged 8 commits into from
Jan 3, 2025

Conversation

milesj
Copy link
Collaborator

@milesj milesj commented Jan 2, 2025

No description provided.

Copy link

github-actions bot commented Jan 2, 2025

Run report for 9675b744 (ubuntu-latest, 22)

Total time: 1m 17s | Comparison time: 4m 21s | Estimated savings: 3m 3s (70.2% faster)

Action Time Status Info
🟩 SyncWorkspace 28.5ms Passed
🟩 SetupToolchain(node:~22) 25.1s Passed
🟩 SyncProject(node, types) 3.8ms Passed
🟩 SyncProject(node, visualizer) 4.4ms Passed
🟩 SyncProject(node, report) 3.1ms Passed
🟩 SyncProject(node, runtime) 5ms Passed
🟩 SyncProject(node, nx-compat) 6.7ms Passed
🟩 SyncProject(node, website) 4.6ms Passed
🟩 InstallWorkspaceDeps(node:~22) 40.2s Passed
🟦 RunTask(types:typecheck) 695.1ms Cached
🟦 RunTask(visualizer:typecheck) 969.5ms Cached
🟦 RunTask(types:build) 1.1s Cached
🟦 RunTask(visualizer:build) 1.4s Cached
🟦 RunTask(types:lint) 945.4ms Cached
🟦 RunTask(types:test) 605ms Cached
🟩 RunTask(types:format) 1s Passed
🟩 RunTask(visualizer:format) 938.2ms Passed
🟦 RunTask(visualizer:lint) 613.6ms Cached
🟦 RunTask(visualizer:test) 544.5ms Cached
🟦 RunTask(report:typecheck) 552.4ms Cached
And 19 more...
Expanded report
Action Time Status Info
🟦 RunTask(nx-compat:build) 536.2ms Cached
🟦 RunTask(runtime:build) 637.3ms Cached
🟦 RunTask(report:build) 648.9ms Cached
🟩 RunTask(report:format) 855.6ms Passed
🟦 RunTask(runtime:typecheck) 587ms Cached
🟩 RunTask(nx-compat:format) 947.1ms Passed
🟩 RunTask(runtime:format) 649ms Passed
🟦 RunTask(runtime:test) 535.7ms Cached
🟦 RunTask(report:test) 725.7ms Cached
🟦 RunTask(nx-compat:typecheck) 733.9ms Cached
🟦 RunTask(nx-compat:lint) 587.1ms Cached
🟦 RunTask(runtime:lint) 698.2ms Cached
🟦 RunTask(report:lint) 589.8ms Cached
🟦 RunTask(nx-compat:test) 590.9ms Cached
🟦 RunTask(website:test) 597.5ms Cached
🟦 RunTask(website:typecheck) 642ms Cached
🟦 RunTask(website:lint) 916.5ms Cached
🟦 RunTask(website:build) 5.5s Cached
🟩 RunTask(website:format) 7.5s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 22
Touched files
.moon/workspace.yml
CHANGELOG.md
Cargo.lock
Cargo.toml
crates/config/src/workspace/remote_config.rs
crates/remote/Cargo.toml
crates/remote/src/compression.rs
crates/remote/src/fs_digest.rs
crates/remote/src/grpc_remote_client.rs
crates/remote/src/http_endpoints.rs
crates/remote/src/http_remote_client.rs
crates/remote/src/lib.rs
crates/remote/src/remote_error.rs
crates/remote/src/remote_service.rs
packages/types/src/project-config.ts
packages/types/src/workspace-config.ts
website/docs/config/workspace.mdx
website/docs/guides/remote-cache.mdx
website/static/schemas/workspace.json

Copy link

github-actions bot commented Jan 2, 2025

Run report for 9675b744 (ubuntu-latest, 20)

Total time: 1m 17s | Comparison time: 3m 50s | Estimated savings: 2m 32s (66.3% faster)

Action Time Status Info
🟩 SyncWorkspace 32.8ms Passed
🟩 SetupToolchain(node:~20) 22.6s Passed
🟩 SyncProject(node, types) 3.7ms Passed
🟩 SyncProject(node, visualizer) 4.3ms Passed
🟩 SyncProject(node, report) 4.9ms Passed
🟩 SyncProject(node, nx-compat) 4.2ms Passed
🟩 SyncProject(node, runtime) 6.9ms Passed
🟩 SyncProject(node, website) 2.7ms Passed
🟩 InstallWorkspaceDeps(node:~20) 42.5s Passed
🟦 RunTask(types:lint) 687.2ms Cached
🟦 RunTask(visualizer:typecheck) 881.7ms Cached
🟦 RunTask(types:build) 982.8ms Cached
🟦 RunTask(visualizer:build) 1.1s Cached
🟦 RunTask(types:typecheck) 656.2ms Cached
🟦 RunTask(types:test) 624.2ms Cached
🟩 RunTask(visualizer:format) 816.1ms Passed
🟦 RunTask(visualizer:lint) 474.7ms Cached
🟦 RunTask(visualizer:test) 469ms Cached
🟩 RunTask(types:format) 1.2s Passed
🟦 RunTask(report:typecheck) 614.2ms Cached
And 19 more...
Expanded report
Action Time Status Info
🟦 RunTask(nx-compat:build) 508.7ms Cached
🟦 RunTask(runtime:build) 472.7ms Cached
🟦 RunTask(report:build) 488.3ms Cached
🟦 RunTask(runtime:typecheck) 457.2ms Cached
🟩 RunTask(nx-compat:format) 976.1ms Passed
🟩 RunTask(report:format) 1s Passed
🟦 RunTask(runtime:test) 468.9ms Cached
🟩 RunTask(runtime:format) 744.3ms Passed
🟦 RunTask(report:test) 428.9ms Cached
🟦 RunTask(nx-compat:lint) 407.5ms Cached
🟦 RunTask(nx-compat:typecheck) 589.3ms Cached
🟦 RunTask(runtime:lint) 485.3ms Cached
🟦 RunTask(nx-compat:test) 493.4ms Cached
🟦 RunTask(report:lint) 496.4ms Cached
🟦 RunTask(website:typecheck) 764.6ms Cached
🟦 RunTask(website:lint) 509.9ms Cached
🟦 RunTask(website:test) 720.9ms Cached
🟦 RunTask(website:build) 4.3s Cached
🟩 RunTask(website:format) 7.8s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 20
Touched files
.moon/workspace.yml
CHANGELOG.md
Cargo.lock
Cargo.toml
crates/config/src/workspace/remote_config.rs
crates/remote/Cargo.toml
crates/remote/src/compression.rs
crates/remote/src/fs_digest.rs
crates/remote/src/grpc_remote_client.rs
crates/remote/src/http_endpoints.rs
crates/remote/src/http_remote_client.rs
crates/remote/src/lib.rs
crates/remote/src/remote_error.rs
crates/remote/src/remote_service.rs
packages/types/src/project-config.ts
packages/types/src/workspace-config.ts
website/docs/config/workspace.mdx
website/docs/guides/remote-cache.mdx
website/static/schemas/workspace.json

Copy link

github-actions bot commented Jan 2, 2025

Run report for 9675b744 (ubuntu-latest, 18)

Total time: 1m 19s | Comparison time: 3m 58s | Estimated savings: 2m 39s (66.6% faster)

Action Time Status Info
🟩 SyncWorkspace 28.4ms Passed
🟩 SetupToolchain(node:~18) 22.7s Passed
🟩 SyncProject(node, visualizer) 3.5ms Passed
🟩 SyncProject(node, types) 4.6ms Passed
🟩 SyncProject(node, runtime) 3.1ms Passed
🟩 SyncProject(node, nx-compat) 3.4ms Passed
🟩 SyncProject(node, report) 6.5ms Passed
🟩 SyncProject(node, website) 5ms Passed
🟩 InstallWorkspaceDeps(node:~18) 43.6s Passed
🟦 RunTask(types:build) 770ms Cached
🟦 RunTask(visualizer:typecheck) 985ms Cached
🟦 RunTask(types:test) 989.1ms Cached
🟦 RunTask(visualizer:build) 1.3s Cached
🟦 RunTask(visualizer:lint) 497.2ms Cached
🟦 RunTask(visualizer:test) 565.3ms Cached
🟩 RunTask(types:format) 1s Passed
🟦 RunTask(types:typecheck) 500.8ms Cached
🟦 RunTask(types:lint) 522.5ms Cached
🟦 RunTask(report:typecheck) 465.2ms Cached
🟩 RunTask(visualizer:format) 908.4ms Passed
And 19 more...
Expanded report
Action Time Status Info
🟦 RunTask(nx-compat:build) 495.1ms Cached
🟦 RunTask(runtime:build) 488.2ms Cached
🟩 RunTask(nx-compat:format) 979.3ms Passed
🟦 RunTask(report:build) 494.9ms Cached
🟦 RunTask(report:lint) 420.7ms Cached
🟦 RunTask(runtime:typecheck) 621.8ms Cached
🟩 RunTask(report:format) 955.3ms Passed
🟦 RunTask(runtime:test) 457.5ms Cached
🟩 RunTask(runtime:format) 755.4ms Passed
🟦 RunTask(report:test) 460.5ms Cached
🟦 RunTask(runtime:lint) 414.3ms Cached
🟦 RunTask(nx-compat:typecheck) 625ms Cached
🟦 RunTask(nx-compat:lint) 581.2ms Cached
🟦 RunTask(nx-compat:test) 456.2ms Cached
🟦 RunTask(website:test) 812.8ms Cached
🟦 RunTask(website:lint) 804.8ms Cached
🟦 RunTask(website:typecheck) 807.4ms Cached
🟦 RunTask(website:build) 4.5s Cached
🟩 RunTask(website:format) 8.7s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 18
Touched files
.moon/workspace.yml
CHANGELOG.md
Cargo.lock
Cargo.toml
crates/config/src/workspace/remote_config.rs
crates/remote/Cargo.toml
crates/remote/src/compression.rs
crates/remote/src/fs_digest.rs
crates/remote/src/grpc_remote_client.rs
crates/remote/src/http_endpoints.rs
crates/remote/src/http_remote_client.rs
crates/remote/src/lib.rs
crates/remote/src/remote_error.rs
crates/remote/src/remote_service.rs
packages/types/src/project-config.ts
packages/types/src/workspace-config.ts
website/docs/config/workspace.mdx
website/docs/guides/remote-cache.mdx
website/static/schemas/workspace.json

Copy link

github-actions bot commented Jan 2, 2025

Run report for 9675b744 (windows-latest, 18)

Total time: 1m 50s | Comparison time: 6m 13s | Estimated savings: 4m 22s (70.4% faster)

Action Time Status Info
🟩 SyncWorkspace 31.9ms Passed
🟩 SetupToolchain(node:~18) 28.5s Passed
🟩 SyncProject(node, visualizer) 5.7ms Passed
🟩 SyncProject(node, types) 6.1ms Passed
🟩 SyncProject(node, report) 5.5ms Passed
🟩 SyncProject(node, runtime) 5.8ms Passed
🟩 SyncProject(node, nx-compat) 6.3ms Passed
🟩 SyncProject(node, website) 3.9ms Passed
🟩 InstallWorkspaceDeps(node:~18) 1m 4s Passed
🟦 RunTask(visualizer:build) 1.2s Cached
🟦 RunTask(visualizer:typecheck) 1.6s Cached
🟦 RunTask(types:test) 1.6s Cached
🟦 RunTask(types:build) 1.7s Cached
🟦 RunTask(types:typecheck) 810.5ms Cached
🟦 RunTask(visualizer:lint) 709.1ms Cached
🟦 RunTask(types:lint) 835.2ms Cached
🟦 RunTask(report:typecheck) 641.6ms Cached
🟩 RunTask(visualizer:format) 1.6s Passed
🟦 RunTask(visualizer:test) 1s Cached
🟩 RunTask(types:format) 1.8s Passed
And 19 more...
Expanded report
Action Time Status Info
🟦 RunTask(nx-compat:build) 757.9ms Cached
🟦 RunTask(runtime:build) 1s Cached
🟦 RunTask(report:build) 832.5ms Cached
🟦 RunTask(runtime:typecheck) 645.7ms Cached
🟦 RunTask(runtime:test) 618.7ms Cached
🟩 RunTask(nx-compat:format) 1.9s Passed
🟩 RunTask(report:format) 2s Passed
🟩 RunTask(runtime:format) 1.7s Passed
🟦 RunTask(report:test) 732.4ms Cached
🟦 RunTask(nx-compat:typecheck) 829.8ms Cached
🟦 RunTask(runtime:lint) 782.3ms Cached
🟦 RunTask(nx-compat:lint) 602.6ms Cached
🟦 RunTask(nx-compat:test) 716.7ms Cached
🟦 RunTask(report:lint) 706.7ms Cached
🟦 RunTask(website:lint) 1s Cached
🟦 RunTask(website:typecheck) 1s Cached
🟦 RunTask(website:build) 5.6s Cached
🟦 RunTask(website:test) 5s Cached
🟩 RunTask(website:format) 10.5s Passed
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 18
Touched files
.moon/workspace.yml
CHANGELOG.md
Cargo.lock
Cargo.toml
crates/config/src/workspace/remote_config.rs
crates/remote/Cargo.toml
crates/remote/src/compression.rs
crates/remote/src/fs_digest.rs
crates/remote/src/grpc_remote_client.rs
crates/remote/src/http_endpoints.rs
crates/remote/src/http_remote_client.rs
crates/remote/src/lib.rs
crates/remote/src/remote_error.rs
crates/remote/src/remote_service.rs
packages/types/src/project-config.ts
packages/types/src/workspace-config.ts
website/docs/config/workspace.mdx
website/docs/guides/remote-cache.mdx
website/static/schemas/workspace.json

Copy link

github-actions bot commented Jan 2, 2025

Run report for 9675b744 (windows-latest, 22)

Total time: 1m 57s | Comparison time: 5m 35s | Estimated savings: 3m 37s (65.0% faster)

Action Time Status Info
🟩 SyncWorkspace 33.9ms Passed
🟩 SetupToolchain(node:~22) 33.7s Passed
🟩 SyncProject(node, visualizer) 5.4ms Passed
🟩 SyncProject(node, types) 6.1ms Passed
🟩 SyncProject(node, report) 4.9ms Passed
🟩 SyncProject(node, runtime) 5.9ms Passed
🟩 SyncProject(node, nx-compat) 6.4ms Passed
🟩 SyncProject(node, website) 4.7ms Passed
🟩 InstallWorkspaceDeps(node:~22) 1m 5s Passed
🟦 RunTask(types:build) 874ms Cached
🟦 RunTask(types:lint) 984.3ms Cached
🟦 RunTask(visualizer:build) 1.1s Cached
🟦 RunTask(visualizer:typecheck) 414ms Cached
🟦 RunTask(types:test) 446.4ms Cached
🟦 RunTask(visualizer:lint) 368.7ms Cached
🟩 RunTask(visualizer:format) 1.9s Passed
🟦 RunTask(visualizer:test) 561.2ms Cached
🟦 RunTask(types:typecheck) 476.9ms Cached
🟦 RunTask(report:typecheck) 513.3ms Cached
🟦 RunTask(nx-compat:build) 575.6ms Cached
And 19 more...
Expanded report
Action Time Status Info
🟦 RunTask(runtime:build) 585.5ms Cached
🟦 RunTask(report:build) 410.6ms Cached
🟩 RunTask(types:format) 1.8s Passed
🟦 RunTask(runtime:typecheck) 548.8ms Cached
🟦 RunTask(runtime:test) 420.7ms Cached
🟦 RunTask(report:test) 419.1ms Cached
🟦 RunTask(nx-compat:typecheck) 420.5ms Cached
🟦 RunTask(runtime:lint) 549.3ms Cached
🟩 RunTask(nx-compat:format) 2.1s Passed
🟩 RunTask(report:format) 2.2s Passed
🟩 RunTask(runtime:format) 1.9s Passed
🟦 RunTask(nx-compat:lint) 426.5ms Cached
🟦 RunTask(report:lint) 384.3ms Cached
🟦 RunTask(nx-compat:test) 496.3ms Cached
🟦 RunTask(website:build) 3.8s Cached
🟦 RunTask(website:lint) 3.5s Cached
🟦 RunTask(website:typecheck) 3.7s Cached
🟦 RunTask(website:test) 3.8s Cached
🟩 RunTask(website:format) 9.6s Passed
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 22
Touched files
.moon/workspace.yml
CHANGELOG.md
Cargo.lock
Cargo.toml
crates/config/src/workspace/remote_config.rs
crates/remote/Cargo.toml
crates/remote/src/compression.rs
crates/remote/src/fs_digest.rs
crates/remote/src/grpc_remote_client.rs
crates/remote/src/http_endpoints.rs
crates/remote/src/http_remote_client.rs
crates/remote/src/lib.rs
crates/remote/src/remote_error.rs
crates/remote/src/remote_service.rs
packages/types/src/project-config.ts
packages/types/src/workspace-config.ts
website/docs/config/workspace.mdx
website/docs/guides/remote-cache.mdx
website/static/schemas/workspace.json

Copy link

github-actions bot commented Jan 2, 2025

Run report for 9675b744 (windows-latest, 20)

Total time: 1m 48s | Comparison time: 6m 10s | Estimated savings: 4m 22s (70.8% faster)

Action Time Status Info
🟩 SyncWorkspace 31.9ms Passed
🟩 SetupToolchain(node:~20) 28.1s Passed
🟩 SyncProject(node, visualizer) 5.5ms Passed
🟩 SyncProject(node, types) 6ms Passed
🟩 SyncProject(node, runtime) 4.6ms Passed
🟩 SyncProject(node, report) 5.9ms Passed
🟩 SyncProject(node, website) 4.5ms Passed
🟩 SyncProject(node, nx-compat) 10.7ms Passed
🟩 InstallWorkspaceDeps(node:~20) 1m 1s Passed
🟦 RunTask(types:lint) 905.2ms Cached
🟦 RunTask(visualizer:build) 1.3s Cached
🟦 RunTask(types:test) 789.6ms Cached
🟦 RunTask(visualizer:typecheck) 1.7s Cached
🟦 RunTask(types:build) 1.8s Cached
🟦 RunTask(types:typecheck) 816.4ms Cached
🟦 RunTask(visualizer:lint) 793.1ms Cached
🟦 RunTask(visualizer:test) 717.8ms Cached
🟦 RunTask(report:typecheck) 732.5ms Cached
🟩 RunTask(visualizer:format) 1.9s Passed
🟦 RunTask(nx-compat:build) 789.8ms Cached
And 19 more...
Expanded report
Action Time Status Info
🟩 RunTask(types:format) 1.9s Passed
🟦 RunTask(runtime:build) 814.2ms Cached
🟦 RunTask(report:build) 847ms Cached
🟦 RunTask(runtime:typecheck) 737.8ms Cached
🟦 RunTask(runtime:test) 650.4ms Cached
🟩 RunTask(report:format) 2s Passed
🟩 RunTask(nx-compat:format) 2s Passed
🟦 RunTask(report:test) 615.8ms Cached
🟩 RunTask(runtime:format) 1.7s Passed
🟦 RunTask(runtime:lint) 736.2ms Cached
🟦 RunTask(nx-compat:typecheck) 793ms Cached
🟦 RunTask(nx-compat:lint) 721.4ms Cached
🟦 RunTask(nx-compat:test) 640.8ms Cached
🟦 RunTask(report:lint) 1.1s Cached
🟦 RunTask(website:test) 1.1s Cached
🟦 RunTask(website:typecheck) 1.1s Cached
🟦 RunTask(website:build) 5.8s Cached
🟦 RunTask(website:lint) 5s Cached
🟩 RunTask(website:format) 10.1s Passed
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 20
Touched files
.moon/workspace.yml
CHANGELOG.md
Cargo.lock
Cargo.toml
crates/config/src/workspace/remote_config.rs
crates/remote/Cargo.toml
crates/remote/src/compression.rs
crates/remote/src/fs_digest.rs
crates/remote/src/grpc_remote_client.rs
crates/remote/src/http_endpoints.rs
crates/remote/src/http_remote_client.rs
crates/remote/src/lib.rs
crates/remote/src/remote_error.rs
crates/remote/src/remote_service.rs
packages/types/src/project-config.ts
packages/types/src/workspace-config.ts
website/docs/config/workspace.mdx
website/docs/guides/remote-cache.mdx
website/static/schemas/workspace.json

@milesj milesj merged commit 57829fc into develop-1.31 Jan 3, 2025
26 of 27 checks passed
@milesj milesj deleted the 1.31-remote branch January 3, 2025 20:54
milesj added a commit that referenced this pull request Jan 6, 2025
* Update deps.

* Use symlinks.

* Add compression setting.

* Add compression.

* Add decompression.

* Start on http.

* Polish.

* Move error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant