Skip to content

test: cover repeated dotfiles backup through directory symlinks - #184

Merged
fullstackjam merged 2 commits into
mainfrom
codex/fix-dotfiles-directory-symlinks
Nov 17, 2026
Merged

fullstackjam merged 2 commits into
mainfrom
codex/fix-dotfiles-directory-symlinks

Conversation

@fullstackjam

@fullstackjam fullstackjam commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

补充目录符号链接的备份回归测试,覆盖 .agents、.agents/skills 和单个 skill 目录,并连续运行两次。

Why?

生产修复已在 #183 合入。本次实际故障出现源文件被移走和 .openboot.bak.openboot.bak,新增断言确保已有备份的内容保持不变,也不会产生嵌套备份。

Testing

  • go vet ./... passes
  • Relevant tests added or updated
  • Tested locally: go test ./internal/dotfiles -run TestBackupConflicts -count=1
  • make test-unit 已通过;未执行本机破坏性完整安装。

Cross-repo checklist

  • 无需 openboot.dev 文档或内容更新
  • 不改变 CLI ↔ server API contract

Notes for reviewer

仅扩展 #183 已有测试,无生产代码变更。覆盖源文件与旧备份内容保留、目标文件可读以及重复执行不产生二次备份。

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-17T16:00:05.145958Z
We couldn’t complete this review. Comment @codex review to try again.
c9b6008 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions github-actions Bot added the tests Tests only label Nov 17, 2026
@fullstackjam
fullstackjam merged commit f19ed70 into main Nov 17, 2026
7 of 10 checks passed
@fullstackjam
fullstackjam deleted the codex/fix-dotfiles-directory-symlinks branch November 17, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant