mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
triage: make agent failures non-fatal; capture agent_rc; disable git prompts (no push/pull)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: 🎁 Feature Request
|
||||
description: Propose a new feature for Codex
|
||||
description: Propose a new feature for Code
|
||||
labels:
|
||||
- enhancement
|
||||
- needs triage
|
||||
@@ -7,25 +7,15 @@ body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Is Codex missing a feature that you'd like to see? Feel free to propose it here.
|
||||
Is Code missing a feature that you'd like to see? Feel free to propose it here.
|
||||
|
||||
Before you submit a feature:
|
||||
1. Search existing issues for similar features. If you find one, 👍 it rather than opening a new one.
|
||||
2. The Codex team will try to balance the varying needs of the community when prioritizing or rejecting new features. Not all features will be accepted. See [Contributing](https://github.com/openai/codex#contributing) for more details.
|
||||
2. Please be aware that this feature may be automatically implemented through our Issue Triage - if this happens you will receive a reply to this issue with information on how to run it. We'd really appreciate any feedback on the implementation as it helps us improve the feature for everyone!
|
||||
|
||||
- type: textarea
|
||||
id: feature
|
||||
attributes:
|
||||
label: What feature would you like to see?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: author
|
||||
attributes:
|
||||
label: Are you interested in implementing this feature?
|
||||
description: Please wait for acknowledgement before implementing or opening a PR.
|
||||
- type: textarea
|
||||
id: notes
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: Is there anything else you think we should know?
|
||||
required: true
|
||||
@@ -1,50 +0,0 @@
|
||||
name: 🧑💻 VS Code Extension
|
||||
description: Report an issue with the VS Code extension
|
||||
labels:
|
||||
- extension
|
||||
- needs triage
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Before submitting a new issue, please search for existing issues to see if your issue has already been reported.
|
||||
If it has, please add a 👍 reaction (no need to leave a comment) to the existing issue instead of creating a new one.
|
||||
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: What version of the VS Code extension are you using?
|
||||
- type: input
|
||||
id: ide
|
||||
attributes:
|
||||
label: Which IDE are you using?
|
||||
description: Like `VS Code`, `Cursor`, `Windsurf`, etc.
|
||||
- type: input
|
||||
id: platform
|
||||
attributes:
|
||||
label: What platform is your computer?
|
||||
description: |
|
||||
For MacOS and Linux: copy the output of `uname -mprs`
|
||||
For Windows: copy the output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in the PowerShell console
|
||||
- type: textarea
|
||||
id: steps
|
||||
attributes:
|
||||
label: What steps can reproduce the bug?
|
||||
description: Explain the bug and provide a code snippet that can reproduce it.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: What is the expected behavior?
|
||||
description: If possible, please provide text instead of a screenshot.
|
||||
- type: textarea
|
||||
id: actual
|
||||
attributes:
|
||||
label: What do you see instead?
|
||||
description: If possible, please provide text instead of a screenshot.
|
||||
- type: textarea
|
||||
id: notes
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: Is there anything else you think we should know?
|
||||
@@ -517,6 +517,7 @@ jobs:
|
||||
- name: Run Code agent to implement or respond
|
||||
timeout-minutes: 20
|
||||
if: steps.gate.outputs.allow_agent == 'true'
|
||||
id: run_agent
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
@@ -573,6 +574,8 @@ jobs:
|
||||
esac
|
||||
echo "Agent mode: $AGENT_MODE -> sandbox: $CODE_SANDBOX"
|
||||
|
||||
set +e
|
||||
set +o pipefail
|
||||
printf '%s' "$PROMPT" | env -i PATH="$SAFE_PATH" HOME="$SAFE_HOME" \
|
||||
OPENAI_API_KEY="x" \
|
||||
OPENAI_BASE_URL="http://127.0.0.1:5055/v1" \
|
||||
@@ -581,6 +584,8 @@ jobs:
|
||||
CARGO_TARGET_DIR="$GITHUB_WORKSPACE/codex-rs/target" \
|
||||
STRICT_CARGO_HOME="1" \
|
||||
CARGO_HOME_ENFORCED="$GITHUB_WORKSPACE/.cargo-home" \
|
||||
GIT_TERMINAL_PROMPT="0" \
|
||||
GIT_ASKPASS="/bin/false" \
|
||||
npm_config_cache="$SAFE_HOME/.npm" \
|
||||
npx -y @just-every/code@latest \
|
||||
exec \
|
||||
@@ -589,6 +594,10 @@ jobs:
|
||||
--cd "$GITHUB_WORKSPACE" \
|
||||
--skip-git-repo-check \
|
||||
- | tee .github/auto/AGENT_STDOUT.txt
|
||||
AGENT_RC=${PIPESTATUS[1]}
|
||||
set -e
|
||||
set -o pipefail
|
||||
echo "agent_rc=$AGENT_RC" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Extract agent comment (comment mode)
|
||||
if: steps.gate.outputs.agent_mode == 'comment'
|
||||
|
||||
Reference in New Issue
Block a user