Skip to content

fix: resolve merge conflicts — take main as base + restore legislative-push articles#511

Merged
pethers merged 2 commits intonews-realtime/2026-02-24-1030-4fb2b8fdc2e10b86from
copilot/sub-pr-485
Feb 24, 2026
Merged

fix: resolve merge conflicts — take main as base + restore legislative-push articles#511
pethers merged 2 commits intonews-realtime/2026-02-24-1030-4fb2b8fdc2e10b86from
copilot/sub-pr-485

Conversation

Copy link
Contributor

Copilot AI commented Feb 24, 2026

Branch had diverged from main across 18 files after multiple articles merged. Conflicts in all 14 news index files, sitemap.xml, data/news-articles.json, news/metadata/last-generation.json, and scripts/generate-news-indexes.ts.

Strategy

Take main as the authoritative base for all conflicting generated files, then re-apply the legislative-push article data from this branch on top.

Changes

News index files (news/index*.html × 14)

  • LP article inserted at position 1 in JSON-LD ItemList with correct ListItem → NewsArticle nesting (fixes malformed structured data flagged in review)
  • LP article added first in the JS articles array with "type": "breaking"

sitemap.xml

  • Main's 765 URLs as base; 14 LP article entries added (779 total) with correct hreflang links for all 14 languages
  • Preserves evening-analysis and all other article groups present in main

data/news-articles.json

  • Main's 696 articles + 14 LP entries = 710 total

news/metadata/last-generation.json

  • Merged article lists from both branches (28 articles: legislative-push + welfare-reform-proposition)

scripts/generate-news-indexes.ts + new scripts/generate-news-indexes/

  • Replaced monolith with main's barrel re-export pattern
  • Created 5 bounded-context modules (constants, helpers, index, template, types) matching main's decomposed architecture

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add Sweden's five propositions on civilian defence and violence fix: resolve merge conflicts — take main as base + restore legislative-push articles Feb 24, 2026
Copilot AI requested a review from pethers February 24, 2026 22:24
@pethers pethers marked this pull request as ready for review February 24, 2026 22:33
@pethers pethers merged commit 7a97eac into news-realtime/2026-02-24-1030-4fb2b8fdc2e10b86 Feb 24, 2026
@pethers pethers deleted the copilot/sub-pr-485 branch February 24, 2026 22:33
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