Skip to content

Smoke test in CI, CodeQL on the game's code, changelog - #5

Merged
0b3l1X-SolidGeeks merged 1 commit into
mainfrom
chore/hardening
Oct 25, 2026
Merged

0b3l1X-SolidGeeks merged 1 commit into
mainfrom
chore/hardening

Conversation

@0b3l1X-SolidGeeks

Copy link
Copy Markdown
Member
  • tests/smoke.test.mjs + npm test: loads the game, starts each of the 10 levels and plays 2.5 s, fails on any JavaScript error (checked by sabotaging level 7: only that test failed)
  • ci.yml runs it; codeql.yml (advanced setup) scans the game's inline JavaScript, which the default setup could not see
  • CHANGELOG.md, Dependabot, actions pinned by SHA

🤖 Generated with Claude Code

The game had no tests, no changelog, and CodeQL only scanned its workflows: the code is inline in index.html, so the default setup detects no JavaScript.

- tests/smoke.test.mjs: the game loads, and each of the 10 levels starts and runs for 2.5 s with input, without a JavaScript error. Checked by sabotaging level 7: only that test failed.
- CI runs it on every push and pull request
- codeql.yml: advanced setup scanning actions and javascript-typescript (the extractor reads scripts inside HTML)
- CHANGELOG.md, dated (the site served from main is the release)
- Dependabot, actions pinned by SHA

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: 0b3l1X-SolidGeeks <geekssolid@gmail.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@0b3l1X-SolidGeeks
0b3l1X-SolidGeeks merged commit 5a2187e into main Oct 25, 2026
6 checks passed
@0b3l1X-SolidGeeks
0b3l1X-SolidGeeks deleted the chore/hardening branch October 25, 2026 14:14
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.

2 participants