Skip to content

ci(cssholmes): verify and package alpha 1 - #9

Merged
mambax7 merged 20 commits into
masterfrom
review/alpha1-4-quality
Oct 27, 2026
Merged

mambax7 merged 20 commits into
masterfrom
review/alpha1-4-quality

Conversation

@mambax7

@mambax7 mambax7 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Final testing and packaging step for cssHolmes 3.3.0 Alpha 1. Contains 54 files: shared QA, browser and endpoint regressions, optional Qodana and prerelease archive automation. No module-local development vendor tree is added.

Release notes now follow the triggering tag (docs/RELEASE-${GITHUB_REF_NAME#v}.md) and packaging stops if that file is missing. The release tag glob already supports dotted tags. The HTTP harness uses http_get_last_response_headers(), available on the required PHP 8.4+ runtime.

Merge readiness

Runtime/security PR #10 and documentation PR #11 are merged. This is the final testing and packaging PR, now targeting master. Optional browser tests use portable Playwright defaults with environment overrides, and the legacy preload test filename matches its class. Merge after CI passes on the latest commit.

Validation

The combined tree passed PHP 8.4.27 and 8.5.12: 35 PHPUnit tests / 115 assertions, 50 endpoint checks, storage/set/access/preview regressions, and follow-up checks for color tokens, image dimensions, history limits and manifest paths. Browser checks cover the designer, library, gallery, sessions, overlay labels and theme diagnostics. Scoped PHPStan reports no errors. Linux CI exercises symlink cases skipped by the local Windows account.

A disposable installed XOOPS 2.7.4-RC2 site also passed normal administrator login, real xStyles designer controls, save/reload, anonymous published CSS, permission and CSRF rejection, and restore. The gallery capability flag, configuration and integration scripts are supplied by cssHolmes's eventCoreHeaderAddmeta preload; xStyles does not duplicate that initialization.

PHP 8.4+ is required. Admin-theme publishing and native XOOPS 4 installation remain outside this alpha. No release tag or package has been published.

Copilot AI balanced review requested due to automatic review settings October 27, 2026 01:22
@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Sorry @mambax7, your pull request is larger than the review limit of 150,000 diff characters

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 25 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 90711d27-16ed-4d8e-951f-5ed0b6d82feb
Commits

Reviewing files that changed from the base of the PR and between 49717e2 and 37c7fec.

Files selected for processing: 54
  • .gitattributes
  • .github/dependabot.yml
  • .github/workflows/ci.yml
  • .github/workflows/qodana.yml
  • .github/workflows/release.yml
  • .gitignore
  • .scrutinizer.yml
  • CONTRIBUTING.md
  • phpstan.neon
  • phpunit.xml.dist
  • qodana.yaml
  • tests/Unit/class/Analyzer/SmartySourceTest.php
  • tests/Unit/class/Analyzer/TemplateIncludeResolverTest.php
  • tests/Unit/class/Analyzer/ThemeAnalyzersTest.php
  • tests/Unit/class/Cli/ScanCommandTest.php
  • tests/Unit/class/Common/BreadcrumbTest.php
  • tests/Unit/class/Common/FilesManagementTest.php
  • tests/Unit/class/Common/ServerStatsTest.php
  • tests/Unit/class/Common/SysUtilityTest.php
  • tests/Unit/class/Common/VersionChecksTest.php
  • tests/Unit/class/Diagnostics/OverlayConfigTest.php
  • tests/Unit/class/HelperTest.php
  • tests/Unit/fixtures/themes/cleantheme/css/style.css
  • tests/Unit/fixtures/themes/cleantheme/theme.ini
  • tests/Unit/fixtures/themes/cleantheme/theme.tpl
  • tests/Unit/fixtures/themes/cleantheme/tpl/header.tpl
  • tests/Unit/fixtures/themes/smartytheme/css/style.css
  • tests/Unit/fixtures/themes/smartytheme/theme.tpl
  • tests/Unit/fixtures/themes/smartytheme/tpl/header.tpl
  • tests/Unit/fixtures/themes/xtftheme/css/theme.css
  • tests/Unit/fixtures/themes/xtftheme/theme.json
  • tests/Unit/fixtures/themes/xtftheme/theme.tpl
  • tests/Unit/fixtures/themes/xtftheme/tpl/header.tpl
  • tests/Unit/preloads/CssholmesCorePreloadTest.php
  • tests/bootstrap.php
  • tests/designer-access.php
  • tests/designer-client.cjs
  • tests/designer-diagnostics.cjs
  • tests/designer-gallery.cjs
  • tests/designer-http.php
  • tests/designer-roundtrip.cjs
  • tests/designer-session.cjs
  • tests/designer-sets-client.cjs
  • tests/designer-sets.php
  • tests/designer-specimens.cjs
  • tests/designer-store.php
  • tests/overlay-profiles.cjs
  • tests/prepare-specimens.php
  • tests/preview-context.php
  • tests/review-followup.php
  • tests/review-regressions.php
  • tests/run.php
  • tests/theme-sets-admin.cjs
  • tests/xtf-contract.php
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@mambax7 mambax7 mentioned this pull request Oct 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Two critical and one moderate unresolved findings affect the release workflow and HTTP regression suite.

3 open issues

Review effort: Lite

Comment on lines +8 to +9
- 'v[0-9]+.[0-9]+.[0-9]+-[0-9A-Za-z]*'
- '[0-9]+.[0-9]+.[0-9]+-[0-9A-Za-z]*'
Comment thread tests/designer-http.php
]]);
$text = file_get_contents('http://' . $address . '/modules/cssholmes/' . $path, false, $context);
if ($text === false) { throw new RuntimeException('Endpoint request failed.'); }
$responseHeaders = http_get_last_response_headers();
Comment thread .github/workflows/release.yml Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The release workflow does not trigger for the documented prerelease tag, and the specimen browser test uses a non-portable default path; the preload filename warning should also be corrected.

2 open issues
1 resolved since last review

Review effort: Lite

@mambax7
mambax7 changed the base branch from review/alpha1-3-documentation to review/alpha1-docs-followup October 27, 2026 02:41
@mambax7
mambax7 marked this pull request as draft October 27, 2026 02:41
@mambax7
mambax7 changed the base branch from review/alpha1-docs-followup to master October 27, 2026 03:32
@mambax7
mambax7 marked this pull request as ready for review October 27, 2026 03:32
@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Sorry @mambax7, your pull request is larger than the review limit of 150,000 diff characters

@mambax7
mambax7 merged commit 47edc59 into master Oct 27, 2026
7 of 8 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.

2 participants