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: Allow actions to be skipped using env vars. #1105

Merged
merged 3 commits into from
Oct 8, 2023

Conversation

milesj
Copy link
Collaborator

@milesj milesj commented Oct 8, 2023

Only for non-task actions.

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Run report for d048e3d1 (ubuntu-latest, 16)

Total time: 10m 42s | Comparison time: 15m 35s | Estimated savings: 4m 53s (31.3% faster)

Action Time Status Info
🟩 SyncWorkspace 221.8ms Passed
🟩 SetupNodeTool(16.20.2) 6m 13s Passed SLOW
🟩 InstallNodeDeps(16.20.2) 1m 21s Passed
🟩 SyncNodeProject(types) 554.8ms Passed
🟩 SyncNodeProject(runtime) 1.3s Passed
🟦 RunTask(types:build) 1.3s Cached
🟩 SyncNodeProject(report) 704.5ms Passed
🟩 RunTask(types:format) 1.6s Passed
🟩 SyncNodeProject(website) 1.1s Passed
🟦 RunTask(runtime:build) 1.1s Cached
🟩 RunTask(runtime:format) 2m 13s Passed SLOW
🟩 RunTask(website:build) 2m 13s Passed SLOW
🟩 RunTask(website:format) 8.8s Passed
🟦 RunTask(website:lint) 1.2s Cached
🟦 RunTask(website:test) 8.6s Cached
🟩 RunTask(website:typecheck) 8.4s Passed
🟦 RunTask(runtime:lint) 2.1s Cached
🟩 RunTask(runtime:test) 1.8s Passed
🟦 RunTask(runtime:typecheck) 5.2s Cached
🟩 RunTask(report:build) 4.9s Passed
And 7 more...
Expanded report
Action Time Status Info
🟩 RunTask(report:format) 8.5s Passed
🟩 RunTask(report:lint) 7.8s Passed
🟦 RunTask(report:test) 4.4s Cached
🟩 RunTask(report:typecheck) 4.2s Passed
🟩 RunTask(types:lint) 8s Passed
🟩 RunTask(types:test) 1.9s Passed
🟩 RunTask(types:typecheck) 3.1s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 16

Variables:

MOON_NODE_VERSION = 16.20.2
Touched files
.yarn/versions/22a0caa2.yml
crates/cli/tests/snapshots/run_node_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_rust_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_system_test__unix__inherits_moon_env_vars.snap
crates/core/action-pipeline/src/actions/install_deps.rs
crates/core/action-pipeline/src/actions/mod.rs
crates/core/action-pipeline/src/actions/run_target.rs
crates/core/action-pipeline/src/actions/run_task.rs
crates/core/action-pipeline/src/actions/setup_tool.rs
crates/core/action-pipeline/src/actions/sync_project.rs
crates/core/action-pipeline/src/actions/sync_workspace.rs
crates/core/action-pipeline/src/processor.rs
crates/node/platform/src/actions/run_target.rs
nextgen/action-graph/src/action_node.rs
nextgen/platform-runtime/src/lib.rs
packages/types/src/common.ts
packages/types/src/pipeline.ts
website/src/utils/renderGraph.ts

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Run report for d048e3d1 (ubuntu-latest, 20)

Total time: 10m 54s | Comparison time: 13m 21s | Estimated savings: 2m 27s (18.3% faster)

Action Time Status Info
🟩 SyncWorkspace 312ms Passed
🟩 SetupNodeTool(20.8.0) 6m 4s Passed SLOW
🟩 InstallNodeDeps(20.8.0) 1m 19s Passed
🟩 SyncNodeProject(types) 625.4ms Passed
🟩 SyncNodeProject(runtime) 641.7ms Passed
🟩 SyncNodeProject(report) 648.7ms Passed
🟩 RunTask(types:build) 5.6s Passed
🟩 RunTask(types:format) 2.7s Passed
🟩 SyncNodeProject(website) 817.8ms Passed
🟩 RunTask(runtime:build) 4.6s Passed
🟩 RunTask(runtime:format) 2m 12s Passed SLOW
🟩 RunTask(website:build) 2m 12s Passed SLOW
🟩 RunTask(website:format) 19.4s Passed
🟩 RunTask(website:lint) 11.6s Passed
🟩 RunTask(website:test) 8.5s Passed
🟩 RunTask(website:typecheck) 7.6s Passed
🟩 RunTask(runtime:lint) 7.7s Passed
🟩 RunTask(runtime:test) 1.8s Passed
🟩 RunTask(runtime:typecheck) 7.3s Passed
🟩 RunTask(report:build) 4.8s Passed
And 7 more...
Expanded report
Action Time Status Info
🟩 RunTask(report:format) 8.2s Passed
🟩 RunTask(report:lint) 7.5s Passed
🟦 RunTask(report:test) 4.2s Cached
🟩 RunTask(report:typecheck) 3.9s Passed
🟩 RunTask(types:lint) 7.5s Passed
🟩 RunTask(types:test) 2s Passed
🟩 RunTask(types:typecheck) 3s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 20

Variables:

MOON_NODE_VERSION = 20.8.0
Touched files
.yarn/versions/22a0caa2.yml
crates/cli/tests/snapshots/run_node_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_rust_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_system_test__unix__inherits_moon_env_vars.snap
crates/core/action-pipeline/src/actions/install_deps.rs
crates/core/action-pipeline/src/actions/mod.rs
crates/core/action-pipeline/src/actions/run_target.rs
crates/core/action-pipeline/src/actions/run_task.rs
crates/core/action-pipeline/src/actions/setup_tool.rs
crates/core/action-pipeline/src/actions/sync_project.rs
crates/core/action-pipeline/src/actions/sync_workspace.rs
crates/core/action-pipeline/src/processor.rs
crates/node/platform/src/actions/run_target.rs
nextgen/action-graph/src/action_node.rs
nextgen/platform-runtime/src/lib.rs
packages/types/src/common.ts
packages/types/src/pipeline.ts
website/src/utils/renderGraph.ts

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Run report for d048e3d1 (windows-latest, 16)

Total time: 6m 9s | Comparison time: 7m 32s | Estimated savings: 1m 22s (18.3% faster)

Action Time Status Info
🟩 SyncWorkspace 177ms Passed
🟩 SetupNodeTool(16.20.2) 19.7s Passed
🟩 InstallNodeDeps(16.20.2) 1m 39s Passed
🟩 SyncNodeProject(types) 321.6ms Passed
🟩 RunTask(types:build) 6.4s Passed
🟩 SyncNodeProject(runtime) 808.3ms Passed
🟩 SyncNodeProject(website) 284.6ms Passed
🟩 SyncNodeProject(report) 284.9ms Passed
🟩 RunTask(runtime:build) 6.3s Passed
🟩 RunTask(runtime:format) 7s Passed
🟩 RunTask(website:build) 2m 44s Passed SLOW
🟩 RunTask(website:format) 10.1s Passed
🟩 RunTask(website:lint) 17.3s Passed
🟩 RunTask(website:test) 1.9s Passed
🟩 RunTask(website:typecheck) 19.6s Passed
🟩 RunTask(runtime:lint) 10.3s Passed
🟦 RunTask(runtime:test) 4.2s Cached
🟩 RunTask(runtime:typecheck) 3.8s Passed
🟦 RunTask(report:build) 2.4s Cached
🟩 RunTask(report:format) 1.7s Passed
And 7 more...
Expanded report
Action Time Status Info
🟩 RunTask(report:lint) 13.5s Passed
🟩 RunTask(report:test) 4.1s Passed
🟦 RunTask(report:typecheck) 2.3s Cached
🟩 RunTask(types:format) 1.6s Passed
🟩 RunTask(types:lint) 10.9s Passed
🟦 RunTask(types:test) 903.4ms Cached
🟦 RunTask(types:typecheck) 1.6s Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 16

Variables:

MOON_NODE_VERSION = 16.20.2
Touched files
.yarn/versions/22a0caa2.yml
crates/cli/tests/snapshots/run_node_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_rust_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_system_test__unix__inherits_moon_env_vars.snap
crates/core/action-pipeline/src/actions/install_deps.rs
crates/core/action-pipeline/src/actions/mod.rs
crates/core/action-pipeline/src/actions/run_target.rs
crates/core/action-pipeline/src/actions/run_task.rs
crates/core/action-pipeline/src/actions/setup_tool.rs
crates/core/action-pipeline/src/actions/sync_project.rs
crates/core/action-pipeline/src/actions/sync_workspace.rs
crates/core/action-pipeline/src/processor.rs
crates/node/platform/src/actions/run_target.rs
nextgen/action-graph/src/action_node.rs
nextgen/platform-runtime/src/lib.rs
packages/types/src/common.ts
packages/types/src/pipeline.ts
website/src/utils/renderGraph.ts

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Run report for d048e3d1 (windows-latest, 20)

Total time: 5m 10s | Comparison time: 8m 19s | Estimated savings: 3m 9s (37.8% faster)

Action Time Status Info
🟩 SyncWorkspace 134.6ms Passed
🟩 SetupNodeTool(20.8.0) 26.4s Passed
🟩 InstallNodeDeps(20.8.0) 1m 34s Passed
🟩 SyncNodeProject(types) 280.6ms Passed
🟦 RunTask(types:build) 1.2s Cached
🟩 SyncNodeProject(runtime) 320.3ms Passed
🟩 SyncNodeProject(website) 325.6ms Passed
🟩 SyncNodeProject(report) 325.8ms Passed
🟦 RunTask(runtime:build) 1.5s Cached
🟩 RunTask(runtime:format) 2.3s Passed
🟩 RunTask(website:build) 2m 23s Passed SLOW
🟩 RunTask(website:format) 8.4s Passed
🟦 RunTask(website:lint) 1.6s Cached
🟦 RunTask(website:test) 867.9ms Cached
🟦 RunTask(website:typecheck) 9.6s Cached
🟩 RunTask(runtime:lint) 9.2s Passed
🟦 RunTask(runtime:test) 4s Cached
🟩 RunTask(runtime:typecheck) 3.7s Passed
🟦 RunTask(report:build) 2s Cached
🟩 RunTask(report:format) 1.4s Passed
And 7 more...
Expanded report
Action Time Status Info
🟩 RunTask(report:lint) 11.5s Passed
🟩 RunTask(report:test) 3.1s Passed
🟦 RunTask(report:typecheck) 2s Cached
🟩 RunTask(types:format) 1.4s Passed
🟩 RunTask(types:lint) 9.7s Passed
🟦 RunTask(types:test) 835.4ms Cached
🟦 RunTask(types:typecheck) 1.6s Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 20

Variables:

MOON_NODE_VERSION = 20.8.0
Touched files
.yarn/versions/22a0caa2.yml
crates/cli/tests/snapshots/run_node_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_rust_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_system_test__unix__inherits_moon_env_vars.snap
crates/core/action-pipeline/src/actions/install_deps.rs
crates/core/action-pipeline/src/actions/mod.rs
crates/core/action-pipeline/src/actions/run_target.rs
crates/core/action-pipeline/src/actions/run_task.rs
crates/core/action-pipeline/src/actions/setup_tool.rs
crates/core/action-pipeline/src/actions/sync_project.rs
crates/core/action-pipeline/src/actions/sync_workspace.rs
crates/core/action-pipeline/src/processor.rs
crates/node/platform/src/actions/run_target.rs
nextgen/action-graph/src/action_node.rs
nextgen/platform-runtime/src/lib.rs
packages/types/src/common.ts
packages/types/src/pipeline.ts
website/src/utils/renderGraph.ts

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Run report for d048e3d1 (ubuntu-latest, 18)

Total time: 10m 31s | Comparison time: 12m 41s | Estimated savings: 2m 9s (17.0% faster)

Action Time Status Info
🟩 SyncWorkspace 289.3ms Passed
🟩 SetupNodeTool(18.18.0) 5m 12s Passed SLOW
🟩 InstallNodeDeps(18.18.0) 1m 20s Passed
🟩 SyncNodeProject(types) 569.6ms Passed
🟩 SyncNodeProject(runtime) 676.1ms Passed
🟩 SyncNodeProject(report) 687.3ms Passed
🟩 RunTask(types:build) 5.8s Passed
🟩 SyncNodeProject(website) 1.1s Passed
🟩 RunTask(types:format) 2.6s Passed
🟩 RunTask(runtime:build) 5.6s Passed
🟩 RunTask(runtime:format) 2m 30s Passed SLOW
🟩 RunTask(website:build) 2m 29s Passed SLOW
🟩 RunTask(website:format) 22.7s Passed
🟩 RunTask(website:lint) 13.6s Passed
🟩 RunTask(website:test) 9.7s Passed
🟩 RunTask(website:typecheck) 8.7s Passed
🟩 RunTask(runtime:lint) 8.9s Passed
🟩 RunTask(runtime:test) 2.1s Passed
🟩 RunTask(runtime:typecheck) 8.2s Passed
🟩 RunTask(report:build) 5.5s Passed
And 7 more...
Expanded report
Action Time Status Info
🟩 RunTask(report:format) 8.9s Passed
🟩 RunTask(report:lint) 8.1s Passed
🟩 RunTask(report:test) 6.2s Passed
🟩 RunTask(report:typecheck) 4.1s Passed
🟩 RunTask(types:lint) 8.5s Passed
🟩 RunTask(types:test) 2.1s Passed
🟩 RunTask(types:typecheck) 3.2s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 18

Variables:

MOON_NODE_VERSION = 18.18.0
Touched files
.yarn/versions/22a0caa2.yml
crates/cli/tests/snapshots/run_node_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_rust_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_system_test__unix__inherits_moon_env_vars.snap
crates/core/action-pipeline/src/actions/install_deps.rs
crates/core/action-pipeline/src/actions/mod.rs
crates/core/action-pipeline/src/actions/run_target.rs
crates/core/action-pipeline/src/actions/run_task.rs
crates/core/action-pipeline/src/actions/setup_tool.rs
crates/core/action-pipeline/src/actions/sync_project.rs
crates/core/action-pipeline/src/actions/sync_workspace.rs
crates/core/action-pipeline/src/processor.rs
crates/node/platform/src/actions/run_target.rs
nextgen/action-graph/src/action_node.rs
nextgen/platform-runtime/src/lib.rs
packages/types/src/common.ts
packages/types/src/pipeline.ts
website/src/utils/renderGraph.ts

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Run report for d048e3d1 (windows-latest, 18)

Total time: 11m 39s | Comparison time: 16m 14s | Estimated savings: 4m 34s (28.2% faster)

Action Time Status Info
🟩 SyncWorkspace 141.8ms Passed
🟩 SetupNodeTool(18.18.0) 9m 32s Passed SLOW
🟩 InstallNodeDeps(18.18.0) 1m 35s Passed
🟩 SyncNodeProject(types) 355ms Passed
🟦 RunTask(types:build) 1.2s Cached
🟩 SyncNodeProject(runtime) 382.4ms Passed
🟩 SyncNodeProject(website) 293.6ms Passed
🟩 SyncNodeProject(report) 290.8ms Passed
🟦 RunTask(runtime:build) 1.9s Cached
🟩 RunTask(runtime:format) 1.2s Passed
🟦 RunTask(runtime:lint) 1.5s Cached
🟦 RunTask(runtime:test) 887.9ms Cached
🟦 RunTask(website:build) 14.7s Cached
🟩 RunTask(website:format) 9s Passed
🟦 RunTask(website:lint) 869.3ms Cached
🟦 RunTask(website:test) 1.5s Cached
🟦 RunTask(website:typecheck) 1.5s Cached
🟦 RunTask(runtime:typecheck) 853.7ms Cached
🟦 RunTask(report:build) 2s Cached
🟩 RunTask(report:format) 1.4s Passed
And 7 more...
Expanded report
Action Time Status Info
🟦 RunTask(report:lint) 1.6s Cached
🟦 RunTask(report:test) 1s Cached
🟦 RunTask(report:typecheck) 2.1s Cached
🟩 RunTask(types:format) 1.5s Passed
🟦 RunTask(types:lint) 1.5s Cached
🟦 RunTask(types:test) 842.1ms Cached
🟦 RunTask(types:typecheck) 730.7ms Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 18

Variables:

MOON_NODE_VERSION = 18.18.0
Touched files
.yarn/versions/22a0caa2.yml
crates/cli/tests/snapshots/run_node_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_rust_test__inherits_moon_env_vars.snap
crates/cli/tests/snapshots/run_system_test__unix__inherits_moon_env_vars.snap
crates/core/action-pipeline/src/actions/install_deps.rs
crates/core/action-pipeline/src/actions/mod.rs
crates/core/action-pipeline/src/actions/run_target.rs
crates/core/action-pipeline/src/actions/run_task.rs
crates/core/action-pipeline/src/actions/setup_tool.rs
crates/core/action-pipeline/src/actions/sync_project.rs
crates/core/action-pipeline/src/actions/sync_workspace.rs
crates/core/action-pipeline/src/processor.rs
crates/node/platform/src/actions/run_target.rs
nextgen/action-graph/src/action_node.rs
nextgen/platform-runtime/src/lib.rs
packages/types/src/common.ts
packages/types/src/pipeline.ts
website/src/utils/renderGraph.ts

@milesj milesj merged commit ccb5491 into develop-1.15 Oct 8, 2023
25 checks passed
@milesj milesj deleted the 1.15-skip-action branch October 8, 2023 22:52
milesj added a commit that referenced this pull request Oct 9, 2023
* Start on.

* Update tests.

* Update types.
milesj added a commit that referenced this pull request Oct 9, 2023
* Start on.

* Update tests.

* Update types.
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