Skip to content

Fix missing plugin name prefix in --set hint for apps init - #5089

Merged
andrewnester merged 1 commit into
mainfrom
fix/apps-init-set-hint-missing-plugin-prefix
May 6, 2026
Merged

Fix missing plugin name prefix in --set hint for apps init#5089
andrewnester merged 1 commit into
mainfrom
fix/apps-init-set-hint-missing-plugin-prefix

Conversation

@pkosiec

@pkosiecpkosiec commented Apr 27, 2026

Copy link
Copy Markdown
Member

Summary

  • The validation error for missing required resources suggested --set postgres.branch=value, but the --set format requires three parts: plugin.resourceKey.field. The correct hint is --set lakebase.postgres.branch=value.
  • Added PluginName field to the Resource struct (populated during CollectResources/CollectOptionalResources) and included it in the error message.

Thanks to @philip for spotting this bug!

Test plan

  • Existing TestParseSetValues* tests pass
  • libs/apps/manifest tests pass

This pull request and its description were written by Isaac.

@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from 6b00d34 to 8d5146aCompareApril 27, 2026 09:27
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from 8d5146a to 5cd2432CompareApril 27, 2026 11:47
@pkosiec
pkosiec marked this pull request as ready for review April 27, 2026 11:47
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from 5cd2432 to eff0b4cCompareApril 28, 2026 07:58
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from eff0b4c to 3d18c83CompareApril 28, 2026 14:27
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from 3d18c83 to ae2ecf7CompareApril 29, 2026 13:12
@pkosiec
pkosiec enabled auto-merge April 29, 2026 13:12
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from ae2ecf7 to 93edb9dCompareApril 30, 2026 07:36
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from 93edb9d to a20fc01CompareApril 30, 2026 14:57
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from a20fc01 to 844ffe5CompareMay 4, 2026 12:30
@pkosiec
pkosiectemporarily deployed to test-trigger-is May 4, 2026 12:31 — with GitHub Actions Inactive
@pkosiec
pkosiectemporarily deployed to test-trigger-is May 4, 2026 12:31 — with GitHub Actions Inactive
@pkosiec
pkosiec disabled auto-merge May 4, 2026 12:40
The validation error for missing required resources suggested
`--set postgres.branch=value` but the actual format requires
`--set lakebase.postgres.branch=value` (plugin.resourceKey.field).
Add `PluginName` to the `Resource` struct and include it in the
error message so the hint matches what `parseSetValues` expects.
@pkosiec
pkosiecforce-pushed the fix/apps-init-set-hint-missing-plugin-prefix branch from 844ffe5 to 75b12abCompareMay 4, 2026 12:43
@pkosiec
pkosiectemporarily deployed to test-trigger-is May 4, 2026 12:43 — with GitHub Actions Inactive
@pkosiec
pkosiectemporarily deployed to test-trigger-is May 4, 2026 12:43 — with GitHub Actions Inactive
@andrewnester
andrewnester merged commit 796a01d into mainMay 6, 2026
24 of 25 checks passed
@andrewnester
andrewnester deleted the fix/apps-init-set-hint-missing-plugin-prefix branch May 6, 2026 10:04
denik pushed a commit that referenced this pull request May 20, 2026
## Summary
- The validation error for missing required resources suggested `--set
postgres.branch=value`, but the `--set` format requires three parts:
`plugin.resourceKey.field`. The correct hint is `--set
lakebase.postgres.branch=value`.
- Added `PluginName` field to the `Resource` struct (populated during
`CollectResources`/`CollectOptionalResources`) and included it in the
error message.
Thanks to @philip for spotting this bug!
## Test plan
- [x] Existing `TestParseSetValues*` tests pass
- [x] `libs/apps/manifest` tests pass
This pull request and its description were written by Isaac.
TanishqDatabricks pushed a commit to TanishqDatabricks/cli that referenced this pull request May 22, 2026
…ricks#5089)
## Summary
- The validation error for missing required resources suggested `--set
postgres.branch=value`, but the `--set` format requires three parts:
`plugin.resourceKey.field`. The correct hint is `--set
lakebase.postgres.branch=value`.
- Added `PluginName` field to the `Resource` struct (populated during
`CollectResources`/`CollectOptionalResources`) and included it in the
error message.
Thanks to @philip for spotting this bug!
## Test plan
- [x] Existing `TestParseSetValues*` tests pass
- [x] `libs/apps/manifest` tests pass
This pull request and its description were written by Isaac.
Sign up for freeto 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.

4 participants

@pkosiec@MarioCadenas@calvarjorge@andrewnester