Skip to content

Remove autogenerated files from coder/coder #333

Open
@mtojek

Description

@mtojek

Problem Statement

Whenever we modify the database schema or gRPC contract, it results in at least three additional files being altered and included in a pull request. These changes often clutter PRs, making it harder to review them effectively.

Do we really need to store these generated files in the repository? Reducing the number of committed files could make it easier to spot accidental schema or contract changes, while also improving PR clarity.

Proposed Solution

Since making coder/coder go-gettable is no longer a common practice, we could leverage the Makefile to generate the necessary code dynamically when building the binaries.

This approach would:
✅ Reduce unnecessary diffs in PRs
✅ Improve code review efficiency
✅ Minimize accidental changes in schema or contracts

Would love to hear thoughts on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions