Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Docker builds report
|
There was a problem hiding this comment.
2 issues found across 9 files
Confidence score: 4/5
- In
snowflake.md, the private key may be readable by other local users if the shell’sumaskis permissive. Set a restrictiveumaskbefore generating it. - In
snowflake.md, readers may miss that event writes can resume the warehouse and incur compute charges. Clarify thatAUTO_RESUME = TRUEapplies to submitted DML as well as reads.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/docs/experimentation/connect-a-warehouse/snowflake.md">
<violation number="1" location="docs/docs/experimentation/connect-a-warehouse/snowflake.md:29">
P2: Set a restrictive `umask` before generating the private key; otherwise it can be created readable by other local users.</violation>
<violation number="2" location="docs/docs/experimentation/connect-a-warehouse/snowflake.md:87">
P2: With `AUTO_RESUME = TRUE`, an event-write statement also resumes the warehouse; Snowflake auto-resumes for submitted DML as well as reads. Please clarify that writes can incur warehouse compute too.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
| openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out flagsmith_key.p8 -nocrypt | ||
| openssl rsa -in flagsmith_key.p8 -pubout -out flagsmith_key.pub |
There was a problem hiding this comment.
P2: Set a restrictive umask before generating the private key; otherwise it can be created readable by other local users.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/docs/experimentation/connect-a-warehouse/snowflake.md, line 29:
<comment>Set a restrictive `umask` before generating the private key; otherwise it can be created readable by other local users.</comment>
<file context>
@@ -0,0 +1,163 @@
+Flagsmith signs in to Snowflake with a key pair. Run these commands on your machine:
+
+```bash
+openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out flagsmith_key.p8 -nocrypt
+openssl rsa -in flagsmith_key.p8 -pubout -out flagsmith_key.pub
+```
</file context>
| openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out flagsmith_key.p8 -nocrypt | |
| openssl rsa -in flagsmith_key.p8 -pubout -out flagsmith_key.pub | |
| umask 077 | |
| openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out flagsmith_key.p8 -nocrypt | |
| openssl rsa -in flagsmith_key.p8 -pubout -out flagsmith_key.pub |
| The warehouse suspends itself after 60 seconds idle and resumes when Flagsmith reads events; writing events doesn't wake | ||
| it. |
There was a problem hiding this comment.
P2: With AUTO_RESUME = TRUE, an event-write statement also resumes the warehouse; Snowflake auto-resumes for submitted DML as well as reads. Please clarify that writes can incur warehouse compute too.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/docs/experimentation/connect-a-warehouse/snowflake.md, line 87:
<comment>With `AUTO_RESUME = TRUE`, an event-write statement also resumes the warehouse; Snowflake auto-resumes for submitted DML as well as reads. Please clarify that writes can incur warehouse compute too.</comment>
<file context>
@@ -0,0 +1,163 @@
+GRANT ROLE FLAGSMITH_ROLE TO USER FLAGSMITH_SERVICE;
+```
+
+The warehouse suspends itself after 60 seconds idle and resumes when Flagsmith reads events; writing events doesn't wake
+it.
+
</file context>
| The warehouse suspends itself after 60 seconds idle and resumes when Flagsmith reads events; writing events doesn't wake | |
| it. | |
| The warehouse suspends itself after 60 seconds idle and automatically resumes when Flagsmith reads or writes events. |
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23750 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
🗂️ Previous results✅ private-cloud · depot-ubuntu-latest-16 — run #23750 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-16 — run #23750 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23750 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23747 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #23747 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-16 — run #23747 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23747 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
|
Visual Regression29 screenshots compared. See report for details. |
64b58af to
8a19a6b
Compare
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Stacked on #9089.
How did you test this code?
Docs site build passes, prettier is clean on the touched pages, and the setup SQL parity test passes.