Skip to content

Conversation

@Mossaka
Copy link
Collaborator

@Mossaka Mossaka commented Jan 18, 2026

Summary

  • Add scripts/use-local-awf.sh script that transforms generated .lock.yml workflow files to use locally built AWF binaries instead of released versions from GHCR
  • This is useful for testing AWF changes in agentic workflows before releasing

What the script does

  1. Replaces curl-based AWF installation with local build commands:

    • Before: curl -sSL ... install.sh | sudo AWF_VERSION=v0.8.2 bash
    • After: git clone && npm ci && npm run build && sudo npm link
  2. Replaces --image-tag flag with --build-local:

    • Before: --image-tag 0.8.2
    • After: --build-local

Usage

# Transform all .lock.yml files in .github/workflows/
./scripts/use-local-awf.sh

# Preview changes without modifying files
./scripts/use-local-awf.sh --dry-run

# Transform specific files
./scripts/use-local-awf.sh .github/workflows/smoke-claude.lock.yml

Test plan

  • Created the script with dry-run and actual modification modes
  • Tested --dry-run mode detects all 14 lock files
  • Tested actual transformation on a copy of smoke-claude.lock.yml
  • Verified AWF install step is correctly replaced
  • Verified --image-tag X.Y.Z is replaced with --build-local

🤖 Generated with Claude Code

Add use-local-awf.sh script that transforms generated .lock.yml workflow
files to use locally built AWF binaries instead of released versions.

The script:
- Replaces curl-based AWF installation with npm ci/build/link
- Replaces --image-tag with --build-local flag
- Supports --dry-run mode for previewing changes
- Can process all lock files or specific files

This is useful for testing AWF changes before releasing, allowing
agentic workflows to use the local development build.

Usage:
  ./scripts/use-local-awf.sh                    # Transform all workflows
  ./scripts/use-local-awf.sh --dry-run          # Preview changes
  ./scripts/use-local-awf.sh path/to/file.yml   # Transform specific file

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Jan 18, 2026

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions
Copy link

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 77.88% 77.88% ➡️ +0.00%
Statements 77.94% 77.94% ➡️ +0.00%
Functions 77.29% 77.29% ➡️ +0.00%
Branches 71.00% 71.00% ➡️ +0.00%

Coverage comparison generated by scripts/ci/compare-coverage.ts

@github-actions
Copy link

github-actions bot commented Jan 18, 2026

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions
Copy link

Claude Smoke Test Results

Recent PRs:

Test Results:

  • ✅ GitHub MCP - Fetched 2 merged PRs
  • ✅ Playwright - Page title: "GitHub · Change is constant. GitHub keeps you ahead. · GitHub"
  • ✅ File Writing - Created test file successfully
  • ✅ Bash Tool - Verified file contents

Status: PASS

AI generated by Smoke Claude

@github-actions
Copy link

Smoke Test Results

Last 2 Merged PRs:

Test Results:

  • ✅ GitHub MCP: Reviewed last 2 merged PRs
  • ❌ Playwright: Missing system dependencies (libglib-2.0.so.0)
  • ✅ File Write: Created /tmp/gh-aw/agent/smoke-test-copilot-21120165245.txt
  • ✅ Bash: Verified file contents successfully

Overall Status: FAIL

cc: @Mossaka (PR author)

AI generated by Smoke Copilot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants