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: Add moon action-graph command. #1101

Merged
merged 6 commits into from
Oct 7, 2023
Merged

new: Add moon action-graph command. #1101

merged 6 commits into from
Oct 7, 2023

Conversation

milesj
Copy link
Collaborator

@milesj milesj commented Oct 7, 2023

Replaces moon dep-graph.

@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Run report for db22b5b1 (ubuntu-latest, 16)

Total time: 5m 23s | Comparison time: 9m 57s | Estimated savings: 4m 33s (45.9% faster)

Action Time Status Info
🟩 SetupNodeTool(16.20.2) 17.6s Passed
🟩 SyncNodeProject(types) 478.9ms Passed
🟩 InstallNodeDeps(16.20.2) 1m 29s Passed
🟦 RunTarget(types:build) 1.5s Cached
🟩 SyncNodeProject(runtime) 734.6ms Passed
🟩 SyncNodeProject(website) 475.9ms Passed
🟩 SyncNodeProject(report) 485.1ms Passed
🟦 RunTarget(runtime:build) 659.3ms Cached
🟩 SyncWorkspace 487.4ms Passed
🟩 RunTarget(website:typecheck) 10.7s Passed
🟦 RunTarget(website:test) 10.3s Cached
🟩 RunTarget(website:lint) 24.7s Passed
🟩 RunTarget(website:format) 10.1s Passed
🟦 RunTarget(report:typecheck) 15s Cached
🟦 RunTarget(report:test) 905ms Cached
🟦 RunTarget(report:lint) 1.3s Cached
🟩 RunTarget(report:format) 2.1s Passed
🟦 RunTarget(report:build) 2.1s Cached
🟦 RunTarget(runtime:typecheck) 1.3s Cached
🟦 RunTarget(runtime:test) 1.3s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.2s Cached
🟩 RunTarget(runtime:format) 1.7s Passed
🟩 RunTarget(website:build) 2m 52s Passed SLOW
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 16

Variables:

MOON_NODE_VERSION = 16.20.2
Touched files
.github/workflows/benchmark.yml
crates/cli/src/app.rs
crates/cli/src/commands/graph/action.rs
crates/cli/src/commands/graph/dep.rs
crates/cli/src/commands/graph/mod.rs
crates/cli/src/commands/graph/utils.rs
crates/cli/src/lib.rs
crates/cli/tests/action_graph_test.rs
crates/cli/tests/dep_graph_test.rs
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_target.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__outputs_json.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_target.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__outputs_json.snap
website/blog/2022-12-19_v0.21.mdx
website/docs/commands/action-graph.mdx
website/docs/commands/dep-graph.mdx
website/docusaurus.config.js
website/sidebars.js

@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Run report for db22b5b1 (windows-latest, 16)

Total time: 2m 22s | Comparison time: 6m 21s | Estimated savings: 3m 58s (62.6% faster)

Action Time Status Info
🟩 SetupNodeTool(16.20.2) 18.4s Passed
🟩 SyncNodeProject(types) 269.2ms Passed
🟩 InstallNodeDeps(16.20.2) 1m 38s Passed
🟦 RunTarget(types:build) 1.3s Cached
🟩 SyncNodeProject(runtime) 339.9ms Passed
🟩 SyncNodeProject(website) 417ms Passed
🟩 SyncNodeProject(report) 271.3ms Passed
🟦 RunTarget(runtime:build) 825.5ms Cached
🟩 SyncWorkspace 292.1ms Passed
🟦 RunTarget(website:typecheck) 1s Cached
🟦 RunTarget(website:test) 1.4s Cached
🟦 RunTarget(website:lint) 1.5s Cached
🟩 RunTarget(website:format) 9.7s Passed
🟦 RunTarget(report:typecheck) 9.5s Cached
🟦 RunTarget(report:test) 1.2s Cached
🟦 RunTarget(report:lint) 1.3s Cached
🟩 RunTarget(report:format) 1.9s Passed
🟦 RunTarget(report:build) 1.9s 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.6s Passed
🟦 RunTarget(website:build) 5.7s Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 16

Variables:

MOON_NODE_VERSION = 16.20.2
Touched files
.github/workflows/benchmark.yml
crates/cli/src/app.rs
crates/cli/src/commands/graph/action.rs
crates/cli/src/commands/graph/dep.rs
crates/cli/src/commands/graph/mod.rs
crates/cli/src/commands/graph/utils.rs
crates/cli/src/lib.rs
crates/cli/tests/action_graph_test.rs
crates/cli/tests/dep_graph_test.rs
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_target.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__outputs_json.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_target.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__outputs_json.snap
website/blog/2022-12-19_v0.21.mdx
website/docs/commands/action-graph.mdx
website/docs/commands/dep-graph.mdx
website/docusaurus.config.js
website/sidebars.js

@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Run report for 102f9422 (ubuntu-latest, 20)

Total time: 6m 1s | Comparison time: 10m 56s | Estimated savings: 4m 55s (44.9% faster)

Action Time Status Info
🟩 SetupNodeTool(20.8.0) 21.2s Passed
🟩 SyncNodeProject(types) 550.9ms Passed
🟩 InstallNodeDeps(20.8.0) 1m 44s Passed
🟦 RunTarget(types:build) 1.5s Cached
🟩 SyncNodeProject(runtime) 660ms Passed
🟩 SyncNodeProject(website) 688.9ms Passed
🟩 SyncNodeProject(report) 696.7ms Passed
🟦 RunTarget(runtime:build) 887.6ms Cached
🟩 SyncWorkspace 552ms Passed
🟩 RunTarget(website:typecheck) 10.6s Passed
🟦 RunTarget(website:test) 10.3s Cached
🟩 RunTarget(website:lint) 26.8s Passed
🟩 RunTarget(website:format) 11.4s Passed
🟦 RunTarget(report:typecheck) 15.9s Cached
🟦 RunTarget(report:test) 1.1s Cached
🟦 RunTarget(report:lint) 1.6s Cached
🟩 RunTarget(report:format) 2.4s Passed
🟦 RunTarget(report:build) 2.4s Cached
🟦 RunTarget(runtime:typecheck) 1.6s Cached
🟦 RunTarget(runtime:test) 1.6s Cached
And 3 more...
Expanded report
Action Time Status Info
🟦 RunTarget(runtime:lint) 1.5s Cached
🟩 RunTarget(runtime:format) 1.9s Passed
🟩 RunTarget(website:build) 3m 7s Passed SLOW
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 20

Variables:

MOON_NODE_VERSION = 20.8.0
Touched files
.github/workflows/benchmark.yml
crates/cli/src/app.rs
crates/cli/src/commands/graph/action.rs
crates/cli/src/commands/graph/dep.rs
crates/cli/src/commands/graph/mod.rs
crates/cli/src/commands/graph/utils.rs
crates/cli/src/lib.rs
crates/cli/tests/action_graph_test.rs
crates/cli/tests/dep_graph_test.rs
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_target.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__outputs_json.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_target.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__outputs_json.snap
website/blog/2022-12-19_v0.21.mdx
website/docs/commands/action-graph.mdx
website/docs/commands/dep-graph.mdx
website/docusaurus.config.js
website/sidebars.js

@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Run report for 102f9422 (ubuntu-latest, 18)

Total time: 6m 6s | Comparison time: 11m 5s | Estimated savings: 4m 59s (44.9% faster)

Action Time Status Info
🟩 SetupNodeTool(18.18.0) 19.7s Passed
🟩 SyncNodeProject(types) 400.8ms Passed
🟩 InstallNodeDeps(18.18.0) 1m 45s Passed
🟦 RunTarget(types:build) 1.4s Cached
🟩 SyncNodeProject(runtime) 463.6ms Passed
🟩 SyncNodeProject(website) 399.3ms Passed
🟩 SyncNodeProject(report) 407.7ms Passed
🟦 RunTarget(runtime:build) 1.1s Cached
🟩 SyncWorkspace 438.5ms Passed
🟩 RunTarget(website:typecheck) 10.4s Passed
🟦 RunTarget(website:test) 10.3s Cached
🟩 RunTarget(website:lint) 27.3s Passed
🟩 RunTarget(website:format) 11.9s Passed
🟦 RunTarget(report:typecheck) 15.9s Cached
🟦 RunTarget(report:test) 1s Cached
🟦 RunTarget(report:lint) 1.6s Cached
🟩 RunTarget(report:format) 2.3s Passed
🟦 RunTarget(report:build) 2.5s Cached
🟦 RunTarget(runtime:typecheck) 1.9s Cached
🟦 RunTarget(runtime:test) 1.6s 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) 3m 12s Passed SLOW
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 18

Variables:

MOON_NODE_VERSION = 18.18.0
Touched files
.github/workflows/benchmark.yml
crates/cli/src/app.rs
crates/cli/src/commands/graph/action.rs
crates/cli/src/commands/graph/dep.rs
crates/cli/src/commands/graph/mod.rs
crates/cli/src/commands/graph/utils.rs
crates/cli/src/lib.rs
crates/cli/tests/action_graph_test.rs
crates/cli/tests/dep_graph_test.rs
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_target.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__outputs_json.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_target.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__outputs_json.snap
website/blog/2022-12-19_v0.21.mdx
website/docs/commands/action-graph.mdx
website/docs/commands/dep-graph.mdx
website/docusaurus.config.js
website/sidebars.js

@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Run report for 102f9422 (windows-latest, 18)

Total time: 4m 43s | Comparison time: 7m 42s | Estimated savings: 2m 59s (38.8% faster)

Action Time Status Info
🟩 SetupNodeTool(18.18.0) 20.6s Passed
🟩 SyncNodeProject(types) 321.2ms Passed
🟩 InstallNodeDeps(18.18.0) 1m 37s Passed
🟦 RunTarget(types:build) 1.4s Cached
🟩 SyncNodeProject(runtime) 489.6ms Passed
🟩 SyncNodeProject(website) 332.9ms Passed
🟩 SyncNodeProject(report) 333.1ms Passed
🟦 RunTarget(runtime:build) 860.2ms Cached
🟩 SyncWorkspace 321.8ms Passed
🟦 RunTarget(website:typecheck) 999ms Cached
🟦 RunTarget(website:test) 1.4s Cached
🟦 RunTarget(website:lint) 1.4s Cached
🟩 RunTarget(website:format) 9.6s Passed
🟦 RunTarget(report:typecheck) 9.7s Cached
🟦 RunTarget(report:test) 1.5s Cached
🟦 RunTarget(report:lint) 1.4s 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.6s Passed
🟩 RunTarget(website:build) 2m 24s Passed SLOW
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 18

Variables:

MOON_NODE_VERSION = 18.18.0
Touched files
.github/workflows/benchmark.yml
crates/cli/src/app.rs
crates/cli/src/commands/graph/action.rs
crates/cli/src/commands/graph/dep.rs
crates/cli/src/commands/graph/mod.rs
crates/cli/src/commands/graph/utils.rs
crates/cli/src/lib.rs
crates/cli/tests/action_graph_test.rs
crates/cli/tests/dep_graph_test.rs
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_target.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__outputs_json.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_target.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__outputs_json.snap
website/blog/2022-12-19_v0.21.mdx
website/docs/commands/action-graph.mdx
website/docs/commands/dep-graph.mdx
website/docusaurus.config.js
website/sidebars.js

@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Run report for db22b5b1 (windows-latest, 20)

Total time: 2m 24s | Comparison time: 6m 19s | Estimated savings: 3m 54s (61.9% faster)

Action Time Status Info
🟩 SetupNodeTool(20.8.0) 21.5s Passed
🟩 SyncNodeProject(types) 315.3ms Passed
🟩 InstallNodeDeps(20.8.0) 1m 37s Passed
🟦 RunTarget(types:build) 1.2s Cached
🟩 SyncNodeProject(runtime) 1.2s Passed
🟩 SyncNodeProject(website) 298.9ms Passed
🟩 SyncNodeProject(report) 299.2ms Passed
🟦 RunTarget(runtime:build) 836.8ms Cached
🟩 SyncWorkspace 309ms Passed
🟦 RunTarget(website:typecheck) 948.5ms Cached
🟦 RunTarget(website:test) 1.3s Cached
🟦 RunTarget(website:lint) 1.4s Cached
🟩 RunTarget(website:format) 8.8s Passed
🟦 RunTarget(report:typecheck) 8.7s Cached
🟦 RunTarget(report:test) 1.3s Cached
🟦 RunTarget(report:lint) 1.4s Cached
🟩 RunTarget(report:format) 1.8s Passed
🟦 RunTarget(report:build) 1.7s Cached
🟦 RunTarget(runtime:typecheck) 1.2s 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.5s Passed
🟦 RunTarget(website:build) 6.8s Cached
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 20

Variables:

MOON_NODE_VERSION = 20.8.0
Touched files
.github/workflows/benchmark.yml
crates/cli/src/app.rs
crates/cli/src/commands/graph/action.rs
crates/cli/src/commands/graph/dep.rs
crates/cli/src/commands/graph/mod.rs
crates/cli/src/commands/graph/utils.rs
crates/cli/src/lib.rs
crates/cli/tests/action_graph_test.rs
crates/cli/tests/dep_graph_test.rs
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_target.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/action_graph_test__action_graph__outputs_json.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__can_focus_using_an_alias.snap
crates/cli/tests/snapshots/dep_graph_test__aliases__resolves_aliases_in_task_deps.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_target.snap
crates/cli/tests/snapshots/dep_graph_test__focused_by_task_in_cwd.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependencies_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__includes_dependents_when_focused.snap
crates/cli/tests/snapshots/dep_graph_test__outputs_json.snap
website/blog/2022-12-19_v0.21.mdx
website/docs/commands/action-graph.mdx
website/docs/commands/dep-graph.mdx
website/docusaurus.config.js
website/sidebars.js

@milesj milesj merged commit 0babec4 into develop-1.15 Oct 7, 2023
25 checks passed
@milesj milesj deleted the 1.15-ag-command branch October 7, 2023 01:28
milesj added a commit that referenced this pull request Oct 9, 2023
* Add action.

* Update app.

* Update tests.

* Update docs.

* Polish.

* Polish.
milesj added a commit that referenced this pull request Oct 9, 2023
* Add action.

* Update app.

* Update tests.

* Update docs.

* Polish.

* Polish.
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