Skip to content

refactor: remove legacy Celery naming references#1

Merged
raffelino merged 1 commit into
mainfrom
refactor/remove-celery-naming
Mar 2, 2026
Merged

refactor: remove legacy Celery naming references#1
raffelino merged 1 commit into
mainfrom
refactor/remove-celery-naming

Conversation

@raffelino
Copy link
Copy Markdown
Collaborator

@raffelino raffelino commented Feb 27, 2026

Summary

  • Renames backend/src/celery_app.pybackend/src/task_executor.py and updates the module docstring
  • Updates all 7 import sites across backend routers and main.py
  • Renames celery_task_idtask_id in frontend types and E2E test fixtures
  • Updates mock error message in git-sync.spec.ts (Celery broker unreachableTask executor unavailable)
  • Updates CLAUDE.md file path and section references

The DB column name (celery_task_id) is intentionally kept as-is to avoid requiring a migration.

Test plan

  • rg -i celery backend/src/ frontend/src/ e2e/tests/ returns zero matches (except DB column name in models.py)
  • Backend tests pass (make test-backend)
  • E2E tests pass for affected specs (execution-analysis, git-sync)

🤖 Generated with Claude Code

Celery+Redis was replaced with an in-process ThreadPoolExecutor long ago,
but the old naming persisted in file names, imports, types, and docs.

- Rename backend/src/celery_app.py → backend/src/task_executor.py
- Update all imports across 6 router/main modules
- Rename celery_task_id → task_id in frontend types and E2E fixtures
- Update mock error message in git-sync E2E test
- Update CLAUDE.md file path references

The DB column name (celery_task_id) is kept as-is to avoid a migration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@raffelino raffelino merged commit b004232 into main Mar 2, 2026
1 check passed
@raffelino raffelino deleted the refactor/remove-celery-naming branch March 2, 2026 07:11
raffelino added a commit that referenced this pull request May 7, 2026
…s, dashboard screenshot

Last sweep before release:

1. **Recorder docs — selector verification & Shadow DOM**
   New `recorder-selector-verification` topic in all 4 langs sitting
   between `recorder-anatomy` and `recorder-extension`. Covers:
   - Visibility-aware uniqueness ranking ({ total, visible,
     actionable }) with the gold / verified / hidden / multi-match
     tiers + their score penalties.
   - Parent-context CSS disambiguation (the
     `#checkout-form button.submit-btn` rewrite that prevents the
     #1 Playwright strict-mode failure source at replay).
   - Shadow DOM aware capture (`composedPath()[0]` retargeting,
     ancestor walk crossing shadow boundaries via the host) and
     the `host >> inner` chained Playwright locator emitted by the
     synthesis layer when `in_shadow_dom` is set.
   - Closed-shadow-root caveat: closed roots are opaque to userspace
     JS, so closed-root elements fall back to the host selector.

2. **CLAUDE.md — four new critical-pattern gotchas**
   Added to the "Critical patterns & gotchas" list:
   - Setting-meta side-note inputs MUST use a draft buffer (mirrors
     the cloneStep contract for step args; if a future panel
     v-models straight into `props.form` the deep watcher tears
     `selectedNode` down on every keystroke).
   - Setting-meta stacking pitch (`META_PITCH = 96`) + CSS
     `max-height: 76px` + line-clamp 2 are tuned together; bumping
     pitch lower without tightening clamp lets [Documentation]
     overflow into the [Tags] node below.
   - Capture script MUST use `realTarget(ev) = composedPath()[0]`
     so events inside an open shadow root capture the real target,
     not the host. Any new event listener must route through it or
     shadow-DOM clicks fire on the wrong element.
   - Selector synthesis MUST emit a parent-context CSS variant
     when an ancestor has a stable id / data-testid; the verifier's
     `nth=0` rewrite is a last-resort fallback, not a substitute.

3. **README dashboard screenshot regenerated**
   `docs/screenshots/dashboard.png` was from 24 Feb. and showed the
   pre-0.9.0 KPI / recent-runs / repo-grid layout. Replaced with a
   fresh 1280x800 capture of the card-grid + Tip-of-the-Day
   landing page that 0.9.0 ships.

Topic counts after this commit: EN/DE 91, FR/ES 92.
vue-tsc clean; 491 frontend specs green.

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