Skip to content

[Autoloop: python-to-go-migration] #35

@github-actions

Description

@github-actions

Python-to-Go Migration Progress

This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.

Program: Incrementally rewrite the APM CLI from Python to Go, one module at a time.
Program Issue: #3
Current Best Metric: 23.56% Python lines migrated

Iteration 29 Summary

Rebuilt 16 modules lost due to branch reset (plan, service, insecurepolicy, template, packageresolution, skillpathmigration, heals, securityscan, dryrun, dispatch, pipeline, sources, services, drift, validation, updatepolicy) and added 7 new large modules:

New Module Python Lines
policy/discovery 1365
policy/policy_checks 1010
policy/ci_checks 588
install/phases/integrate 544
install/phases/resolve 488
install/phases/targets 445
install/phases/heal 90

Total migrated: 16,894 Python lines (23.56% of 71,696 original)
Previous best: 18.93%
Delta: +4.63%

go build ./... and go test ./... pass.


Run: https://github.com/githubnext/apm/actions/runs/25823679450

🤖 This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.

Generated by Autoloop · ● 57.2M ·


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 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 25823679450 -n agent -D /tmp/agent-25823679450

# Fetch the bundle into a local branch
git fetch /tmp/agent-25823679450/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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions