chore: run terminal settlement repair #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync Telegram repair with current dev | |
| on: | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| contents: write | |
| jobs: | |
| sync: | |
| if: github.event.issue.number == 1 && github.event.comment.body == '/sync-telegram-current-dev' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: fix/telegram-tool-activity-terminal-rejection | |
| fetch-depth: 0 | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Merge current upstream dev | |
| shell: bash | |
| run: | | |
| git config user.name "twoimo" | |
| git config user.email "32544727+twoimo@users.noreply.github.com" | |
| git remote add upstream https://github.com/Yeachan-Heo/gajae-code.git || true | |
| git fetch --no-tags upstream dev | |
| git merge --no-edit --no-ff upstream/dev | |
| git push origin HEAD:fix/telegram-tool-activity-terminal-rejection | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run rejected-terminal regression | |
| run: bun test --timeout 30000 packages/coding-agent/test/notifications-telegram-daemon.test.ts --test-name-pattern "terminal submission rejection" | |
| - name: Run Telegram lifecycle boundary suites | |
| run: | | |
| bun test --timeout 30000 \ | |
| packages/coding-agent/test/notifications-telegram-daemon.test.ts \ | |
| packages/coding-agent/test/notifications-tool-activity.test.ts \ | |
| packages/coding-agent/test/sdk-host.test.ts | |
| bun test --timeout 30000 scripts/telegram-daemon-generation-guard.test.ts | |
| bun scripts/telegram-daemon-generation-guard.ts --validate-current-tree | |
| - name: Run package check | |
| run: bun --cwd=packages/coding-agent run check | |
| - name: Publish verification receipt commit | |
| shell: bash | |
| run: | | |
| git config user.name "twoimo" | |
| git config user.email "32544727+twoimo@users.noreply.github.com" | |
| git commit --allow-empty -m "test(notifications): verify rejected terminal repair on current dev" | |
| git push origin HEAD:fix/telegram-tool-activity-terminal-rejection |