Cortex Code Desktop v1.21.1 release notes¶
v1.21.1 is a stability and polish release on top of v1.21.0. It gives dbt projects a full command center with output streaming and a new Lineage tab, completes the restricted session scope experience, adds monthly automation schedules, and fixes a bug that could stop all terminal commands from working until you restarted the app.
What’s new¶
-
dbt command center: In local mode, the Project Action Bar now has an editable full-CLI command input with Run and Stop buttons. For Snowflake-managed runs, the Action Bar adds Profile and Environment controls plus an input for
--selectand other flags. Your choices persist per project, and the command preview updates as you change flags. -
dbt output in the OUTPUT panel: dbt runs started from the Action Bar stream into the native OUTPUT panel as a plain-text, copy-paste-friendly transcript with clear run status. Transcripts are kept per project, so they survive switching projects. Snowflake-managed command labels are sanitized:
ENV_VARSkeys are shown but values are redacted. -
New Lineage tab: The dbt DAG moves into a Lineage tab in the bottom panel that follows the project you have selected. You can send lineage selections straight to chat with Add to chat.
-
Restricted session scope improvements: The restricted session scope dialog now opens immediately with an in-dialog loading state instead of waiting on Snowflake, keeps a single persistent dialog as you move between the existing-scope and creation steps, lists all your account roles up front instead of requiring a search term, and keeps Back and Cancel available while creation is in flight.
-
Monthly automation schedules: Automations add a Monthly frequency with a day-of-month control (1 through 31), for both local and cloud automations. Months that don’t have the chosen day are skipped, so a schedule set to the 31st is safe in February.
-
Publish HTML reports from Desktop: The publish-report flow now runs natively in Cortex Code Desktop, so publishing an HTML report no longer requires the
cortexcommand-line binary. The target must be an.htmlor.htmfile inside your open workspace. -
Right-click menu for chat sessions: Conversations in the Agent Manager sidebar now offer Pin, Rename, and Delete from a right-click context menu, alongside the existing hover buttons.
-
dbt execution timeout: A new
dbt.snowflakeManaged.executionTimeoutsetting (default 4 hours) caps Snowflake-managed dbt runs that never return, instead of showing them as running indefinitely.
Reliability and fixes¶
- Fixed: terminal commands failing until restart: Subagent and background terminals leaked pseudo-terminals until every new terminal command failed. They’re now cleaned up on every exit path, including cancellation and stopping an agent.
- Fixed: remote paths on Windows over SSH: On a Windows client connected to a remote Linux host, remote paths were converted to Windows-style backslashes, which broke the terminal working directory and could silently resolve file operations on the local machine instead of the remote host. Remote sessions now use POSIX paths end to end.
- Faster follow-up responses after plan edits: Checking off a plan task no longer rewrites already-sent chat history, which previously forced a large context re-send.
- Fewer renderer crashes: Fixed a memory leak where pooled code blocks retained their editor models, which could crash the renderer during heavy streamed output.
- Fixed: dbt runs hanging or losing results on timeout: A Snowflake-managed dbt run that timed
out could wedge, or could discard its
manifest.jsonandrun_results.jsonwhen it actually succeeded during cancellation. - Steadier restricted session scope setup: An expired parent token during child-session setup now retries once with refreshed credentials instead of surfacing an isolation error. Scope isolation is preserved.