Skip to content

Snowflake Apps: add forking support to snowflake-app entities#2998

Draft
sfc-gh-jfloyd wants to merge 1 commit into
mainfrom
apps-forking
Draft

Snowflake Apps: add forking support to snowflake-app entities#2998
sfc-gh-jfloyd wants to merge 1 commit into
mainfrom
apps-forking

Conversation

@sfc-gh-jfloyd
Copy link
Copy Markdown
Contributor

Add a forking field to the snowflake-app entity model that controls source code accessibility after deploy. When forking: true, the code stage FQN is written to the service comment JSON as a "source" field so UIs can offer fork functionality. When forking: false, the code stage is cleared after build to prevent source access. Generated projects default to forking: false.

.... Generated with Cortex Code

Pre-review checklist

  • I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
  • I've added or updated automated unit tests to verify correctness of my new code.
  • I've added or updated integration tests to verify correctness of my new code.
  • I've confirmed that my changes are working by executing CLI's commands manually on MacOS.
  • I've confirmed that my changes are working by executing CLI's commands manually on Windows.
  • I've confirmed that my changes are up-to-date with the target branch.
  • I've described my changes in the release notes.
  • I've described my changes in the section below.
  • I've described my changes in the documentation.

Changes description

...

@sfc-gh-jfloyd sfc-gh-jfloyd force-pushed the apps-forking branch 2 times, most recently from b005331 to d246fbe Compare May 8, 2026 15:37
Add a `forking` field to the snowflake-app entity model that controls
source code accessibility after deploy. When `forking: true`, the code
stage FQN is written to the service comment JSON as a "source" field so
UIs can offer fork functionality. When `forking: false`, the code stage
is cleared after build to prevent source access. Generated projects
default to `forking: false`.

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
Sign up for free to 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.

1 participant