chore: Sync MokoStandards workflows and configurations #77

Closed
jmiller-moko wants to merge 1 commits from chore/sync-mokostandards-updates into main
jmiller-moko commented 2026-02-01 02:08:23 +00:00 (Migrated from github.com)

MokoStandards Synchronization

This PR synchronizes workflows, configurations, and scripts from the MokoStandards repository.

Summary

  • 🆕 Created: 0 files
  • 🔄 Updated: 26 files
  • ⚠️ Skipped: 2 files
  • 📊 Total: 28 files processed

Files Copied

  • 🔄 LICENSE
  • 🔄 update.xml
  • 🔄 phpstan.neon
  • 🔄 Makefile
  • 🔄 .gitignore
  • 🔄 composer.json
  • 🔄 .moko-standards
  • 🔄 .github/copilot.yml
  • 🔄 .github/copilot-instructions.md
  • 🔄 .github/CLAUDE.md
  • 🔄 .github/workflows/codeql-analysis.yml
  • 🔄 .github/workflows/standards-compliance.yml
  • 🔄 .github/workflows/enterprise-firewall-setup.yml
  • 🔄 .github/workflows/deploy-dev.yml
  • 🔄 .github/ISSUE_TEMPLATE/config.yml
  • 🔄 .github/ISSUE_TEMPLATE/adr.md
  • 🔄 .github/ISSUE_TEMPLATE/bug_report.md
  • 🔄 .github/ISSUE_TEMPLATE/documentation.md
  • 🔄 .github/ISSUE_TEMPLATE/enterprise_support.md
  • 🔄 .github/ISSUE_TEMPLATE/feature_request.md
  • 🔄 .github/ISSUE_TEMPLATE/firewall-request.md
  • 🔄 .github/ISSUE_TEMPLATE/question.md
  • 🔄 .github/ISSUE_TEMPLATE/request-license.md
  • 🔄 .github/ISSUE_TEMPLATE/rfc.md
  • 🔄 .github/ISSUE_TEMPLATE/security.md
  • 🔄 .github/ISSUE_TEMPLATE/joomla_issue.md

Files Skipped

  • ⚠️ GOVERNANCE.md - Preserved (always_overwrite=false)
  • ⚠️ .github/workflows/ci-joomla.yml - Source file not found

Review Notes

  • Please review all changes carefully
  • Ensure no custom configurations are overwritten
  • Test workflows and scripts after merging
  • Verify issue templates render correctly

This PR was automatically generated by the MokoStandards bulk sync process.

## MokoStandards Synchronization This PR synchronizes workflows, configurations, and scripts from the MokoStandards repository. ### Summary - 🆕 **Created**: 0 files - 🔄 **Updated**: 26 files - ⚠️ **Skipped**: 2 files - 📊 **Total**: 28 files processed ### Files Copied - 🔄 `LICENSE` - 🔄 `update.xml` - 🔄 `phpstan.neon` - 🔄 `Makefile` - 🔄 `.gitignore` - 🔄 `composer.json` - 🔄 `.moko-standards` - 🔄 `.github/copilot.yml` - 🔄 `.github/copilot-instructions.md` - 🔄 `.github/CLAUDE.md` - 🔄 `.github/workflows/codeql-analysis.yml` - 🔄 `.github/workflows/standards-compliance.yml` - 🔄 `.github/workflows/enterprise-firewall-setup.yml` - 🔄 `.github/workflows/deploy-dev.yml` - 🔄 `.github/ISSUE_TEMPLATE/config.yml` - 🔄 `.github/ISSUE_TEMPLATE/adr.md` - 🔄 `.github/ISSUE_TEMPLATE/bug_report.md` - 🔄 `.github/ISSUE_TEMPLATE/documentation.md` - 🔄 `.github/ISSUE_TEMPLATE/enterprise_support.md` - 🔄 `.github/ISSUE_TEMPLATE/feature_request.md` - 🔄 `.github/ISSUE_TEMPLATE/firewall-request.md` - 🔄 `.github/ISSUE_TEMPLATE/question.md` - 🔄 `.github/ISSUE_TEMPLATE/request-license.md` - 🔄 `.github/ISSUE_TEMPLATE/rfc.md` - 🔄 `.github/ISSUE_TEMPLATE/security.md` - 🔄 `.github/ISSUE_TEMPLATE/joomla_issue.md` ### Files Skipped - ⚠️ `GOVERNANCE.md` - Preserved (always_overwrite=false) - ⚠️ `.github/workflows/ci-joomla.yml` - Source file not found ### Review Notes - Please review all changes carefully - Ensure no custom configurations are overwritten - Test workflows and scripts after merging - Verify issue templates render correctly --- *This PR was automatically generated by the MokoStandards bulk sync process.*
copilot-pull-request-reviewer[bot] (Migrated from github.com) reviewed 2026-02-01 02:10:54 +00:00
copilot-pull-request-reviewer[bot] (Migrated from github.com) left a comment

Pull request overview

This PR syncs validation scripts and GitHub Actions workflows/configuration with the upstream MokoStandards repository, including platform auto-detection, caching format, and CI/release/deploy workflows.

Changes:

  • Improve schema format auto-detection logging in validate_structure_v2.py without altering error semantics.
  • Refactor auto_detect_platform.py detection caching from pickle to JSON, adding DetectionResult.from_dict and logging for cache write/delete issues.
  • Update CI, release, and reusable deployment workflows to use newer major versions of core GitHub Actions and artifact actions.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/validate/validate_structure_v2.py Replaces a silent catch with a warning to stderr when schema format auto-detection fails to read the schema file.
scripts/validate/auto_detect_platform.py Switches detection result caching from pickle to JSON and adds deserialization and error logging, but leaves clear() still targeting only legacy .pkl files.
.github/workflows/reusable-deploy.yml Adjusts the download-artifact action version for deployment artifact retrieval in the reusable deployment workflow.
.github/workflows/release.yml Aligns checkout and artifact actions to stable v4 major versions and uses a stable version of the GitHub release action.
.github/workflows/ci.yml Updates checkout, language setup actions (Node, Python, Go), and related CI jobs to current supported major versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

## Pull request overview This PR syncs validation scripts and GitHub Actions workflows/configuration with the upstream MokoStandards repository, including platform auto-detection, caching format, and CI/release/deploy workflows. **Changes:** - Improve schema format auto-detection logging in `validate_structure_v2.py` without altering error semantics. - Refactor `auto_detect_platform.py` detection caching from pickle to JSON, adding `DetectionResult.from_dict` and logging for cache write/delete issues. - Update CI, release, and reusable deployment workflows to use newer major versions of core GitHub Actions and artifact actions. ### Reviewed changes Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment. <details> <summary>Show a summary per file</summary> | File | Description | | ---- | ----------- | | `scripts/validate/validate_structure_v2.py` | Replaces a silent catch with a warning to stderr when schema format auto-detection fails to read the schema file. | | `scripts/validate/auto_detect_platform.py` | Switches detection result caching from pickle to JSON and adds deserialization and error logging, but leaves `clear()` still targeting only legacy `.pkl` files. | | `.github/workflows/reusable-deploy.yml` | Adjusts the download-artifact action version for deployment artifact retrieval in the reusable deployment workflow. | | `.github/workflows/release.yml` | Aligns checkout and artifact actions to stable v4 major versions and uses a stable version of the GitHub release action. | | `.github/workflows/ci.yml` | Updates checkout, language setup actions (Node, Python, Go), and related CI jobs to current supported major versions. | </details> --- 💡 <a href="/mokoconsulting-tech/MokoCassiopeia/new/main/.github/instructions?filename=*.instructions.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href="https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn how to get started</a>.
copilot-pull-request-reviewer[bot] (Migrated from github.com) commented 2026-02-01 02:10:54 +00:00

DetectionCache.clear() currently only deletes *.pkl files, but the cache get/set methods now use .json files. As a result, calling --clear-cache will leave the new JSON cache entries in place and not actually clear the active cache. To align behavior with the docstring and the updated implementation, this method should also (or instead) delete the .json cache files.

`DetectionCache.clear()` currently only deletes `*.pkl` files, but the cache `get`/`set` methods now use `.json` files. As a result, calling `--clear-cache` will leave the new JSON cache entries in place and not actually clear the active cache. To align behavior with the docstring and the updated implementation, this method should also (or instead) delete the `.json` cache files.

Pull request closed

Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCassiopeia#77