Skip to content

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

Open
mrjf wants to merge 4 commits into
mainfrom
autoloop/python-to-go-migration
Open

[Autoloop: python-to-go-migration]#17
mrjf wants to merge 4 commits into
mainfrom
autoloop/python-to-go-migration

Conversation

@mrjf
Copy link
Copy Markdown
Contributor

@mrjf mrjf commented May 12, 2026

…and migrate 5 leaf modules

  • Set up Go module (github.com/githubnext/apm)
  • Migrate constants.py -> internal/constants (55 lines)
  • Migrate version.py -> internal/version (101 lines)
  • Migrate utils/short_sha.py -> internal/utils/sha (45 lines, with tests)
  • Migrate utils/paths.py -> internal/utils/paths (27 lines)
  • Migrate utils/normalization.py -> internal/utils/normalization (57 lines)
  • Create benchmarks/migration-status.json tracking 285/71696 lines (0.40%)
  • Add Go build targets to Makefile

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

Description

Brief description of changes and motivation.

Fixes # (issue)

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

github-actions Bot and others added 2 commits May 12, 2026 06:47
…and migrate 5 leaf modules

- Set up Go module (github.com/githubnext/apm)
- Migrate constants.py -> internal/constants (55 lines)
- Migrate version.py -> internal/version (101 lines)
- Migrate utils/short_sha.py -> internal/utils/sha (45 lines, with tests)
- Migrate utils/paths.py -> internal/utils/paths (27 lines)
- Migrate utils/normalization.py -> internal/utils/normalization (57 lines)
- Create benchmarks/migration-status.json tracking 285/71696 lines (0.40%)
- Add Go build targets to Makefile

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ic_io, git_env to Go

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Commit pushed: 4fea0e8

Generated by Autoloop

@github-actions github-actions Bot mentioned this pull request May 12, 2026
@github-actions
Copy link
Copy Markdown

Commit pushed: 99e6ae1

Generated by Autoloop

…v.py and helpers.py to Go

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Commit pushed: 9c40a5f

Generated by Autoloop

@github-actions
Copy link
Copy Markdown


Warning

The push_to_pull_request_branch operation failed: Cannot push to pull request branch: patch modifies protected files (README.md). Add them to the allowed-files configuration field or set protected-files: fallback-to-issue to create a review issue instead.. The code changes were not applied.

🤖 Iteration 8✅ Accepted

  • Change: Migrate content_hash.py, exclude.py, console.py, and file_ops.py to Go (4 new packages, 827 Python lines)
  • Metric: 2.69% (best: 2.69%, delta: +1.15)
  • Commit: 73205a9
  • Result: All 4 packages build cleanly with go build ./... and all tests pass with go test ./.... Branch synced with main (merge commit). The contenthash, exclude, console, and fileops packages are now available under internal/utils/.

Generated by Autoloop · ● 39.8M ·

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant