Skip to content

Commit 0580129

Browse files
authored
refactor!: rename tetra to flash (#59)
* feat: rename worker-tetra to worker-flash with runpod-flash SDK Complete rename of worker-tetra repository to align with tetra-rp → runpod-flash transition: - **Package**: worker-tetra → worker-flash - **SDK**: tetra-rp → runpod-flash (tetra_rp → runpod_flash) - **Docker images**: runpod/tetra-rp → runpod/flash - **Logger namespace**: tetra → flash - **Environment variables**: TETRA_* → FLASH_* - **MCP server**: worker-tetra-code-intel → worker-flash-code-intel - **Skill directory**: worker-tetra-explorer → worker-flash-explorer Updated 40+ files including: - 9 source files with import statements - 10 test files with import statements - Configuration files (pyproject.toml, Makefile, .mcp.json, .claude/settings.json) - Docker workflow configurations (.github/workflows/) - Documentation files (CLAUDE.md, docs/*) - Script files (ast_to_sqlite.py, code_intel.py, mcp_code_intel_server.py) All 240 tests pass with 76% code coverage. Type checking configured to ignore runpod_flash module stubs. Dependencies updated to use runpod-flash package. * docs: update CHANGELOG and DEVELOPMENT to reference worker-flash and runpod-flash * docs: Runpod Flash SDK references * fix: resolve mypy type checking errors for runpod-flash imports Update mypy configuration to properly handle import-untyped errors from the runpod-flash dependency. Add global disable_error_code for import-untyped since we cannot control third-party type stubs, and update the runpod_flash module override to use follow_imports = "skip" for cleaner configuration. This ensures the quality-check gate passes completely with all tests, linting, formatting, and type checking successful. * chore: uv.lock * chore: delete .envrc * build: flash 1.0.0 * docs: update runpod-flash installation references to use PyPI * docs: update repository URLs to runpod-workers/flash - Update all GitHub repository references from runpod-workers/worker-flash to runpod-workers/flash - Update all Docker image references from runpod/worker-flash to runpod/flash - Update RunPod badge in README.md to use flash endpoint - Update 46 CHANGELOG.md references for consistency - Update 9 DEVELOPMENT.md references (clone URL, Docker examples) Files modified: - CHANGELOG.md: 46 URL references updated (version comparisons, issue links, commit links) - DEVELOPMENT.md: 9 repository and Docker references updated (git clone, Docker images) - README.md: 1 badge URL updated * fix: generate version tags for production Docker images The metadata-action needs explicit tag values to generate semver-based tags when running on the main branch. Pass tag_name from release-please to generate tags like v1.0.0, v1.0, v1, and latest for all production Docker images (GPU, CPU, LB, LB-CPU).
1 parent 3fe4f8d commit 0580129

45 files changed

Lines changed: 429 additions & 399 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
},
55
"enableAllProjectMcpServers": true,
66
"enabledMcpServers": [
7-
"worker-tetra-code-intel"
7+
"worker-flash-code-intel"
88
],
99
"permissions": {
1010
"allow": [
11-
"mcp__worker-tetra-code-intel__find_symbol",
12-
"mcp__worker-tetra-code-intel__find_by_decorator",
13-
"mcp__worker-tetra-code-intel__get_class_interface",
14-
"mcp__worker-tetra-code-intel__list_classes",
15-
"mcp__worker-tetra-code-intel__list_file_symbols",
16-
"mcp__worker-tetra-code-intel__parse_test_output",
11+
"mcp__worker-flash-code-intel__find_symbol",
12+
"mcp__worker-flash-code-intel__find_by_decorator",
13+
"mcp__worker-flash-code-intel__get_class_interface",
14+
"mcp__worker-flash-code-intel__list_classes",
15+
"mcp__worker-flash-code-intel__list_file_symbols",
16+
"mcp__worker-flash-code-intel__parse_test_output",
1717
"Bash(git diff:*)",
1818
"Bash(git fetch:*)",
1919
"Bash(git log:*)",

.claude/skills/worker-tetra-explorer/SKILL.md renamed to .claude/skills/worker-flash-explorer/SKILL.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Worker-Tetra Code Explorer Skill
1+
# Worker-Flash Code Explorer Skill
22

33
## Overview
44

5-
This skill provides efficient access to worker-tetra's codebase structure through MCP (Model Context Protocol). Instead of reading entire files, Claude Code can query a SQLite index to quickly find symbols, their signatures, locations, and documentation.
5+
This skill provides efficient access to worker-flash's codebase structure through MCP (Model Context Protocol). Instead of reading entire files, Claude Code can query a SQLite index to quickly find symbols, their signatures, locations, and documentation.
66

77
## Benefits
88

@@ -17,7 +17,7 @@ The skill uses two components:
1717

1818
1. **SQLite Index** (`.code-intel/flash.db`)
1919
- Automatically generated by `make index`
20-
- Contains ~94 symbols from worker-tetra source
20+
- Contains ~94 symbols from worker-flash source
2121
- Updated incrementally (fast rebuilds)
2222

2323
2. **MCP Server** (`scripts/mcp_code_intel_server.py`)
@@ -149,15 +149,15 @@ The skill is automatically registered in `.mcp.json`:
149149
```json
150150
{
151151
"mcpServers": {
152-
"worker-tetra-code-intel": {
152+
"worker-flash-code-intel": {
153153
"command": "uv",
154154
"args": ["run", "python", "scripts/mcp_code_intel_server.py"]
155155
}
156156
}
157157
}
158158
```
159159

160-
When you start Claude Code in the worker-tetra directory:
160+
When you start Claude Code in the worker-flash directory:
161161
1. It reads `.mcp.json`
162162
2. Automatically starts the MCP server
163163
3. Makes all query tools available
@@ -317,5 +317,5 @@ If the index doesn't have what you need, you can always:
317317

318318
---
319319

320-
**Generated by: worker-tetra code intelligence integration**
320+
**Generated by: worker-flash code intelligence integration**
321321
**Last updated: 2026-01-28**

.envrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/ci.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
env:
1616
REGISTRY: docker.io
17-
IMAGE_NAME: runpod/tetra-rp
17+
IMAGE_NAME: runpod/flash
1818

1919
jobs:
2020
test:
@@ -114,15 +114,15 @@ jobs:
114114
file: ./Dockerfile-cpu
115115
platforms: linux/amd64
116116
push: false
117-
tags: tetra-rp-cpu:test
117+
tags: flash-cpu:test
118118
cache-from: type=gha
119119
cache-to: type=gha,mode=max
120120
load: true
121121

122122
- name: Test CPU handler execution in Docker environment
123123
run: |
124124
echo "Testing CPU handler in Docker environment..."
125-
docker run --rm tetra-rp-cpu:test ./test-handler.sh
125+
docker run --rm flash-cpu:test ./test-handler.sh
126126
127127
docker-test-lb:
128128
runs-on: ubuntu-latest
@@ -169,7 +169,7 @@ jobs:
169169
file: ./Dockerfile-lb
170170
platforms: linux/amd64
171171
push: false
172-
tags: tetra-rp-lb:test
172+
tags: flash-lb:test
173173
cache-from: type=gha
174174
cache-to: type=gha,mode=max
175175
load: true
@@ -219,7 +219,7 @@ jobs:
219219
file: ./Dockerfile-lb-cpu
220220
platforms: linux/amd64
221221
push: false
222-
tags: tetra-rp-lb-cpu:test
222+
tags: flash-lb-cpu:test
223223
cache-from: type=gha
224224
cache-to: type=gha,mode=max
225225
load: true
@@ -510,7 +510,9 @@ jobs:
510510
with:
511511
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
512512
tags: |
513-
type=semver,pattern={{version}}
513+
type=semver,pattern={{version}},value=${{ needs.release.outputs.tag_name }}
514+
type=semver,pattern={{major}}.{{minor}},value=${{ needs.release.outputs.tag_name }}
515+
type=semver,pattern={{major}},value=${{ needs.release.outputs.tag_name }}
514516
type=raw,value=latest,enable={{is_default_branch}}
515517
516518
- name: Set up uv
@@ -571,7 +573,9 @@ jobs:
571573
with:
572574
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-cpu
573575
tags: |
574-
type=semver,pattern={{version}}
576+
type=semver,pattern={{version}},value=${{ needs.release.outputs.tag_name }}
577+
type=semver,pattern={{major}}.{{minor}},value=${{ needs.release.outputs.tag_name }}
578+
type=semver,pattern={{major}},value=${{ needs.release.outputs.tag_name }}
575579
type=raw,value=latest,enable={{is_default_branch}}
576580
577581
- name: Set up uv
@@ -638,7 +642,9 @@ jobs:
638642
with:
639643
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-lb
640644
tags: |
641-
type=semver,pattern={{version}}
645+
type=semver,pattern={{version}},value=${{ needs.release.outputs.tag_name }}
646+
type=semver,pattern={{major}}.{{minor}},value=${{ needs.release.outputs.tag_name }}
647+
type=semver,pattern={{major}},value=${{ needs.release.outputs.tag_name }}
642648
type=raw,value=latest,enable={{is_default_branch}}
643649
644650
- name: Set up uv
@@ -705,7 +711,9 @@ jobs:
705711
with:
706712
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-lb-cpu
707713
tags: |
708-
type=semver,pattern={{version}}
714+
type=semver,pattern={{version}},value=${{ needs.release.outputs.tag_name }}
715+
type=semver,pattern={{major}}.{{minor}},value=${{ needs.release.outputs.tag_name }}
716+
type=semver,pattern={{major}},value=${{ needs.release.outputs.tag_name }}
709717
type=raw,value=latest,enable={{is_default_branch}}
710718
711719
- name: Set up uv

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
env:
1818
REGISTRY: docker.io
19-
IMAGE_NAME: runpod/tetra-rp
19+
IMAGE_NAME: runpod/flash
2020

2121
jobs:
2222
test:

.mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"mcpServers": {
3-
"worker-tetra-code-intel": {
3+
"worker-flash-code-intel": {
44
"command": "uv",
55
"args": [
66
"run",

0 commit comments

Comments
 (0)