Skip to content

Adding files for GitHub Action Release Pipeline - #62

Merged
CR-Trey merged 1 commit into
mainfrom
Dev
Oct 9, 2026
Merged

CR-Trey merged 1 commit into
mainfrom
Dev

Conversation

@CR-Trey

@CR-Trey CR-Trey commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Testing

Screenshots / video

Checklist

  • The PR title follows Conventional Commits (feat(runner): ..., fix(platformer): ...)
  • Added or updated tests for changed behavior
  • New or changed assets are listed in ASSETS_LICENSES.md with a redistributable license
  • Docs in docs/ are updated if behavior or controls changed

Summary by CodeRabbit

  • New Features
    • Web exports are available alongside desktop builds in releases, build artifacts, and previews. Web packages include the files needed to run the game and instructions for hosting them.
  • Bug Fixes
    • Build packaging now checks for required export files and catches additional export errors. Desktop archives include companion files when extracted.
    • Missing Godot templates are fetched even when a prior verification marker exists.
  • Documentation
    • Updated build guidance with Web hosting instructions and release details.

@CR-Trey
CR-Trey requested a review from juanpflores as a code owner October 9, 2026 21:49
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: coderabbitai/coderabbit-arcade/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Enterprise
  • Run ID: 8b9d5a00-4ca5-4780-aac7-f76daf3e709b

📥 Commits

Reviewing files that changed from the base of the PR and between b3e0bae and 1ae7caf.


📒 Files selected for processing (9)
  • .github/workflows/build.yml
  • .github/workflows/ci.yml
  • README.md
  • docs/builds.md
  • hoppys-adventure-arcade/export_presets.cfg
  • tools/build/export_game.py
  • tools/build/fetch_godot.py
  • tools/build/godot.lock.json
  • tools/build/test_exports.py

Included review availability: This review used your included allowance. Your plan provides up to 100 included reviews per hour; 99 remain after this review.



📝 Walkthrough

Walkthrough

The changes add Web export presets and packaging, update build and release workflows to handle Web artifacts and validated prereleases, and add automated checks and documentation for the export process.

Changes

Game Distribution

Layer / File(s) Summary
Export presets and templates
hoppys-adventure-arcade/export_presets.cfg, tools/build/godot.lock.json, tools/build/fetch_godot.py
Adds a Web preset and Web export templates. Desktop presets gain shared file filters, and template installation checks for all locked files before reusing a verified cache.
Export packaging and validation
tools/build/export_game.py, tools/build/test_exports.py
Adds Web runtime-file checks and hosting instructions. Non-macOS archives include companion files. Export and import checks recognize additional error logs. Tests cover Web and Linux archives and template-cache behavior.
Build and release workflow
.github/workflows/build.yml, .github/workflows/ci.yml, README.md, docs/builds.md
Uploads retained Web artifacts and limits releases to version tags. Release steps check ZIP counts and checksums before publishing assets through a draft prerelease. CI runs build unit tests, and the documentation describes Web exports and release behavior.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Actions as GitHub Actions
  participant Export as export_game.py
  participant Godot
  participant Releases as GitHub Releases
  Actions->>Export: Run platform export and packaging
  Export->>Godot: Export project and import resources
  Export-->>Actions: Provide archives, manifest, and checksums
  Actions->>Releases: Verify assets, upload, and publish prerelease
Loading

Merge Risk

Merge Risk: ⚪ Minimal · up to 1ae7c

No identified issue prevents merging after normal checks. The added Web checks do not exercise browser gameplay.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 1ae7c

The workflow adds a browser build and safer release publication without expanding publishing permissions. No introduced security issue was established, but build provenance, browser behavior and production hosting policies remain incompletely verified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The reviewed authority boundary is repository release publication: build output becomes downloadable game content. Web adds browser execution for recipients, but the examined changes do not add a hosted backend or cloud identity authority. Compromise of a trusted producing build could affect packages distributed to release recipients.

Trust Boundaries and Controls

  • inferred — Pull-request export execution does not satisfy the tag-gated publication condition. The write-scoped publisher verifies package checksums, but those checksums and the manifest originate in the same producing build. They provide consistency checks, not independent proof that build content is trustworthy; this producer-trust assumption already applied to desktop distribution.

Resilience and Maintainability Implications

  • observed — Import and export log checks are strengthened, and incomplete Web packages fail before upload. Web browser execution is explicitly skipped; CI smoke-tests only the host-compatible Linux package. The documentation distinguishes these checks, so package validation should not be interpreted as browser-runtime or security verification.

Hardening Proposals

  • proposed — For stronger recovery identity guarantees, bind resumed drafts to the producing commit and reconcile existing draft assets with the current manifest before publication. The present draft-status check and filename-based overwrite do not reconcile unrelated assets if a tag is moved or a draft is edited. This is a hardening proposal, not an established attacker-accessible regression.



Pre-merge checks | Passed 3 | Failed 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check Warning The description contains the required headings, but all sections contain only template comments and unchecked checklist items. It does not explain the release pipeline changes or report testing perfor… Replace the template comments with a summary of the GitHub Actions, Web export, packaging, documentation, and test changes. List the commands run and their results. Complete the checklist and add any required issue link or asset-license inf…
Docstring Coverage Warning Docstring coverage is 12.50% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 8 functions across 3 files. (6 skipped: 6… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check Passed The title clearly identifies the main change: adding files for a GitHub Actions release pipeline. It is concise and related to the pull request changes.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.

Full details: Description check

Explanation

The description contains the required headings, but all sections contain only template comments and unchecked checklist items. It does not explain the release pipeline changes or report testing performed.

Resolution

Replace the template comments with a summary of the GitHub Actions, Web export, packaging, documentation, and test changes. List the commands run and their results. Complete the checklist and add any required issue link or asset-license information.


Full details: Docstring Coverage

Explanation

Docstring coverage is 12.50% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 8 functions across 3 files. (6 skipped: 6 unsupported.)



  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR

🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@CR-Trey
CR-Trey merged commit 1fede76 into main Oct 9, 2026
6 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.

1 participant