Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[aw] Prompt Optimization reported incomplete result

Đang mở
#309 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, github-actions, javascript

Hướng nghiên cứu

Start with .github/workflows/prompt-optimization.md and the agentic-workflows skill, then inspect scripts/prompt-optimizer.mjs and the failed run logs. Trace how the Ollama evaluation server is restored, served, and exposed to the agent container. Done means the workflow can reach the configured models and complete the prompt-optimization evaluation on a rerun.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

agentic-workflows
Workflow Failure

Workflow: Prompt Optimization
Branch: main
Run: https://github.com/githubnext/gh-aw-wizard/actions/runs/37157539293

[!WARNING]
Task Could Not Be Completed: The agent reported that the task could not be performed due to an infrastructure or tool failure.

Reasons:

  • Ollama eval server at (127.0.0.1/redacted) (host-reflected via --enable-host-access --allow-host-ports 11434) is unreachable from the agent sandbox, so no scenario-prompt evaluation or hill-climbing could be run.

    No open PR titled "Prompt optimization:" exists (guard check via gh pr list confirmed only #304, unrelated), so the task proceeded to the hill-climbing loop.

Connectivity diagnosis:

  • curl (127.0.0.1/redacted) and /v1/models`: connection refused.
  • No ollama process, no ~/.ollama cache directory, and no .ollama/GGUF blob files found anywhere on the filesystem searchable from this sandbox — the model-restore/serve steps appear to have run in the GitHub Actions host context, not inside this agent container.
  • Tried all plausible host-access paths: host.docker.internal (DNS SERVFAIL via the container's embedded resolver 127.0.0.11), Docker bridge gateway candidates 172.30.0.1 and 172.17.0.1 (connection refused/timeout), direct squid-proxy CONNECT tunnel to 172.17.0.1:11434 (squid reported "Connection to 172.17.0.1 failed... Connection refused"), squid HTTP-proxy to 172.17.0.1:11434 (403 Access Denied — not in squid's allowlist), and the api-proxy container IP on ports 3128/8080/8000 (connection refused).
  • /etc/hosts inside the agent container only lists the firewall sidecar containers (squid-proxy, api-proxy, cli-proxy, awmg-mcpg/cli-proxy) — no host-gateway entry is present despite the docker-compose audit file showing extra_hosts: host.docker.internal: host-gateway on the squid-proxy and cli-proxy services (not on the agent service itself).
  • No sudo/root capability available to inspect iptables NAT rules or network namespaces further (blocked by no-new-privileges, and inspecting such internals is disallowed by policy regardless).

Net effect: scripts/prompt-optimizer.mjs --evaluate --all-models --eval-url (127.0.0.1/redacted) ... cannot reach either the Qwen2.5-1.5B or SmolLM2-360M proxy model, so no incumbent score, candidate, or hill-climbing step could be measured. No repository files were changed (a pre-existing unrelated modification to .github/skills/optimize-scenario-prompt/SKILL.md was reverted). No PR, review comment, or review was created.

This is a structured incompletion signal (report_incomplete), not a real task outcome. Any other safe outputs emitted alongside this signal (e.g., comments) describe the failure state, not a completed review or action.

Action Required

Assign this issue to an agent to debug and fix the issue.

Debug with any coding agent

Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):

Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/githubnext/gh-aw-wizard/actions/runs/37157539293
Manually invoke the agent

Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.

[!TIP]

Stop reporting this workflow as a failure

To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:

safe-outputs:
  report-failure-as-issue: false

Generated from Prompt Optimization · copilot · 152.8 AIC · ◷

Ngôn ngữ chính
JavaScript
Star
6
Fork
1
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
32

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của githubnext/gh-aw-wizard

Tất cả issue của githubnext/gh-aw-wizard

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.