Skip to content

Commit go.sum and fix CI lint failures #11

Description

@jeanmachuca

What

Two issues blocking CI:

  1. go.sum is missing from the repository
  2. golangci-lint reports multiple errcheck violations:
    • internal/server/server.go: unchecked json.NewEncoder(w).Encode, json.Decoder.Decode
    • internal/model/model_test.go: unchecked os.MkdirAll, os.WriteFile (test code)
    • internal/server/server_test.go: unchecked os.MkdirAll, json.Encoder.Encode (test code)

Why

CI is completely broken. While some violations are in test code, they should still be fixed for consistency.

How

  • Run 'go mod tidy' and commit go.sum
  • Add explicit error checks for all json.Encode/Decode and os.MkdirAll/WriteFile calls
  • Verify CI passes after fixes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciContinuous Integration

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions