mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
* feat(codepipeline): execute ThirdParty GitHub version 1 source actions Downloads the configured branch archive from codeload.github.com and republishes it with the repo at the artifact root, keeping unix modes and symlinks; zip entries decode as STORED or DEFLATED only, avoiding the ZSTD/XZ dispatch path that breaks the native build. * fix(codepipeline): bound GitHub source archive size and reject escaping entries Cap download, uncompressed bytes and entry count; reject escaping paths and symlinks; end the Inflater. * refactor(codepipeline): use explicit types and imports in the GitHub source, fix its symlink comment Rename the test class to the *ServiceTest convention and correct the invalid-ref error message, which claimed the branch cannot contain slashes. * fix(codepipeline): report the GitHub commit as the source revision and harden the GitHub source Only the ThirdParty version 1 GitHub action takes the codeload path, so a custom action named GitHub still reaches its worker. The revision is the commit SHA from the archive comment, recorded in sourceRevisions as well. Branch segments are percent-encoded, entry checksums are verified, and the archive caps drop to 128 MiB to keep the heap bounded. * test(codepipeline): wait on state with Awaitility and order imports in the GitHub source test * refactor(codepipeline): make GitHub source limits final behind overridable accessors Archive size, entry and base URL settings move from mutable fields to protected accessors that tests override. Also reject archive entries with a leading slash instead of treating it as the top-level separator.