1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-22 23:40:09 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
Tw93
6e1048a70a Revert "fix(ui): unify ICON_LIST dot size with ICON_SOLID"
This reverts commit 112d134829.
2026-03-18 15:24:07 +08:00
Tw93
112d134829 fix(ui): unify ICON_LIST dot size with ICON_SOLID
Change ICON_LIST from • (small bullet) to ● (filled circle) so both
checkbox indicators and list bullets render at the same balanced size.
2026-03-18 15:17:03 +08:00
corevibe555
2d8c938333 trust softwareupdate for macOS status and harden tests 2026-03-18 04:59:33 +01:00
Tw93
30c1a95731 Harden test mode against auth and uninstall side effects 2026-03-15 12:19:50 +08:00
Tw93
ba01cb7f43 test: fix parallel test flakiness and bash 3.2 empty-array expansion
- Fix 'bats_opts[@]: unbound variable' under set -u + bash 3.2: empty
  arrays must use ${arr[@]+"${arr[@]}"} idiom, not "${arr[@]}"
- Split core_performance.bats out of the parallel batch; run it after
  all parallel workers finish so wall-clock timing assertions aren't
  skewed by CPU contention from concurrent bats processes
- Raise MOLE_PERF_GET_INVOKING_USER_LIMIT_MS default 500→2000ms and
  add MOLE_PERF_SECTION_LIMIT_MS (default 2000ms) to give sufficient
  headroom without masking real regressions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-14 10:16:42 +08:00
Tw93
a7b28faeda chore: auto format code 2026-03-14 01:22:54 +00:00
Tw93
7697acb711 test: speed up bats execution 2026-03-14 09:19:54 +08:00
tw93
ff69504f89 fix: harden CI test stability and status collector resilience 2026-03-04 16:49:20 +08:00
tw93
7dac5dc4e2 refactor quick launcher metadata and docs 2026-02-24 14:24:46 +08:00
Sky Slinger
98089eeba8 Fix(raycast) : Made mole script commands discoverable (#489) 2026-02-24 14:17:51 +08:00
tw93
4a63ce330f fix(raycast): keep Ghostty window open after command 2026-02-14 20:37:00 +08:00
tw93
dfa586d951 fix(raycast): use correct macOS launch method for Ghostty (#415)
Ghostty CLI on macOS cannot launch terminal windows, causing cli:N field parse errors. Use `open -na Ghostty --args -e` instead.
2026-02-05 11:33:19 +08:00
tw93
c5073ec6c8 fix(setup): improve command escaping for Raycast scripts 2026-02-04 20:46:28 +08:00
tw93
7f787b5c04 fix: implement MO_USE_FIND and improve fd fallback logic
Fixes the issue reported in PR #410 where mo purge fails to find
artifacts when fd returns empty results.

Changes:
- Implement MO_USE_FIND environment variable to force using find
- Improve fd fallback: check if fd output is empty (-s test)
- Add debug logging to show which tool is being used
- If fd returns no results, fallback to find automatically

This fixes the root cause where fd successfully runs (exit 0) but
finds nothing, preventing the find fallback from being triggered.
2026-02-04 20:05:09 +08:00
tw93
8861fe6b5f chore(raycast): prompt before continuing 2026-02-04 16:58:39 +08:00
tw93
ba1a21f8e7 chore(raycast): add explicit script dir steps 2026-02-04 16:54:59 +08:00
tw93
9a6427408e chore(raycast): make setup manual 2026-02-04 16:48:15 +08:00
tw93
5edddb616b chore(raycast): clarify settings open fallback 2026-02-04 16:43:07 +08:00
tw93
8bf3d419f5 fix(raycast): defer command interpolation 2026-02-04 16:39:02 +08:00
tw93
e966838c82 style: standardize punctuation across codebase
- Replace parentheses with commas for supplementary info
- Use commas instead of em-dashes for separators
- Update bullet points from - to * in some contexts
- Improve version extraction regex with fallback logic
2026-01-26 14:36:06 +08:00
Oleksandr Redko
f1de7ffd18 fix: golangci-lint config 2026-01-08 10:20:42 +02:00
Tw93
68c84e3bfc chore: optimize check.sh to use goimports for formatting if available 2026-01-08 14:34:26 +08:00
Matt Kneale
0cc205209c feat: add golangci-lint for Go code quality
- Add .golangci.yml configuration enabling govet, staticcheck, errcheck, gosimple, ineffassign, unused, gofmt, and goimports linters
- Update scripts/check.sh to run golangci-lint with go vet fallback
- Update CI workflow to install golangci-lint in both format and quality jobs
- Add golangci-lint to CONTRIBUTING.md setup instructions

Closes #266
2026-01-08 14:30:54 +08:00
Tw93
9f504dc249 feat: implement installer cleanup functionality, add ZIP and file descriptor installer tests, and update README 2026-01-04 15:46:48 +08:00
Tw93
6dfd675417 refactor: standardize epoch time retrieval with get_epoch_seconds and ensure locale-independent string transformations. 2026-01-03 18:07:47 +08:00
Tw93
6698099215 chore: auto format code 2026-01-03 06:11:23 +00:00
Tw93
8db91730b3 feat: Add conditional colorization to BATS test output based on terminal capabilities and formatter. 2026-01-03 13:59:19 +08:00
Tw93
ac5c0e3c9d fix: Add Library directory existence check to clean script and enhance test script for bats version compatibility. 2026-01-03 12:30:53 +08:00
Tw93
4aef2de0fc refactor: Consolidate and refactor test suite by removing redundant files and simplifying test execution. 2026-01-03 12:04:57 +08:00
Tw93
910e79df4e feat: Improve clean command's regex handling and pnpm cache cleaning, enhance test output, update completion descriptions, and clarify installation instructions. 2026-01-02 18:50:42 +08:00
Tw93
fdcaa7fa25 Fix workflow errors 2025-12-31 22:54:51 +08:00
Tw93
592f02e6e2 feat: overhaul quality checks and expand test suite for clean and optimize features 2025-12-31 18:13:37 +08:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Tw93
8d935c6140 feat: Improve clean_local_snapshots robustness and simplify Raycast quick launcher setup. 2025-12-31 10:22:53 +08:00
Tw93
bd1c37d627 fix: reduce raycast setup prompts after first run 2025-12-30 23:40:19 +08:00
Tw93
f33304ae12 chore: auto format code 2025-12-30 15:06:41 +00:00
Tw93
98afaabcff fix: make raycast setup safe in non-interactive 2025-12-30 23:05:53 +08:00
Tw93
e2c1b62046 chore: auto format code 2025-12-30 15:02:31 +00:00
Thijs van Hal
5d6a4640a8 enhance raycast quick launcher setup script 2025-12-30 12:01:27 +01:00
Tw93
6c1fcd23d7 feat: optimize clean operation performance by pre-expanding whitelist patterns, improving size calculation, and adapting parallel processing based on file types, alongside test suite enhancements. 2025-12-30 17:13:43 +08:00
Tw93
af61748977 release binaries via GH releases and update installer fallback 2025-12-29 20:23:11 +08:00
Tw93
b67204f959 feat: remove SQLite vacuum optimization, enhance CJK/emoji width calculation, and improve system cleanup and UI feedback. 2025-12-29 00:29:42 +08:00
Nathan Broadbent
f838e9517d fix: use BSD stat explicitly to avoid GNU coreutils conflict (#160) 2025-12-26 10:43:18 +08:00
Tw93
87fdd26272 feat: Add git hooks to enforce universal binary builds and improve CPU metric calculation. 2025-12-22 16:30:22 +08:00
Tw93
73cf2dff96 build: Disable CGO for analyze-go and status-go binaries. 2025-12-21 21:38:39 +08:00
Tw93
0427dbb6c0 feat: Expand critical system component protection in clean user logic and apply minor shell script fixes. 2025-12-17 20:42:25 +08:00
Tw93
2d7932025f Parallel scanning and testing 2025-12-11 19:24:23 +08:00
Tw93
dd841891ad Test extensive coverage and improvement 2025-12-11 11:31:09 +08:00
Tw93
78e6743666 Performance and speed optimization 2025-12-08 15:34:51 +08:00
Tw93
4bd4ffc7be Reconstruct clean lib code 2025-12-01 16:58:35 +08:00