Skip to content

Caddyfiles are not caddy fmt-clean #50

Closed

Description

@danmoz

Low severity.

infra/Caddyfile and the root Caddyfile are not caddy fmt-clean (mixed tabs/spaces).

Activity

  1. self-assigned this
    on Sep 5, 2026
  2. added
    toolingTooling, CI, or developer-experience issue
    on Sep 5, 2026
  3. danmoz commented on Sep 5, 2026

    @danmoz
    OwnerAuthor

    /oc Why did the CI not pick up this issue? Are we not running the caddy formatter?

  4. opencode-agent commented on Sep 5, 2026

    @opencode-agent
    Contributor

    Correct — CI never runs the Caddy formatter.

    The quality job runs mise format --check and mise lint --check (.github/workflows/ci.yml:41-44), but those tasks in mise.toml only cover:

    • gofmt for *.go files (.github/workflows/ci.yml → mise.toml:26-33)
    • ruff for testapp/lambda Python (.github/workflows/ci.yml → mise.toml:30,50)

    There is no caddy binary in [tools] and no caddy fmt task anywhere, so the Caddyfile (and infra/Caddyfile) indentation is never validated. That's why mixed tabs/spaces slipped through.

    Want me to add a caddy fmt --check step? It'd require installing the caddy tool in mise.toml and wiring it into the format/lint tasks (or a dedicated one).

    New%20session%20-%202026-09-05T06%3A46%3A38.054Z
    opencode session  |  github run

  5. danmoz commented on Sep 5, 2026

    @danmoz
    OwnerAuthor

    /oc Yes please.

  6. opencode-agent commented on Sep 5, 2026

    @opencode-agent
    Contributor

    Created PR #77

    New%20session%20-%202026-09-05T20%3A19%3A40.109Z
    opencode session  |  github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

toolingTooling, CI, or developer-experience issue

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions