Significant-Gravitas / AutoGPT-Code-Ability

🖥️ AutoGPT's Coding Ability - empowering everyone to build software using AI
MIT License
100 stars 26 forks source link

Getting started with access control #252

Closed ntindle closed 2 months ago

linear[bot] commented 3 months ago

AGPT-481

codiumai-pr-agent-pro[bot] commented 3 months ago

CI Failure Feedback

(Checks updated until commit https://github.com/Significant-Gravitas/codex/commit/a47576e03ae1b7844b2ad530522fe4689eb9f410)

**Action:** code-quality
**Failed stage:** [Run ruff formatter](https://github.com/Significant-Gravitas/codex/actions/runs/8842419958/job/24281035048) [❌]
**Failure summary:** The action failed due to code formatting issues. Specifically, the file ai_endpoint.py in the
directory codex/requirements/blocks was not formatted according to the project's style guidelines.
The formatting tool attempted to reformat this file, which led to a non-zero exit code (1),
indicating failure.
Relevant error logs: ```yaml 1: ##[group]Operating System 2: Ubuntu ... 474: PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig 475: Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64 476: Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64 477: Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64 478: LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib 479: ##[endgroup] 480: Would reformat: codex/requirements/blocks/ai_endpoint.py 481: 1 file would be reformatted, 71 files already formatted 482: ##[error]Process completed with exit code 1. ```

✨ CI feedback usage guide:
The CI feedback tool (`/checks)` automatically triggers when a PR has a failed check. The tool analyzes the failed checks and provides several feedbacks: - Failed stage - Failed test name - Failure summary - Relevant error logs In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR: ``` /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}" ``` where `{repo_name}` is the name of the repository, `{run_number}` is the run number of the failed check, and `{job_number}` is the job number of the failed check. #### Configuration options - `enable_auto_checks_feedback` - if set to true, the tool will automatically provide feedback when a check is failed. Default is true. - `excluded_checks_list` - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list. - `enable_help_text` - if set to true, the tool will provide a help message with the feedback. Default is true. - `persistent_comment` - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true. - `final_update_message` - if `persistent_comment` is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true. See more information about the `checks` tool in the [docs](https://pr-agent-docs.codium.ai/tools/ci_feedback/).