Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/qwen-triage-finalize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
CI_BEGIN="<!-- qwen-triage-ci sha=${HEAD_SHA} -->"
CI_END='<!-- /qwen-triage-ci -->'
APPROVE_MARKER="<!-- qwen-triage approve-on-green sha=${HEAD_SHA} -->"
STATUS_MARKER='<!-- qwen-triage stage=status -->'
STATUS_MARKER='<!-- qwen-triage-lifecycle -->'
Comment thread
yiliang114 marked this conversation as resolved.
Outdated

if ! BOT_LOGIN="$(gh api user --jq '.login')" || [ -z "$BOT_LOGIN" ]; then
echo "::warning::Cannot resolve the bot identity; skipping (markers cannot be author-verified)."
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qwen-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ jobs:
RUN_URL: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
run: |-
set -uo pipefail
MARKER='<!-- qwen-triage stage=status -->'
MARKER='<!-- qwen-triage-lifecycle -->'
Comment thread
yiliang114 marked this conversation as resolved.
Outdated
printf -v BODY '%s\n\n%s\n\n%s' \
"$MARKER" \
"🔄 **Qwen Triage is running** — [watch live progress]($RUN_URL). Stage results will post in this thread as they complete." \
Expand Down Expand Up @@ -637,7 +637,7 @@ jobs:
TRIAGE_OUTCOME: '${{ steps.triage.outcome }}'
run: |-
set -uo pipefail
MARKER='<!-- qwen-triage stage=status -->'
MARKER='<!-- qwen-triage-lifecycle -->'
Comment thread
yiliang114 marked this conversation as resolved.
Outdated
if [ "${TRIAGE_OUTCOME:-}" = 'success' ]; then
EN="✅ **Qwen Triage finished** — [view run]($RUN_URL). See the stage comments in this thread for the result."
ZH="✅ **Qwen Triage 已完成** —— [查看运行]($RUN_URL)。结果见本线程中的各阶段评论。"
Expand Down
4 changes: 2 additions & 2 deletions scripts/tests/qwen-triage-workflow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ describe('qwen-triage tmux workflow', () => {
it('posts an early live-progress status comment and finalizes the same one', () => {
const statusStep = step('Post triage status comment');
// Announced up front (before the long agent step) with the live run link.
expect(statusStep).toContain('<!-- qwen-triage stage=status -->');
expect(statusStep).toContain('<!-- qwen-triage-lifecycle -->');
expect(statusStep).toContain('actions/runs/${{ github.run_id }}');
expect(statusStep).toContain('watch live progress');
// Upsert by marker so a re-run reuses the one comment instead of stacking.
Expand All @@ -225,7 +225,7 @@ describe('qwen-triage tmux workflow', () => {

const finalizeStep = step('Finalize triage status comment');
// Runs on both outcomes and edits the SAME marker comment (no second post).
expect(finalizeStep).toContain('<!-- qwen-triage stage=status -->');
expect(finalizeStep).toContain('<!-- qwen-triage-lifecycle -->');
expect(finalizeStep).toContain('success() || failure()');
expect(finalizeStep).toContain('steps.triage.outcome');
expect(finalizeStep).toContain('--method PATCH');
Expand Down
Loading