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

fix: Fix docker scaffolding greediness. #1092

Merged
merged 2 commits into from
Oct 2, 2023
Merged

Conversation

milesj
Copy link
Collaborator

@milesj milesj commented Oct 2, 2023

Noticed moon docker scaffold was copying stuff like node modules. That's not good.

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Run report for 4fcf4c62 (windows-latest, 20)

Total time: 2m 20s | Comparison time: 6m 35s | Estimated savings: 4m 15s (64.6% faster)

Action Time Status Info
🟩 SetupNodeTool(20.8.0) 18.4s Passed
🟩 SyncNodeProject(types) 668.8ms Passed
🟩 InstallNodeDeps(20.8.0) 1m 33s Passed
🟦 RunTarget(types:build) 1.4s Cached
🟩 SyncNodeProject(runtime) 539.7ms Passed
🟩 SyncNodeProject(website) 1.1s Passed
🟩 SyncNodeProject(report) 1.1s Passed
🟦 RunTarget(runtime:build) 1.5s Cached
🟩 SyncWorkspace 462.4ms Passed
🟦 RunTarget(website:typecheck) 1.1s Cached
🟦 RunTarget(website:test) 1.3s Cached
🟦 RunTarget(website:lint) 1.4s Cached
🟩 RunTarget(website:format) 8.9s Passed
🟦 RunTarget(report:typecheck) 8.9s Cached
🟦 RunTarget(report:test) 1.4s Cached
🟦 RunTarget(report:lint) 1.3s Cached
🟩 RunTarget(report:format) 1.9s Passed
🟦 RunTarget(report:build) 2.4s Cached
🟦 RunTarget(runtime:typecheck) 1.9s Cached
🟦 RunTarget(runtime:test) 1.3s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.3s Cached
🟩 RunTarget(runtime:format) 1.7s Passed
🟦 RunTarget(website:build) 7s Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 20

Variables:

MOON_NODE_VERSION = 20.8.0
Touched files
Cargo.lock
Cargo.toml
crates/cli/src/commands/docker/scaffold.rs
crates/cli/tests/docker_test.rs
packages/cli/CHANGELOG.md

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Run report for 4fcf4c62 (windows-latest, 18)

Total time: 2m 19s | Comparison time: 6m 23s | Estimated savings: 4m 3s (63.6% faster)

Action Time Status Info
🟩 SetupNodeTool(18.18.0) 18.7s Passed
🟩 SyncNodeProject(types) 438.8ms Passed
🟩 InstallNodeDeps(18.18.0) 1m 34s Passed
🟦 RunTarget(types:build) 1.3s Cached
🟩 SyncNodeProject(runtime) 545.6ms Passed
🟩 SyncNodeProject(website) 406ms Passed
🟩 SyncNodeProject(report) 406.2ms Passed
🟦 RunTarget(runtime:build) 934.6ms Cached
🟩 SyncWorkspace 674.6ms Passed
🟦 RunTarget(website:typecheck) 1.3s Cached
🟦 RunTarget(website:test) 1.3s Cached
🟦 RunTarget(website:lint) 1.4s Cached
🟩 RunTarget(website:format) 9.4s Passed
🟦 RunTarget(report:typecheck) 9.4s Cached
🟦 RunTarget(report:test) 1.3s Cached
🟦 RunTarget(report:lint) 1.5s Cached
🟩 RunTarget(report:format) 2.1s Passed
🟦 RunTarget(report:build) 1.9s Cached
🟦 RunTarget(runtime:typecheck) 1.4s Cached
🟦 RunTarget(runtime:test) 1.3s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.4s Cached
🟩 RunTarget(runtime:format) 1.9s Passed
🟦 RunTarget(website:build) 5.9s Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 18

Variables:

MOON_NODE_VERSION = 18.18.0
Touched files
Cargo.lock
Cargo.toml
crates/cli/src/commands/docker/scaffold.rs
crates/cli/tests/docker_test.rs
packages/cli/CHANGELOG.md

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Run report for 4fcf4c62 (ubuntu-latest, 18)

Total time: 2m 2s | Comparison time: 6m 4s | Estimated savings: 4m 2s (66.4% faster)

Action Time Status Info
🟩 SetupNodeTool(18.18.0) 16.8s Passed
🟩 SyncNodeProject(types) 518ms Passed
🟩 InstallNodeDeps(18.18.0) 1m 19s Passed
🟦 RunTarget(types:build) 1.3s Cached
🟩 SyncNodeProject(runtime) 586.5ms Passed
🟩 SyncNodeProject(website) 460.6ms Passed
🟩 SyncNodeProject(report) 468.4ms Passed
🟦 RunTarget(runtime:build) 778.3ms Cached
🟩 SyncWorkspace 479.4ms Passed
🟦 RunTarget(website:typecheck) 1.2s Cached
🟦 RunTarget(website:test) 1.5s Cached
🟦 RunTarget(website:lint) 1.4s Cached
🟩 RunTarget(website:format) 9.7s Passed
🟦 RunTarget(report:typecheck) 9.8s Cached
🟦 RunTarget(report:test) 1.5s Cached
🟦 RunTarget(report:lint) 1.5s Cached
🟩 RunTarget(report:format) 2s Passed
🟦 RunTarget(report:build) 2s Cached
🟦 RunTarget(runtime:typecheck) 1.4s Cached
🟦 RunTarget(runtime:test) 1.4s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.4s Cached
🟩 RunTarget(runtime:format) 1.7s Passed
🟦 RunTarget(website:build) 5s Cached
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 18

Variables:

MOON_NODE_VERSION = 18.18.0
Touched files
Cargo.lock
Cargo.toml
crates/cli/src/commands/docker/scaffold.rs
crates/cli/tests/docker_test.rs
packages/cli/CHANGELOG.md

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Run report for 4fcf4c62 (ubuntu-latest, 20)

Total time: 2m 3s | Comparison time: 6m 10s | Estimated savings: 4m 7s (66.8% faster)

Action Time Status Info
🟩 SetupNodeTool(20.8.0) 16.2s Passed
🟩 SyncNodeProject(types) 497.1ms Passed
🟩 InstallNodeDeps(20.8.0) 1m 20s Passed
🟦 RunTarget(types:build) 1.4s Cached
🟩 SyncNodeProject(runtime) 596.7ms Passed
🟩 SyncNodeProject(website) 556ms Passed
🟩 SyncNodeProject(report) 562.3ms Passed
🟦 RunTarget(runtime:build) 817.6ms Cached
🟩 SyncWorkspace 476.1ms Passed
🟦 RunTarget(website:typecheck) 1.2s Cached
🟦 RunTarget(website:test) 1.5s Cached
🟦 RunTarget(website:lint) 1.5s Cached
🟩 RunTarget(website:format) 9.7s Passed
🟦 RunTarget(report:typecheck) 9.7s Cached
🟦 RunTarget(report:test) 1.5s Cached
🟦 RunTarget(report:lint) 1.5s Cached
🟩 RunTarget(report:format) 2s Passed
🟦 RunTarget(report:build) 2.1s Cached
🟦 RunTarget(runtime:typecheck) 1.5s Cached
🟦 RunTarget(runtime:test) 1.5s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.5s Cached
🟩 RunTarget(runtime:format) 1.8s Passed
🟦 RunTarget(website:build) 5.2s Cached
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 20

Variables:

MOON_NODE_VERSION = 20.8.0
Touched files
Cargo.lock
Cargo.toml
crates/cli/src/commands/docker/scaffold.rs
crates/cli/tests/docker_test.rs
packages/cli/CHANGELOG.md

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Run report for 4fcf4c62 (windows-latest, 16)

Total time: 2m 21s | Comparison time: 6m 27s | Estimated savings: 4m 6s (63.6% faster)

Action Time Status Info
🟩 SetupNodeTool(16.20.2) 17.5s Passed
🟩 SyncNodeProject(types) 292.8ms Passed
🟩 InstallNodeDeps(16.20.2) 1m 37s Passed
🟦 RunTarget(types:build) 1.2s Cached
🟩 SyncNodeProject(runtime) 359.9ms Passed
🟩 SyncNodeProject(website) 322.2ms Passed
🟩 SyncNodeProject(report) 322.4ms Passed
🟦 RunTarget(runtime:build) 853.5ms Cached
🟩 SyncWorkspace 333ms Passed
🟦 RunTarget(website:typecheck) 994.5ms Cached
🟦 RunTarget(website:test) 1.3s Cached
🟦 RunTarget(website:lint) 1.4s Cached
🟩 RunTarget(website:format) 10s Passed
🟦 RunTarget(report:typecheck) 9.9s Cached
🟦 RunTarget(report:test) 1.5s Cached
🟦 RunTarget(report:lint) 1.5s Cached
🟩 RunTarget(report:format) 2s Passed
🟦 RunTarget(report:build) 2s Cached
🟦 RunTarget(runtime:typecheck) 1.5s Cached
🟦 RunTarget(runtime:test) 1.4s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.3s Cached
🟩 RunTarget(runtime:format) 1.7s Passed
🟦 RunTarget(website:build) 6s Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 16

Variables:

MOON_NODE_VERSION = 16.20.2
Touched files
Cargo.lock
Cargo.toml
crates/cli/src/commands/docker/scaffold.rs
crates/cli/tests/docker_test.rs
packages/cli/CHANGELOG.md

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Run report for 4fcf4c62 (ubuntu-latest, 16)

Total time: 2m 19s | Comparison time: 6m 50s | Estimated savings: 4m 30s (65.9% faster)

Action Time Status Info
🟩 SetupNodeTool(16.20.2) 18.5s Passed
🟩 SyncNodeProject(types) 485ms Passed
🟩 InstallNodeDeps(16.20.2) 1m 32s Passed
🟦 RunTarget(types:build) 1.4s Cached
🟩 SyncNodeProject(runtime) 607.4ms Passed
🟩 SyncNodeProject(website) 770.1ms Passed
🟩 SyncNodeProject(report) 527.7ms Passed
🟦 RunTarget(runtime:build) 822.7ms Cached
🟩 SyncWorkspace 504.4ms Passed
🟦 RunTarget(website:typecheck) 1.3s Cached
🟦 RunTarget(website:test) 1.6s Cached
🟦 RunTarget(website:lint) 1.5s Cached
🟩 RunTarget(website:format) 11.4s Passed
🟦 RunTarget(report:typecheck) 11.4s Cached
🟦 RunTarget(report:test) 1.6s Cached
🟦 RunTarget(report:lint) 1.6s Cached
🟩 RunTarget(report:format) 2.3s Passed
🟦 RunTarget(report:build) 2.3s Cached
🟦 RunTarget(runtime:typecheck) 1.6s Cached
🟦 RunTarget(runtime:test) 1.5s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.6s Cached
🟩 RunTarget(runtime:format) 2.1s Passed
🟦 RunTarget(website:build) 5.5s Cached
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 16

Variables:

MOON_NODE_VERSION = 16.20.2
Touched files
Cargo.lock
Cargo.toml
crates/cli/src/commands/docker/scaffold.rs
crates/cli/tests/docker_test.rs
packages/cli/CHANGELOG.md

@milesj milesj merged commit 9440301 into master Oct 2, 2023
25 checks passed
@milesj milesj deleted the fix-docker-scaffold-greedy branch October 2, 2023 06:32
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