• Mohamed Aziz Mejri's avatar
    Neon integration (#3178) · 661e1438
    Mohamed Aziz Mejri 提交于
    ### Context for review bots :
    
    1.The agent can execute sql commands directly on production , this is
    fine because they user may choose to start with a simple setup first and
    use the production database directly (in a follow up PR we should give
    the users the ability to sync dev branch to match production branch).The
    user also has the possiblity to revert database changes .
    2.Right now there’s no warning for destructive changes before migration
    , this is fine for now as we're gonna add a follow up PR for this
    3.When linking an existing neon project that doesnt have a developement
    database , we're setting the default branch as the active branch . This
    is fine because the user may prefer to start a simple setup at the
    beginning and work directly on the production database , in addition
    since the project was created outside dyad it may have a developement
    branch named differently so it wouldnt be wise to auto create one here .
    However, in a follow up PR we should allow the user to manually create
    branches and sync dev branch to match production .
    4.neon is only available for next.js now
    5.We dont have enough tests for now, i am gonna add a follow-up PR to
    cover this
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3178"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    ---------
    Co-authored-by: 's avatarClaude Opus 4.6 (1M context) <noreply@anthropic.com>
    661e1438
名称
最后提交
最后更新
..
__snapshots__ 正在载入提交数据...
README.md 正在载入提交数据...
ai_messages_cleanup.test.ts 正在载入提交数据...
ai_messages_utils.test.ts 正在载入提交数据...
app_env_vars_utils.test.ts 正在载入提交数据...
chatCancellation.test.ts 正在载入提交数据...
chat_stream_handlers.test.ts 正在载入提交数据...
chat_tabs.test.ts 正在载入提交数据...
cleanFullResponse.test.ts 正在载入提交数据...
compaction_storage.test.ts 正在载入提交数据...
compaction_utils.test.ts 正在载入提交数据...
formatMessagesForSummary.test.ts 正在载入提交数据...
git_branch_handlers.test.ts 正在载入提交数据...
git_utils.test.ts 正在载入提交数据...
github_utils.test.ts 正在载入提交数据...
image_dimension_utils.test.ts 正在载入提交数据...
image_utils.test.ts 正在载入提交数据...
local_agent_handler.test.ts 正在载入提交数据...
local_agent_list_files_path_safety.test.ts 正在载入提交数据...
local_agent_prompt.test.ts 正在载入提交数据...
mcp_tool_utils.test.ts 正在载入提交数据...
media_cleanup.test.ts 正在载入提交数据...
mention_apps.test.ts 正在载入提交数据...
parseOllamaHost.test.ts 正在载入提交数据...
parse_media_mentions.test.ts 正在载入提交数据...
path_utils.test.ts 正在载入提交数据...
plan_annotation_dom.test.ts 正在载入提交数据...
posthogTelemetry.test.ts 正在载入提交数据...
prepare_step_utils.test.ts 正在载入提交数据...
problem_prompt.test.ts 正在载入提交数据...
readSettings.test.ts 正在载入提交数据...
replacePromptReference.test.ts 正在载入提交数据...
replaceSlashSkillReference.test.ts 正在载入提交数据...
retryWithRateLimit.test.ts 正在载入提交数据...
retry_replay_utils.test.ts 正在载入提交数据...
selectionCommentButtonPosition.test.ts 正在载入提交数据...
style-utils.test.ts 正在载入提交数据...
supabase_utils.test.ts 正在载入提交数据...
telemetry.test.ts 正在载入提交数据...
useParseRouter.test.ts 正在载入提交数据...
versioned_codebase_context.test.ts 正在载入提交数据...
windows_signing.test.ts 正在载入提交数据...
xmlEscape.test.ts 正在载入提交数据...