WIP: ✨ feat(config): separate datacenter and user regions #4
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/s3-user-region"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The existing region setting was ambiguous: it drove inference emissions while also being the only available location for user-facing equivalents.
Impact
Adds explicit user-region configuration via flag, environment, and config file while preserving the existing datacenter calculation. User-grid defaults follow the resolved datacenter grid, unknown regions retain the 480 gCO2e/kWh fallback, and deterministic warnings plus additive JSON metadata expose the ambiguity.
Verification
go test ./...go vet ./...git diff --checkThis PR is intentionally draft.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.