refactor: rename legacy 'ticket' terminology to 'task' #152

Merged
noe.trevino merged 2 commits from fix-126/remove-ticket-from-codebase into main 2026-06-23 11:34:33 -05:00
Owner

'ticket' was the original term for tasks; complete the transition so the codebase and schema use consistent 'task' naming.

  • Add migration 00013 (sqlite + postgres) renaming columns ticket_number -> task_number and next_ticket_number -> next_task_number, with Down reverts. Auto-embedded via the existing go:embed glob.
  • Rename ticket -> task across the Go codebase and sql_* query sources, then regenerate sqlc output. Migration history (00001) left untouched.

Closes #126

Checklist

  • Read CONTRIBUTING.md
  • Ran tests (go test ./... -race) locally
  • Formatted and linted with gofmt -w . and golangci-lint run ./... respectively
  • Added tests if necessary (significant changes/complex logic)
  • Updated documentation if applicable
  • Updated README.md if applicable

Summary

'ticket' was the original term for tasks; complete the transition so the codebase and schema use consistent 'task' naming. - Add migration 00013 (sqlite + postgres) renaming columns ticket_number -> task_number and next_ticket_number -> next_task_number, with Down reverts. Auto-embedded via the existing go:embed glob. - Rename ticket -> task across the Go codebase and sql_* query sources, then regenerate sqlc output. Migration history (00001) left untouched. Closes #126 ## Checklist - [x] Read `CONTRIBUTING.md` - [x] Ran tests (`go test ./... -race`) locally - [x] Formatted and linted with `gofmt -w .` and `golangci-lint run ./...` respectively - [x] Added tests if necessary (significant changes/complex logic) - [x] Updated documentation if applicable - [x] Updated `README.md` if applicable ## Summary <!-- What does this PR change and/or fix? Examples: Closes: 54 Fixes: 67 -->
claude[bot] (Migrated from github.com) reviewed 2026-06-22 23:30:40 -05:00
@ -163,7 +163,7 @@ func (s *service) CreateProject(ctx context.Context, req CreateProjectRequest) (
return fmt.Errorf("failed to create project: %w", projErr)
claude[bot] (Migrated from github.com) commented 2026-06-22 23:30:40 -05:00

The mechanical rename turned "task ticket numbers" into "task task numbers". This comment is now garbled.

		// Initialize project counter (for task numbers)
The mechanical rename turned `"task ticket numbers"` into `"task task numbers"`. This comment is now garbled. ```suggestion // Initialize project counter (for task numbers) ```
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
noe.trevino/paso!152
No description provided.