Skip to content

Conversation

Parkreiner
Copy link
Member

Description

This PR updates the maintainer_github field for the new Coder Labs template to use the value of coder-labs. This shouldn't be necessary (maintainer_github should be deprecated), but something is off with our build step.

Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Related Issues

None

@Parkreiner Parkreiner self-assigned this Jul 7, 2025
description: Run Coder Tasks on Docker with an example application
icon: ../../../../.icons/tasks.svg
maintainer_github: coder
maintainer_github: coder-labs
Copy link
Member

Choose a reason for hiding this comment

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

Should we instead remove this line? we do not have a coder-labs github org

Both coder and coder-labs have the same GitHub account, coder.

Copy link
Member

Choose a reason for hiding this comment

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

We could use coder-contrib if needed 🤷🏼

Copy link
Member

@bpmct bpmct Jul 7, 2025

Choose a reason for hiding this comment

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

I just made https://github.com/coder-contrib more official.

However, I am confused why this is being used as the namespace and not the folder name under registry/. For long-term consideration

Copy link
Member

Choose a reason for hiding this comment

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

This is likely a bug in the build process, and your assumption is right that the namespace should be the directory.

Copy link
Member

@matifali matifali Jul 7, 2025

Choose a reason for hiding this comment

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

That's a good workaround for now. I am not sure, though if it work. We have yet to test a workflow where the namespace and the maintainer_github are different.

Copy link
Member

Choose a reason for hiding this comment

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

:(

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I just looked through the registry-server repo, and somehow, we really dropped the ball. In all our updates to the build step, we never updated the frontend payloads to actually get the namespace.

I always assumed that we just kept the maintainer_github field named the same way for backwards compatibility, but reworked how it worked behind the scenes to respect the new namespace system. Turns out, that part of the build step was never updated

Copy link
Member Author

@Parkreiner Parkreiner Jul 7, 2025

Choose a reason for hiding this comment

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

I legitimately think that keeping the maintainer_github field, and just swapping the value to coder-labs is the least risky way we can update things right now

Copy link
Member Author

Choose a reason for hiding this comment

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

Then I can spend today actually getting something in place to make the fields unnecessary (even though it should've been in place back in April/May)

Copy link
Member

Choose a reason for hiding this comment

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

Ok. Lets do this then to get the template out. And we can fix the build process meanwhile.

Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

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

A workaround to put the template in the correct namespace. We still need to fix the build process.

@Parkreiner Parkreiner merged commit c0f2d94 into main Jul 7, 2025
4 checks passed
@Parkreiner Parkreiner deleted the mes/labs-patch branch July 7, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants