Skip to content

HTTP Server and Entrypoint#26

Merged
hayesZach merged 13 commits intomasterfrom
feature/server
Jan 30, 2026
Merged

HTTP Server and Entrypoint#26
hayesZach merged 13 commits intomasterfrom
feature/server

Conversation

@hayesZach
Copy link
Copy Markdown
Collaborator

@hayesZach hayesZach commented Jan 28, 2026

Closes CSF-875


Note

Medium Risk
Introduces a new main entrypoint and server wiring, including HTTP lifecycle management and repository initialization; startup/shutdown and dependency injection changes can affect availability and resource cleanup.

Overview
Adds a runnable HTTP service: a new main.go boots config/logging, starts an http.Server with timeouts, handles SIGTERM/SIGINT, and performs graceful shutdown including closing repositories.

Introduces a server.New built on chi (new dependency) that initializes private/public repositories, wires standard chi middleware, and injects a new repository.Factory into request context via FactoryMiddleware (with supporting test factory and middleware tests).

Written by Cursor Bugbot for commit fd581b0. This will update automatically on new commits. Configure here.

@hayesZach hayesZach self-assigned this Jan 28, 2026
@hayesZach hayesZach added the Enhancement New feature or request label Jan 28, 2026
@hayesZach hayesZach marked this pull request as ready for review January 28, 2026 17:51
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@hayesZach hayesZach changed the base branch from master to feature/middleware January 28, 2026 20:58
@hayesZach hayesZach requested a review from Step7750 January 29, 2026 17:18
@linear
Copy link
Copy Markdown

linear bot commented Jan 29, 2026

Base automatically changed from feature/middleware to master January 29, 2026 23:40
@hayesZach hayesZach merged commit 36ae34f into master Jan 30, 2026
2 checks passed
@hayesZach hayesZach deleted the feature/server branch January 30, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants