Uh oh!
There was an error while loading. Please reload this page.
fix(#1375): Resolve README frontmatter validation issue - #1540
Conversation
Warning Review limit reached
Next review available in:38 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
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. Comment |
✅ Template check passed after update. Thanks for fixing the PR description. |
📄 README Validation✅ All README checks passed.
|
⏱️ Aging and SLA annotation
Maintained by project-meta-sync workflow. |
🔍 Reviewer Summary for PR #1540CI Status: ✅ Recommendations
|
9041778 to
b60d5fbCompareAdded two changelog entries under Fixed section: - README frontmatter schema compliance fix for Phase 2B Skills Audit - Labeling agent module import error fix References issue #1375 (README frontmatter) and documents the labeling agent bug fix that was blocking PR validation workflows.
Added two changelog entries under Fixed section: - README frontmatter schema compliance fix for Phase 2B Skills Audit - Labeling agent module import error fix References issue #1375 (README frontmatter) and documents the labeling agent bug fix that was blocking PR validation workflows.
a491c10 to
333d045CompareCorrected frontmatter in Phase 2B skills audit README files: - Added `file_type: readme` (required schema field) - Changed `created` to `created_date` (correct schema field name) - Removed non-schema fields: name, related_issues, related_branches - Standardised frontmatter to match LightSpeed readme schema Applies fix across both locations: - .github/projects/active/phase-2b-skills-audit/README.md - projects/active/phase-2b-skills-audit/README.md Resolves issue #1375 with proper frontmatter validation. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…t underscore) The labeling agent was trying to import _fetchCanonicalLabels but the actual function in label-lookup.js is named fetchCanonicalLabels. Fixed import name to match the actual export.
Added two changelog entries under Fixed section: - README frontmatter schema compliance fix for Phase 2B Skills Audit - Labeling agent module import error fix References issue #1375 (README frontmatter) and documents the labeling agent bug fix that was blocking PR validation workflows.
333d045 to
794a878CompareThere was a problem hiding this comment.
Pull request overview
Resolves #1375 by bringing a Phase 2B project README into frontmatter-schema compliance and fixing broken named imports in the unified labelling agent that were preventing the agent module from loading.
Changes:
- Updated
CHANGELOG.mdfreshness metadata and recorded the two fixes. - Fixed named imports in
.github/scripts/agents/labeling.agent.jsto match actual exports. - Normalised frontmatter in the Phase 2B skills audit README (adds
file_type: readme, updates dates/version, removes some metadata fields).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
CHANGELOG.md | Updates last_updated and documents the fixes under Fixed. |
.github/scripts/agents/labeling.agent.js | Corrects named imports to actual exported symbols to prevent module load errors. |
.github/projects/active/phase-2b-skills-audit/README.md | Updates YAML frontmatter to satisfy file_type: readme schema expectations and refreshes metadata. |
Suppressed comments (1)
.github/scripts/agents/labeling.agent.js:43
formatErrorsis imported but never used in this module. If it is not needed, drop it from the import to keep the dependency surface minimal and avoid potential lint failures.
import {
buildLabelingReport,
formatErrors,
} from "../../../scripts/agents/includes/label-reporting.js";
| import { | ||
| _fetchCanonicalLabels, | ||
| fetchCanonicalLabels, | ||
| buildLabelAliasMap, | ||
| findStandardLabel, | ||
| } from "../../../scripts/agents/includes/label-lookup.js"; |
| version: 1.0.0 | ||
| created_date: 2026-07-24 | ||
| last_updated: 2026-08-05 | ||
| version: 1.0.1 |
| ### Fixed | ||
| - **README frontmatter schema compliance (Phase 2B Skills Audit)** — Corrected frontmatter in Phase 2B skills audit README files to comply with LightSpeed documentation schema: added required `file_type: readme` field, renamed `created` to `created_date`, updated `last_updated` and `version` fields, and removed non-schema fields (`name`, `related_issues`, `related_branches`). Resolves frontmatter validation failures and ensures project documentation adheres to canonical schema standards. ([PR #1540](https://github.com/lightspeedwp/.github/pull/1540), [#1375](https://github.com/lightspeedwp/.github/issues/1375)) |
- Remove unused fetchCanonicalLabels import from labeling.agent.js - Align README version field (1.0.1 → 1.1.0) with Quick Facts table - Clarify CHANGELOG entry to specify exact file changed (.github/projects/active/phase-2b-skills-audit/README.md)
ashleyshaw
commented
Aug 5, 2026
Review Status✅ README frontmatter validation fix — ready for merge Assessment:
For Merge:
Status: Ready for merge. |
Tick the box to add this pull request to the merge queue (same as
|
Uh oh!
There was an error while loading. Please reload this page.
ashleyshaw
commented
Aug 5, 2026
⏳ Awaiting Maintainer ReviewCurrent Status
Issues Found:
Action Items:
Status: ⏳ Needs maintainer review |
Bugfix Pull Request
Linked issues
Fixes#1375
Context
Problem Statement
Two separate infrastructure issues discovered while reviewing the closure of PR #1375:
Root Cause
README Frontmatter
The Phase 2B skills audit README did not conform to LightSpeed schema:
file_type: readmefieldcreatedinstead ofcreated_dateLabeling Agent Imports
Two named imports referenced non-existent exports:
_fetchCanonicalLabels(actual:fetchCanonicalLabels)_formatErrors(actual:formatErrors)Fix Summary
Verification
Risk & Rollback
Related Work
Changelog
Fixed
file_type: readme, aligns version metadata, removes non-schema fields. (Resolvesdocs(phase-2b): Phase 2B Skills Consolidation Planning & Architecture #1375)fetchCanonicalLabels,formatErrors) that were blocking PR labeling workflows.Checklist (Global DoD / PR)
🧠 Generated with Claude Code