Significant-Gravitas / AutoGPT-Code-Ability

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

delete dev #247

Closed ntindle closed 4 months ago

ntindle commented 4 months ago

Type

enhancement


Description



PR-Agent usage: Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

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

PR Description updated to latest commit (https://github.com/Significant-Gravitas/codex/commit/069f4f81b01b14179c0dfa458853334ffc4bf551)

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

Questions to better understand the PR: 1) Was the functionality provided by develop.py replaced or relocated to another module in the system? 2) Are there any dependencies or external modules that might be affected by the removal of develop.py? 3) Can you describe the impact of removing the develop.py module on the overall project architecture or workflow?

Please respond to the questions above in the following format:

/answer 1) ... 2) ... ...

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

PR Code Suggestions

No code suggestions found for PR.

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

Changelog updates:

2024-04-25

Removed

to commit the new content to the CHANGELOG.md file, please type: '/update_changelog --pr_update_changelog.push_changelog_changes=true'

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

CI Failure Feedback

**Action:** test
**Failed stage:** [Test with pytest](https://github.com/Significant-Gravitas/codex/actions/runs/8832521525/job/24249996336) [❌]
**Failure summary:** The action failed due to multiple ModuleNotFoundError exceptions during the test collection phase.
Specifically, the module codex.develop.develop could not be found, which is required in several
files (codex/develop/agent.py). This issue occurred in three test files: api_test.py, gen_test.py,
and model_test.py, preventing these tests from executing.
Relevant error logs: ```yaml 1: ##[group]Operating System 2: Ubuntu ... 475: * [new branch] review-test-sp -> origin/review-test-sp 476: * [new branch] reviewer-test -> origin/reviewer-test 477: * [new branch] swiftyos/agpt-388-database-schema-update-for-consistent-db-integration-between -> origin/swiftyos/agpt-388-database-schema-update-for-consistent-db-integration-between 478: * [new branch] swiftyos/agpt-463-add-static-code-analysis-of-generated-code -> origin/swiftyos/agpt-463-add-static-code-analysis-of-generated-code 479: * [new branch] swiftyos/agpt-474-update-benchmark-command-to-run-end-to-end -> origin/swiftyos/agpt-474-update-benchmark-command-to-run-end-to-end 480: * [new branch] swiftyos/agpt-510-exploring-the-database-for-a-run -> origin/swiftyos/agpt-510-exploring-the-database-for-a-run 481: * [new branch] swiftyos/agpt-641-improved-interview-process-generated-code-now-more -> origin/swiftyos/agpt-641-improved-interview-process-generated-code-now-more 482: * [new branch] swiftyos/agpt-648-store-all-the-interview-requirement-objects -> origin/swiftyos/agpt-648-store-all-the-interview-requirement-objects 483: * [new branch] swiftyos/agpt-707-log-functions-as-failed-when-they-fail -> origin/swiftyos/agpt-707-log-functions-as-failed-when-they-fail ... 575: env: 576: pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x64 577: ##[endgroup] 578: ============================= test session starts ============================== 579: platform linux -- Python 3.11.9, pytest-7.4.4, pluggy-1.5.0 580: rootdir: /home/runner/work/codex/codex 581: plugins: anyio-4.3.0, asyncio-0.23.6, integration-0.2.3, cov-4.1.0 582: asyncio: mode=Mode.STRICT 583: collected 45 items / 3 errors 584: ==================================== ERRORS ==================================== 585: ___________________ ERROR collecting codex/tests/api_test.py ___________________ 586: ImportError while importing test module '/home/runner/work/codex/codex/codex/tests/api_test.py'. ... 591: codex/tests/api_test.py:7: in 592: from codex import app 593: codex/app.py:15: in 594: from codex.develop.routes import delivery_router 595: codex/develop/routes.py:8: in 596: import codex.develop.agent as architect_agent 597: codex/develop/agent.py:30: in 598: from codex.develop.develop import DevelopAIBlock 599: E ModuleNotFoundError: No module named 'codex.develop.develop' 600: ___________________ ERROR collecting codex/tests/gen_test.py ___________________ 601: ImportError while importing test module '/home/runner/work/codex/codex/codex/tests/gen_test.py'. ... 606: codex/tests/gen_test.py:6: in 607: from codex.app import db_client 608: codex/app.py:15: in 609: from codex.develop.routes import delivery_router 610: codex/develop/routes.py:8: in 611: import codex.develop.agent as architect_agent 612: codex/develop/agent.py:30: in 613: from codex.develop.develop import DevelopAIBlock 614: E ModuleNotFoundError: No module named 'codex.develop.develop' 615: __________________ ERROR collecting codex/tests/model_test.py __________________ 616: ImportError while importing test module '/home/runner/work/codex/codex/codex/tests/model_test.py'. ... 621: codex/tests/model_test.py:4: in 622: from codex.app import db_client 623: codex/app.py:15: in 624: from codex.develop.routes import delivery_router 625: codex/develop/routes.py:8: in 626: import codex.develop.agent as architect_agent 627: codex/develop/agent.py:30: in 628: from codex.develop.develop import DevelopAIBlock 629: E ModuleNotFoundError: No module named 'codex.develop.develop' 630: =============================== warnings summary =============================== 631: ../../../.cache/pypoetry/virtualenvs/codex-ORswSzyp-py3.11/lib/python3.11/site-packages/fuzzywuzzy/fuzz.py:11 632: /home/runner/.cache/pypoetry/virtualenvs/codex-ORswSzyp-py3.11/lib/python3.11/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning 633: warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning') 634: codex/common/parse_prisma.py:31 635: /home/runner/work/codex/codex/codex/common/parse_prisma.py:31: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.7/migration/ 636: @validator("provider") 637: codex/common/parse_prisma.py:44 638: /home/runner/work/codex/codex/codex/common/parse_prisma.py:44: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.7/migration/ ... 711: codex/tests/exec_external_tool_test.py 49 34 31% 712: codex/tests/gen_test.py 117 113 3% 713: codex/tests/model_test.py 24 21 12% 714: codex/tests/prisma_parse_test.py 178 164 8% 715: codex/tests/type_parsing_test.py 14 8 43% 716: ------------------------------------------------------------------- 717: TOTAL 4182 3121 25% 718: =========================== short test summary info ============================ 719: ERROR codex/tests/api_test.py 720: ERROR codex/tests/gen_test.py 721: ERROR codex/tests/model_test.py 722: !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! 723: ======================== 9 warnings, 3 errors in 6.15s ========================= 724: ##[error]Process completed with exit code 2. ```

✨ 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/).