Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions Agent.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,6 +96,7 @@ pkill -f "emrg.server"; rm -f ~/.emrg/emrgd.port; python -m emrg
Python: `uv run pytest tests/ -v` (495) — import check: `uv run python -c "from emrg.client.app import run_client"`
GUI: `cd emrg/gui && npm test` (88: 22 daemon_client + 22 app-commands + 19 renderer smoke + 15 i18n + 7 integration + 3 commands) — syntax: `node --check main.js preload.js daemon_client.js renderer/js/*.js`
CI: `uv run pytest` + GUI tests + **actionlint workflow lint** (`rhysd/actionlint@v1.7.12` gate, #444 — workflow 解析错误在 PR CI 即失败,如 `if:` secrets 上下文)
Re-trigger: `scripts/re-trigger-ci.sh [branch]` (workflow_dispatch, #527 — 替代空 commit 重触发:Actions outage 会整段丢弃 push 事件,dispatch 走 API 路径不受影响)

## Configuration

Expand Down
16 changes: 16 additions & 0 deletions scripts/re-trigger-ci.sh
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Re-trigger the Test workflow without an empty commit (PR #527).
#
# GitHub Actions outages can drop push events entirely (runs never created,
# check-runs empty) — empty-commit re-triggers depend on the same broken
# push-event pipeline and also pollute git history. workflow_dispatch is
# API-triggered and bypasses the push-event pipeline entirely.
#
# Usage: scripts/re-trigger-ci.sh [branch] (default: current branch)
# branch: a branch name or tag; use 'master' to verify master after merges.
set -euo pipefail

branch="${1:-$(git rev-parse --abbrev-ref HEAD)}"
echo "Dispatching Test workflow on branch: ${branch}"
gh workflow run test.yml --ref "${branch}"
echo "Dispatched. Watch: gh run list --workflow=test.yml"