Skip to content

Update from task 22ee51f5-53cd-435c-ad09-bbfa26f7dbcd - #4

Merged
ciao22king merged 1 commit into
mainfrom
code-refactoring-and-optimization-7dbcd
Oct 11, 2026
Merged

ciao22king merged 1 commit into
mainfrom
code-refactoring-and-optimization-7dbcd

Conversation

@ciao22king

Copy link
Copy Markdown
Owner

This PR was created by qwen-chat coder for task 22ee51f5-53cd-435c-ad09-bbfa26f7dbcd.

…es and test coverage

- Extract domain logic from internal/app to new packages: internal/core (git, build, history, config, repository), internal/fetch (orchestration)
- Fix race condition in clone progress streaming by using buffered channels and non-blocking sends in commands.go
- Resolve UI performance bottleneck by caching lipgloss styles as package-level constants and reusing help.Model in view.go
- Prevent duplicate Enter submissions spawning parallel ls-remote lookups via urlSubmitted flag in app.go
- Handle cancelled clones correctly by removing half-written directories in fetch.Run and core.Clone
- Implement atomic file writes for history and config with Windows fallback to prevent data corruption
- Add support for file:// URLs and self-hosted Git instances in repository parsing
- Introduce friendly error mapping for git operations (auth, network, branch not found) in core/git.go
- Add concurrent manifest detection for build plans to reduce disk I/O latency in core/build.go
- Migrate tests to appropriate packages: internal/core/git_test.go, internal/core/history_test.go, internal/fetch/fetch_test.go
- Update app_test.go to use new core types and verify flow integration without leaking goroutines
@ciao22king
ciao22king merged commit 95fc5d7 into main Oct 11, 2026
1 of 4 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