-
Notifications
You must be signed in to change notification settings - Fork 151
GCS Explicit Credentials #8142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GCS Explicit Credentials #8142
Conversation
|
Repost from Linear: One thing here is that you dont need to plug the service account key in the model JSON 🙂 Other than that, demo looks great! thanks for the fast addition. |
|
@claude Please review this code for clarity and maintainability. One component that I feel is at-risk is "AddDataForm.svelte", so please include an inspection of that code. |
|
Claude finished @ericpgreen2's task —— View job Code Review for PR #8142: Explicit credentials for GCSI've completed a thorough review of this PR, focusing especially on AddDataForm.svelte as requested. Here's my detailed analysis: 🔍 Overall AssessmentThis PR successfully implements explicit credential support for GCS with a step-based form flow. The implementation is functionally sound but has significant maintainability concerns in AddDataForm.svelte that need attention.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see Claude's assessment above and break down the "AddDataForm" into modular components. A 986-line component with so many conditionals is far too complex!
These are acceptable codesmell as we plan on tackling this in https://linear.app/rilldata/issue/APP-449/composable-adddataform We covered this in our 1:1 |
This PR introduces significant complexity with the multi-step form logic. It expands the |
- Document new two-step authentication flow (Step 1: Auth → Step 2: Source) - Add UI instructions for uploading service account JSON files - Add detailed HMAC key generation and configuration steps - Update YAML examples to show proper connector/source separation - Clarify deployment requirements for Rill Cloud Related to PR #8142 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
I've broken down |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a comment to review, maybe a quick followup PR instead of this one.
* remove gcs from maybeRewriteToDuckDb * init spec change * file input for big query * working * revert and new file input component * swap spec bigquery sequence * clean up credentials input, restrict to credentials file type * add input label to credentials input * css tweaks * css tweaks * clean up config properties * lint * lint * auth method radio * prettier * rearrange, styles * ui tweaks * extract project_id from credentials JSON * external link * custom slot to support nested * copy and clear credentials on method change * hide content when switching option * trash icon to remove uploaded credentials * icon buttno * copy command interaction * include bigquery as part of form height * hide credentials input when inferred is selected * radio style tweaks * credentials first * refine custom slot for credentials option * style tweaks for code copy block * style * persist credentials input filename * copy update * bump link * inital * revert and remove bigquery auth options * revert * remove source properties from gcs * specify gcs in the connector type * clean up * clean up * clean up * remove special gcs form display for path and name * attempt to fix e2e * secret key id * re-add source props path and name * gcs: connector + model * multi step connectors * centralize connector step store * hoist form height * add e2e for multi step * lint * tweak multi step connectors * filter out connector properties from step 2 * hide back btn in step 2 * add skip button for multi step connector * reset connector step when closing modal * hmac key id secret * path validaton yupschema * fix handle back logic * initial break down AddDataForm * lint * clean up

This PR supports HMAC and Google application credentials authentication in GCS form. In addition to creating connector files, we now support step-based form flow: Step 1 (Connector) → Step 2 (Model/Source)
Closes https://linear.app/rilldata/issue/APP-353/gcs-explicit-credential-flow-for-models
Checklist: