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

[Sweep GHA Fix] The GitHub Actions run failed with... #60

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Jan 11, 2024

Description

This pull request includes the following changes:

  • Added .github/workflows/frontend.yml file to configure the GitHub Actions workflow for the frontend.
  • Added .github/workflows/main.yml file to configure the GitHub Actions workflow for the main branch.
  • Added .prettierrc.toml file to configure the Prettier formatting options.
  • Updated frontend/app/main.ts to fix the import statement formatting.
  • Updated frontend/index.html to fix the doctype declaration.
  • Updated frontend/package.json to add the format script and the prettier and prettier-plugin-svelte dependencies.
  • Updated frontend/svelte.config.js to fix the import statement formatting.
  • Updated frontend/tsconfig.json to remove the newline at the end of the file.
  • Updated frontend/tsconfig.node.json to remove the newline at the end of the file.
  • Updated frontend/vite.config.ts to fix the import statement formatting.
  • Updated src/logic/main.py to add an execute_pnpm_command function and use it in the collect_results function.
  • Added src/tools/pnpm.py file to implement the execute_pnpm_command function.

Summary

  • Added .github/workflows/frontend.yml to configure frontend GitHub Actions workflow.
  • Added .github/workflows/main.yml to configure main branch GitHub Actions workflow.
  • Added .prettierrc.toml to configure Prettier formatting options.
  • Updated frontend/app/main.ts to fix import statement formatting.
  • Updated frontend/index.html to fix doctype declaration.
  • Updated frontend/package.json to add format script and dependencies.
  • Updated frontend/svelte.config.js to fix import statement formatting.
  • Updated frontend/tsconfig.json to remove newline at end of file.
  • Updated frontend/tsconfig.node.json to remove newline at end of file.
  • Updated frontend/vite.config.ts to fix import statement formatting.
  • Updated src/logic/main.py to add execute_pnpm_command function and use it in collect_results.
  • Added src/tools/pnpm.py to implement execute_pnpm_command function.

Copy link
Contributor Author

sweep-ai bot commented Jan 11, 2024

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run pnpm install
yielded the following error:
##[error]Process completed with exit code 127.

Here are the logs:
/home/runner/work/_temp/47b91483-a746-4fc9-b693-58ee19c0e19f.sh: line 1: pnpm: command not found

Created Pull Request: #63

Copy link
Contributor Author

sweep-ai bot commented Jan 11, 2024

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run pnpm install
yielded the following error:
##[error]Process completed with exit code 127.

Here are the logs:
/home/runner/work/_temp/84a346c8-d032-4ae6-a59a-5b75717f76c9.sh: line 1: pnpm: command not found

Making changes according to plan... (step 3/3)

Copy link
Contributor Author

sweep-ai bot commented Jan 11, 2024

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run pdm run isort . --check --diff
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
ERROR: /home/runner/work/demo/demo/src/logic/main.py Imports are incorrectly sorted and/or formatted.
--- /home/runner/work/demo/demo/src/logic/main.py:before	2024-01-11 18:00:12.528530
+++ /home/runner/work/demo/demo/src/logic/main.py:after	2024-01-11 18:01:02.760729
@@ -11,7 +11,7 @@

from ..templates.schema.output import Output
from ..utils.load import load_template
-from .tools import call_tool, tools, execute_pnpm_command
+from .tools import call_tool, execute_pnpm_command, tools

main = patch.node(Node)(load_template("main"), {"tools": tools})

Skipped 2 files

Making changes according to plan... (step 3/3)

Copy link
Contributor Author

sweep-ai bot commented Jan 11, 2024

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run pdm run isort . --check --diff
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
ERROR: /home/runner/work/demo/demo/src/logic/main.py Imports are incorrectly sorted and/or formatted.
--- /home/runner/work/demo/demo/src/logic/main.py:before	2024-01-11 18:00:35.871048
+++ /home/runner/work/demo/demo/src/logic/main.py:after	2024-01-11 18:01:26.800399
@@ -11,7 +11,7 @@

from ..templates.schema.output import Output
from ..utils.load import load_template
-from .tools import call_tool, tools, execute_pnpm_command
+from .tools import call_tool, execute_pnpm_command, tools

main = patch.node(Node)(load_template("main"), {"tools": tools})

Skipped 2 files

Created Pull Request: #67

@CNSeniorious000 CNSeniorious000 deleted the sweep/sweep_gha_fix_the_github_actions_run_fai_10 branch January 26, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant