Skip to content

fix(import): address review findings for progress bar PR#127

Merged
jeff-r2026 merged 1 commit into
Tencent:mainfrom
m0Nst3r873:fix/import-progress-review
Jul 3, 2026
Merged

fix(import): address review findings for progress bar PR#127
jeff-r2026 merged 1 commit into
Tencent:mainfrom
m0Nst3r873:fix/import-progress-review

Conversation

@m0Nst3r873

Copy link
Copy Markdown
Contributor

Summary

Follow-up fixes for PR #117 (progress bar) that was merged before review fixes landed.

Priority Fix
P0 exitOnError: falsetrue in --from-mr listr2 config (errors were silently swallowed)
P1 Backward compat for old Chinese marker ## AI 架构叙事 in overview.md
P1 setSilent(true) around listr2 to prevent ora/listr2 TTY conflict
P2 Explicit LearningDraft | undefined type for ctx.learning
P2 task.title instead of task.output for failure message

Test plan

  • tsc --noEmit clean
  • 1582 tests passing

🤖 Generated with Claude Code

- P0: Change exitOnError from false to true in --from-mr listr2 config
  (prevents silent error swallowing)
- P1: Add backward compat for old Chinese marker '## AI 架构叙事' in
  overview.md idempotent replacement
- P1: Add setSilent(true) around listr2 tasks.run() to prevent ora
  spinner conflicts with listr2 renderer in TTY mode
- P2: Use explicit LearningDraft | undefined type for ctx.learning
  instead of unsafe 'as unknown' cast
- P2: Use task.title instead of task.output for failure message in
  Task 2, so listr2 doesn't show misleading green checkmark
@jeff-r2026 jeff-r2026 merged commit 5f3968d into Tencent:main Jul 3, 2026
7 checks passed
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.

2 participants