Skip to content

Re-work projects, remove namespaces#115

Merged
joefreeman merged 2 commits intomainfrom
rework-projects
Jan 30, 2026
Merged

Re-work projects, remove namespaces#115
joefreeman merged 2 commits intomainfrom
rework-projects

Conversation

@joefreeman
Copy link
Collaborator

This reworks how projects are managed. #110 introduced the concept of namespaces, which brought with it some improvements, but added another layer to the hierarchy. This change combines the two concepts, incorporating the improvements from namespaces into projects, and removing the concept of namespaces.

The orchestration server must now be started with either COFLUX_PROJECT or COFLUX_BASE_DOMAIN. If the former is specified, the server runs in a single-project mode. If the latter is specified, multiple projects can be run, and the subdomain (relative to the base domain) is used to determine the project (rather than explicitly passing a project ID with requests). (If both are specified, only a single project is run, and the subdomain must match.)

Projects are defined in the projects.json file, with the key being the project ID, and the value being an object, which can have a tokens key, where the value is an array of SHA256-encoded tokens for accessing the project. The file removes the need to explicitly specify the COFLUX_AUTH_MODE.

@joefreeman joefreeman merged commit 9b2aa0c into main Jan 30, 2026
3 checks passed
@joefreeman joefreeman deleted the rework-projects branch January 30, 2026 22:20
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.

1 participant