feat: implement Phases 3-6 — HTTP API, dashboard, CLI, and packaging#3
Merged
reckziegelwilliam merged 4 commits intomainfrom Apr 1, 2026
Merged
Conversation
Phase 3 — HTTP API: - chi router with Bearer token auth middleware - REST endpoints: enqueue, get/list/delete jobs, list queues, retry, cancel - Config package for env-var based server configuration - Wired cmd/queuekitd with graceful shutdown and backend selection - 19 integration tests with mock backend (all passing) Phase 4 — Dashboard: - Server-rendered html/template views with embedded CSS - Queues overview with health scores - Queue detail with status filter tabs and pagination - Job detail with payload display and retry button Phase 5 — CLI: - Cobra-based CLI with viper YAML config support - Commands: enqueue, inspect queues/jobs, retry, cancel - HTTP client wrapper with auth and error handling Phase 6 — Packaging & Examples: - Multi-stage Dockerfile with distroless final image - docker-compose.yml with Postgres, Redis, and queuekitd - Simple worker example and cron-style recurring job example - Complete README rewrite with API reference and usage docs Made-with: Cursor
- Update go-version from 1.23 to 1.24 in ci.yml and .golangci.yml to match go.mod requirement - Fix postgres_test.go: use retrying.ID instead of undefined failed.ID in TestPostgresBackend_Nack Made-with: Cursor
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
- Disable fieldalignment govet analyzer (micro-optimization that hurts readability) - Fix deprecated gomnd → mnd, check-shadowing → shadow in .golangci.yml - Add package doc comments to all packages (ST1000/stylecheck) - Fix unchecked error returns: be.Close, tx.Rollback, m.Close, strconv.Atoi, json.Encode, viper.BindPFlag, viper.ReadInConfig, resp.Body.Close, cmd.Flags.Get*, fmt.Fprint*, w.Flush, MarkFlagRequired - Fix misspell: "cancelled" → "canceled" (US English) across all files - Fix gocritic exitAfterDefer: explicit cleanup before os.Exit in queuekitd - Fix gocritic ifElseChain: rewrite to switch in redis ListJobs - Fix prealloc: pre-allocate jobIDs slice in redis ListJobs - Fix unparam: remove always-constant queueName param from newTestJob - Remove unused scanJob function from postgres backend Made-with: Cursor
- Set errcheck check-blank to false (allows _ = convention for intentionally discarded errors) - Fix gofmt alignment issue in cmd/queuekitd/main.go - Fix package doc comments: remove blank lines between comment and package directive in config, httpapi, dashboard - Add package doc comments to all package main files (cmd/queuekitd, cmd/queuekit, examples/simple, examples/cron) - Add package doc comment to httpapi_test package - Fix unchecked be.Close() in example files - Pre-allocate result slice in httpapi_test mock ListJobs Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 3 — HTTP API:
Phase 4 — Dashboard:
Phase 5 — CLI:
Phase 6 — Packaging & Examples:
Made-with: Cursor