Skip to content

Comments

fix: resolve merge conflicts between copilot/sub-pr-433 and main#445

Merged
pethers merged 14 commits intonews-generation/weekly-review-2026-02-22-25732d3df5a3d00ffrom
copilot/sub-pr-433
Feb 22, 2026
Merged

fix: resolve merge conflicts between copilot/sub-pr-433 and main#445
pethers merged 14 commits intonews-generation/weekly-review-2026-02-22-25732d3df5a3d00ffrom
copilot/sub-pr-433

Conversation

Copy link
Contributor

Copilot AI commented Feb 22, 2026

Branch diverged from main after PR #436 (weekend-security-preparedness) merged independently. Both branches modified the same generated files (data/news-articles.json, news/index*.html ×14, sitemap.xml, last-generation.json), causing 17-file conflict.

Resolution

  • Fetched origin/main and checked out its versions of all conflicting files as the base
  • Regenerated all indexes via extract-news-metadata.ts, generate-news-indexes.ts, and generate-sitemap.ts — producing a unified set from all articles present in news/ (which already contained both weekly-review ×14 and weekend-security-preparedness ×14)
  • Merged origin/main with -X ours to create a proper merge commit bringing in main's non-conflicting changes (workflow lock file recompiles, generate-news-indexes.ts fix) while keeping our complete generated files

Final state

File Our branch Main
data/news-articles.json 571 articles, 50 slugs 473 articles, 43 slugs
news/index*.html 51 items/lang 44 items/lang
sitemap.xml 639 URLs ~500 URLs

git merge origin/main now returns "Already up to date."


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

GitHub Copilot and others added 10 commits February 22, 2026 12:37
- Extra budget amendment (Prop 2025/26:143) for Ukraine air defense & vaccine preparedness
- New emergency food supply chain reserves law
- Context: Week of unprecedented legislative intensity (AI strategy, criminal justice, immigration reform)
- 14 language versions (en, sv, da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh)
- Updated news indexes, metadata, and sitemap

Sources: riksdag-regering-mcp (data.riksdagen.se, g0v.se)

Co-authored-by: Copilot <[email protected]>
Fix inconsistent article type classification for weekend articles across all 14 language indexes
Fix weekend-analysis article type, localized back-to-news links, and excerpt truncation
…analysis-751b87f663d6aa99

📰 Weekend Analysis: Sweden Bolsters Security on Three Fronts — 2026-02-22
Copilot AI changed the title [WIP] Add weekly review of parliamentary activity for February 15-22 2026 fix: resolve merge conflicts between copilot/sub-pr-433 and main Feb 22, 2026
Copilot AI requested a review from pethers February 22, 2026 18:44
@pethers pethers marked this pull request as ready for review February 22, 2026 18:45
@pethers pethers merged commit 1fa51d4 into news-generation/weekly-review-2026-02-22-25732d3df5a3d00f Feb 22, 2026
@pethers pethers deleted the copilot/sub-pr-433 branch February 22, 2026 18:46
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