Stage bucket names are inconsistent between DEV and the other stages
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- aws, python, terraform
- Domain
- databases, infrastructure
Research direction
Read the bucket definitions in infra/terraform/environments/local/main.tf:86-97 and infra/terraform/environments/aws-poc/main.tf:104-112, then inspect the migration comments and current tests and e2e checks for hard-coded bucket names. Update the naming consistently across stages and address the documented DEV data and catalog migration. Done means both Terraform roots, the bucket list in docs/architecture/local-stack-contracts.md, the upgrade section in docs/setup/local.md, and affected tests and e2e checks use the agreed scheme.
Written by the indexing model from the issue text.
Description
Problem
Medallion bucket names follow two different schemes depending on the stage, and neither matches the stage catalog names (lakehouse_dev, lakehouse_prod).
| Stage | Bronze bucket today | Source |
|---|---|---|
| DEV | lakehouse-bronze (the v0.2 name, from var.bronze_bucket_name) |
infra/terraform/environments/local/main.tf:86-97 |
| UAT / PROD | ${profile_name}-${stage}-bronze, which is openlakeforge-prod-bronze by default |
same block |
The AWS root does the same (infra/terraform/environments/aws-poc/main.tf:104-112, preserve_legacy_names = name == "dev"). Silver and Gold follow the same pattern.
So a reader can't tell from a bucket name which stage it belongs to: DEV has no stage in its names, and the prefix changes between stages.
Desired naming
One scheme for every stage, aligned with the catalogs:
lakehouse-<stage>-bronze
lakehouse-<stage>-silver
lakehouse-<stage>-gold
So DEV uses lakehouse-dev-* and PROD uses lakehouse-prod-*. The new architecture charts already use these names.
Things to handle
- Migration. The DEV buckets hold the Iceberg data and metadata that Polaris (local) and Glue (AWS) point to. The comments at
local/main.tf:88-91andaws-poc/main.tf:106-109keep the legacy names on purpose, so a rename needs either a copy and catalog re-registration, or a documented reset for alpha installs. - Prefix. Decide whether the prefix stays fixed (
lakehouse) or comes from the Deployment Profile name. If it comes from the profile name, the default profile name and the catalog naming need to agree. - Docs. Update the bucket list in
docs/architecture/local-stack-contracts.mdand the "Upgrading a v0.2 local deployment" section ofdocs/setup/local.md. - Tests and e2e. Update every test and e2e check that hard-codes
lakehouse-bronze/-silver/-gold.
- Dominant language
- Python
- Stars
- 26
- Forks
- 6
- Avg merge
- 12h 14m
- Merged PRs (30d)
- 133
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenLakeForge/openlakeforge
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OpenLakeForge/openlakeforge#498 ·
Maintainers usually reply within 1 day
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OpenLakeForge/openlakeforge#497 ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenLakeForge/openlakeforge#494 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OpenLakeForge/openlakeforge#488 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenLakeForge/openlakeforge#487 ·
Maintainers usually reply within 1 day
All issues in OpenLakeForge/openlakeforge
Similar issues
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)Possibly taken @Wurschdhaud claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
pyrevitlabs/pyRevit#3817 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
521xueweihan/HelloGitHub#4074 ·
-
follow-up
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Helm chart: allow setting ingressClassName on the IngressPossibly taken @commarla claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
pgadmin-org/pgadmin4#10658 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100