Skip to content

Comments

Resolve merge conflict in news/metadata/last-generation.json#374

Merged
pethers merged 2 commits intomain-2f13dfa4453c0f8dfrom
copilot/sub-pr-369
Feb 20, 2026
Merged

Resolve merge conflict in news/metadata/last-generation.json#374
pethers merged 2 commits intomain-2f13dfa4453c0f8dfrom
copilot/sub-pr-369

Conversation

Copy link
Contributor

Copilot AI commented Feb 20, 2026

The last-generation.json file had a schema conflict between the realtime-monitor (schemaVersion "2") and the main branch's nightly-generation schema (lastGeneration, articleTypes, articlesGenerated, etc.), causing a merge conflict.

Changes

  • Unified schema: merged both field sets into a single object — realtime-monitor fields are preserved as the primary source of truth; main-branch fields are added as backward-compatible keys
{
  "schemaVersion": "2",
  "timestamp": "2026-02-20T14:15:00.000Z",
  "type": "realtime-monitor",
  ...
  "lastGeneration": "2026-02-20T14:15:00.000Z",
  "articleTypes": ["breaking"],
  "languages": ["en", "sv", ...],
  "articlesGenerated": 14,
  "date": "2026-02-20",
  "source": "riksdag-regering-mcp",
  "forceGeneration": false
}
  • Consumers unbroken: generate-news-enhanced.js reads types/languagesGenerated/generated/errors; workflow-state-coordinator.js reads articlesGenerated — all fields present

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] Update immigration reform reports from Sweden's Riksdag Resolve merge conflict in news/metadata/last-generation.json Feb 20, 2026
Copilot AI requested a review from pethers February 20, 2026 17:24
@pethers pethers marked this pull request as ready for review February 20, 2026 17:29
@pethers pethers merged commit e34b35d into main-2f13dfa4453c0f8d Feb 20, 2026
@pethers pethers deleted the copilot/sub-pr-369 branch February 20, 2026 17:29
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