You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.
Python-to-Go Migration
Incrementally rewrites the APM CLI from Python to Go, one module at a time. The metric tracks the percentage of original Python line count replaced by working Go code.
Program Issue: #3 Current Best Metric: 13.98% (10020 / 71696 Python lines migrated)
The bundle file is available in the agent artifact in the workflow run linked above.
To create a pull request with the changes:
# Download the artifact from the workflow run
gh run download 25817705977 -n agent -D /tmp/agent-25817705977
# Fetch the bundle into a local branch
git fetch /tmp/agent-25817705977/aw-autoloop-python-to-go-migration.bundle refs/heads/autoloop/python-to-go-migration:refs/heads/autoloop/python-to-go-migration
git checkout autoloop/python-to-go-migration
# Push the branch to origin
git push origin autoloop/python-to-go-migration
# Create the pull request
gh pr create --title '[Autoloop: python-to-go-migration]' --base main --head autoloop/python-to-go-migration --repo githubnext/apm
🤖 This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.
Python-to-Go Migration
Incrementally rewrites the APM CLI from Python to Go, one module at a time. The metric tracks the percentage of original Python line count replaced by working Go code.
Program Issue: #3
Current Best Metric: 13.98% (10020 / 71696 Python lines migrated)
Iteration 27 — 2026-05-13
Modules migrated (15 modules, +2084 Python lines):
internal/updatepolicyupdate_policy.pyinternal/install/planinstall/plan.pyinternal/install/serviceinstall/service.pyinternal/install/healsinstall/heals/(base + 2 heals)internal/install/phases/healinstall/phases/heal.pyinternal/integration/dispatchintegration/dispatch.pyinternal/install/insecurepolicyinstall/insecure_policy.pyinternal/install/templateinstall/template.pyinternal/install/helpers/securityscaninstall/helpers/security_scan.pyinternal/install/presentation/dryruninstall/presentation/dry_run.pyinternal/install/packageresolutioninstall/package_resolution.pyinternal/install/skillpathmigrationinstall/skill_path_migration.pyValidation:
go build ./...andgo test ./...pass.Metric: 13.98% (was 12.56%, delta: +1.42%)
Note
This was originally intended as a pull request, but the git push operation failed.
Workflow Run: View run details and download bundle artifact
The bundle file is available in the
agentartifact in the workflow run linked above.To create a pull request with the changes: