Skip to content

  • 项目
  • 群组
  • 代码片段
  • 帮助
  • 当前项目
    • 正在载入...
  • 登录 / 注册
B
bit-pm
  • 项目
    • 项目
    • 详情
    • 活动
    • 周期分析
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 图表
    • 比较
    • 统计图
  • 议题 0
    • 议题 0
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 0
    • 合并请求 0
  • CI / CD
    • CI / CD
    • 流水线
    • 作业
    • 日程
    • 统计图
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 成员
    • 成员
  • 折叠边栏
  • 活动
  • 图像
  • 聊天
  • 创建新问题
  • 作业
  • 提交
  • 问题看板
  • 燕伟桐
  • bit-pm
  • Repository

切换分支/标签
  • bit-pm
  • rules
  • adding-settings.md
查找文件
BlameHistoryPermalink
  • keppo-bot[bot]'s avatar
    Add setting to keep app previews running forever (#3273) · bb2eadfe
    由 keppo-bot[bot] 提交于 4月 29, 2026
    ## Summary
    - Adds a `previewIdleTimeoutPolicy` enum setting (`"default"` |
    `"never"`) that controls the 10-minute idle GC for app previews.
    - When set to `"never"`, the idle GC is skipped so previews stay warm
    across app switches (more memory, faster preview loads).
    - Exposes a new toggle in Workflow Settings: **Keep app previews running
    forever** (disabled by default).
    
    ## Test plan
    - [ ] Leave the toggle off: open an app preview, switch to another app,
    wait 10+ minutes — original preview should be stopped as before.
    - [ ] Turn the toggle on: do the same — the original preview should keep
    running after the idle window.
    - [ ] Toggling off should restore GC on the next minute-interval.
    - [x] All existing unit tests pass (snapshots updated).
    - [x] Lint + typecheck pass.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3273"
    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 in Devin Review">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    ---------
    Co-authored-by: 's avatarWill Chen <7344640+wwwillchen@users.noreply.github.com>
    Co-authored-by: 's avatarClaude Opus 4.7 (1M context) <noreply@anthropic.com>
    bb2eadfe
adding-settings.md 1000 Bytes
编辑Web IDE

Replace adding-settings.md

拖放文件到此处或者 点击上传


取消
将在派生(fork)项目中中创建一个新的分支, 并开启一个新的合并请求。