Conversation
Copilot
AI
changed the title
[WIP] Analyze code and implement improvements for quality and architecture
Comprehensive codebase analysis: 18 issues created and assigned to Copilot
Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Full-spectrum analysis of riksdagsmonitor across quality, architecture, UI/UX, news generation, and security — resulting in 18 actionable GitHub issues, all assigned to Copilot with implementation PRs in progress.
Findings
Quality
@typescript-eslint/naming-conventionreferenced in inline comments but undefined in config — 2 lint errors<p><ul>...</ul></p>#672→PR#691): 4 news articles have invalid<p><ul>...</ul></p>— orphaned</p>after browser auto-closes<p>before block elementexit 1commented out inquality-checks.ymlfor both ESLint and HTMLHint stepsall: false(Consolidate Python/TypeScript mixed toolchain: migrate Python scripts to TypeScript #679→PR#697): untested files invisible in reportsArchitecture
content-generators.tsat 1764 lines,committees-dashboard.tsat 1666generate-sitemap-html.tsandgenerate-rss.ts— sitemap.xml gets stale lastmod timestampsall: trueand identify untested code #680→PR#696): 11 Python scripts alongside 30+ TypeScript filesUI/UX
News Generation
Security
egress-policy: auditon 26+ workflow steps (Harden workflow egress policies and pin @playwright/mcp version #675→PR#694): onlydeploy-s3.ymlusesblock@playwright/mcp@latestunpinned in all 10 news workflows — supply chain riskNo code changes in this PR
This is an analysis-only PR. All 18 issues are tracked independently with Copilot-assigned PRs (#690–#707).
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.