Skip to content

Couragehong/chore/ci drop python - #125

Closed
couragehong wants to merge 2 commits into
feat/go-migrationfrom
couragehong/chore/ci-drop-python
Closed

Couragehong/chore/ci drop python#125
couragehong wants to merge 2 commits into
feat/go-migrationfrom
couragehong/chore/ci-drop-python

Conversation

@couragehong

@couragehong couragehong commented May 8, 2026

Copy link
Copy Markdown
Contributor

Python CI Drop & gofmt -w

couragehong and others added 2 commits May 8, 2026 09:51
Drop the Python pytest workflow and the PR-comment automation now that
the project has migrated to Go. New ci.yml runs go build / vet / test
(with -race) and enforces gofmt on push to main + feat/go-migration and
on every pull request.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Whitespace and formatting fixes applied by gofmt -w. No behavioral
change. Required to pass the gofmt step added in the new CI workflow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@couragehong couragehong closed this May 8, 2026
couragehong added a commit that referenced this pull request May 8, 2026
The Go rune-mcp at internal/* + cmd/rune-mcp/ has reached parity (PR
#102 + #110 + #117) and end-to-end verification (#118, #122, #124),
which means the Python tree is now dead weight. Carrying both
implementations is actively misleading: a fresh contributor following
the in-repo install instructions would still land in mcp/ + agents/
and try to set up a venv that no longer ships, and parity audits keep
re-discovering the Python source instead of treating the Go side as
the source of truth.

Removed
-------

  agents/common/        12 files  (config, embedding, llm, schemas)
  agents/retriever/      4 files  (query_processor, searcher, synthesizer)
  agents/scribe/        12 files  (detector, llm_extractor, handlers, server)
  agents/tests/         16 files  (pytest suite)
  agents/__init__.py
  agents/README.md            (Python agents intro — gone with the impl)
  agents/SLACK_SETUP.md       (Slack notifier setup for Python scribe)
  mcp/                  18 files  (Python adapter + server + tests)
  requirements.txt            (root Python dependency list)
  scripts/migrate_embeddings.py (one-off Python migration helper)

  Total: 67 files, 17,815 lines.

Kept (intentional)
------------------

  agents/claude/{scribe,retriever}.md   referenced by .claude-plugin/
                                        plugin.json — agent prompts that
                                        the runtime loads
  agents/codex/scribe.md                Codex-side agent prompt
  agents/gemini/{scribe,retriever}.md   Gemini-side agent prompts
  benchmark/                            deferred (separate decision —
                                        rewrite in Go vs delete entirely)
  docs/v04/spec/python-mapping.md       parity blueprint that maps Python
                                        source to Go destinations; useful
                                        as a historical record post-deletion
  docs/migration/*.md                   migration plan + audit trail —
                                        intentional history
  scripts/bootstrap-mcp.sh and other    referenced by gemini-extension.json;
    Python-era shell scripts            removal blocked on Gemini support
                                        decision (separate PR)

Not in scope
------------

  .github/workflows/pr-tests.yml + pr-comment.yml — Python pytest CI;
    handled by PR #125 (ci-drop-python).
  README.md, CLAUDE.md, SKILL.md, AGENT_INTEGRATION.md, GEMINI.md,
    CONTRIBUTING.md — top-level docs still describe the v0.3 install
    flow; rewrite scheduled separately so this commit stays focused
    on code deletion.

Verification
------------

  go build ./...   passes
  go vet ./...     passes
  go test ./...    full suite passes (no test referenced deleted paths)
  grep across remaining .{go,md,json,sh,toml,yml,yaml} for the deleted
    paths returned zero hits — no dangling references.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@couragehong
couragehong deleted the couragehong/chore/ci-drop-python branch May 19, 2026 04:19
heeyeon01 pushed a commit to heeyeon01/rune that referenced this pull request Jul 7, 2026
The Python pytest pipeline at .github/workflows/pr-tests.yml currently
fires on every PR open / synchronize / reopen, regardless of base
branch. Across the v0.4 Go migration line that's pure noise: every PR
into feat/go-migration runs the v0.3 pytest suite against a working
tree where the Python source is being deleted out from under it
(Python tree removal already landed via PR CryptoLabInc#129). The runs all fail or
no-op, which trains contributors to ignore CI status — the worst
possible state to be in when CI matters again at main-merge time.

Narrow the trigger so the workflow only fires when the PR's base
branch is `main`. That preserves the workflow scaffolding for the
final feat/go-migration → main integration moment, when CI itself
will be rewritten as Go (build / vet / fmt / test -race) so it
actually exercises the v0.4 code at the boundary.

Effect on PR streams
--------------------

  PR base = feat/go-migration  → no CI run (silent)
  PR base = main               → CI runs (existing pytest pipeline,
                                  to be rewritten at main-merge)

  pr-comment.yml is unchanged — it chains off `workflow_run:
  workflows: ["PR Tests"]`, so when pr-tests stays quiet, pr-comment
  stays quiet too. No edit needed there.

Side effects
------------

  - PR CryptoLabInc#125 (ci-drop-python) currently sits open and proposes a Go CI
    rewrite. With this gate in place there is no CI noise to fight,
    so CryptoLabInc#125's urgency drops. The cleanest path is to close it and
    redo the Go CI as part of the main-merge integration PR — that
    way the CI lands together with whatever the boundary actually
    needs (artifact uploads, GOPRIVATE auth, OS matrix, etc.) rather
    than having two CI rewrites land independently.
  - .github/workflows/pr-tests.yml still references
    .github/scripts/ci_changed_tests.py and requirements.txt, both of
    which exist in main but not on feat/go-migration after PR CryptoLabInc#129.
    That is intentional — the workflow scaffolding stays bound to
    main's contents, and the rewrite at main-merge time will replace
    both anyway.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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