Skip to content

Rewrite using a composite action#50

Draft
hnez wants to merge 13 commits into
forrest-runner:mainfrom
hnez:composite
Draft

Rewrite using a composite action#50
hnez wants to merge 13 commits into
forrest-runner:mainfrom
hnez:composite

Conversation

@hnez

@hnez hnez commented Jul 14, 2026

Copy link
Copy Markdown
Member

The typescript action is unnecessarily complex and hard to maintain.
Replace it with a python based composite action.

Currently this is a vibe coded mess with ugly commit history, but I want to see if it can run at all.

hnez added 10 commits July 14, 2026 09:04
…e headers

- Remove include-hidden-files input and all related logic from _find_files
- Remove case-insensitive dedup (action only runs on Linux)
- Move header setup to session-level, remove per-call header construction
- Wrap top-level execution in _main() called under if __name__ == '__main__'
  so the module can be imported by tests without triggering the script
- Add 26 unit tests covering _human_size, _find_files, _compute_root,
  _write_desktop_file, _remove_file, and _upload_file (with mocked HTTP)
- Run ruff check and ruff format on all source files
@hnez
hnez force-pushed the composite branch 2 times, most recently from 8e4873a to fe9bd21 Compare July 14, 2026 11:59
@hnez

hnez commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

Looks like I should clean this up and get it merged.

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.

1 participant