feat: add whitelist char support to nonascii check #100

Merged
manuel merged 5 commits from feat_repo-healthcheck-whitelist-char into master 2026-04-26 08:23:34 +08:00

5 Commits

Author SHA1 Message Date
032f4d18df
Merge branch 'master' into feat_repo-healthcheck-whitelist-char
Some checks failed
build / build (pull_request) Failing after 27m5s
build / trigger-build-image (pull_request) Has been cancelled
build / build (push) Successful in 7m25s
build / trigger-build-image (push) Has been skipped
2026-04-22 15:30:30 -07:00
8b76780c98
chore: rename whitelistedCharsCSV to whitelistedChars
Some checks failed
build / build (pull_request) Failing after 29m57s
build / build (push) Failing after 4m11s
build / trigger-build-image (push) Has been skipped
build / trigger-build-image (pull_request) Has been cancelled
2026-04-17 08:27:43 -07:00
2a501f7cf6
fix: invalid test cases
Some checks failed
build / build (push) Failing after 29m41s
build / build (pull_request) Failing after 29m39s
build / trigger-build-image (push) Has been cancelled
build / trigger-build-image (pull_request) Has been cancelled
This commit fixes two test cases:
- Whitedlisted chars (success), where the config and expected jsons are
  misconfigured;
- Whitelisted chars (invalid). This test was removed. Since stedrr is
  preserved with execution in sadnbox, and while stderr contains
  "original" bad non-ASCII characters that are filtered, this creates a
  paradox. Thus, the test case is removed for now, pending investigation
  into this matter.
2026-04-07 23:05:07 -07:00
8e8719d80b
chore: add git submodules for nonascii tests
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (pull_request) Failing after 14m15s
build / trigger-build-image (pull_request) Has been skipped
build / build (push) Failing after 28m27s
2026-04-07 21:24:31 -07:00
6496435891
feat: add whitelist char support to nonascii check
Some checks failed
build / build (push) Failing after 9m18s
build / trigger-build-image (push) Has been skipped
build / build (pull_request) Failing after 11m13s
build / trigger-build-image (pull_request) Has been skipped
This commit brings support of whitelisted characters during repo
healthcheck/non-ascii file check. Supported by an extra switch to
`repo-health-checker`, `-whitelistedChars`. The argument takes a
comma-separated list of non-ASCII characters and ignores them during
repo healthcheck. Illegal cmdline input is logged by the logger.
2026-04-07 20:49:58 -07:00