Skip to content

Enhance caching mechanisms for MEPs and committees#627

Merged
pethers merged 3 commits into
mainfrom
fixtest
Jul 18, 2026
Merged

Enhance caching mechanisms for MEPs and committees#627
pethers merged 3 commits into
mainfrom
fixtest

Conversation

@pethers

@pethers pethers commented Jul 18, 2026

Copy link
Copy Markdown
Member

Introduce a new caching system for more efficient data retrieval of MEPs and committees, including support for weekly cache loading and improved input validation. Implement cache generation for European Parliament data and refactor code for better readability and maintainability. Update tests to ensure functionality and validate new caching behavior.

pethers added 3 commits July 18, 2026 11:30
- Introduced a new caching system for MEPs and committees, allowing for more efficient data retrieval.
- Added support for loading weekly MEP caches alongside corporate bodies.
- Implemented logic to derive committee rosters and leadership from the MEP cache.
- Enhanced input validation and error handling for committee info retrieval.
- Updated tests to cover new caching behavior and ensure correct functionality.
- Created utility functions for managing committee memberships and resolving committee identifiers.
- Added new tests for cache generation and validation.
- Add a script to generate cache files for MEPs, corporate bodies, and controlled vocabularies from the European Parliament Open Data Portal API.
- Create a manifest file to track dataset metadata including record counts and SHA256 checksums.
- Implement functions to fetch and validate current MEPs and corporate bodies, ensuring data integrity and completeness.
- Introduce utility functions for managing political composition and committee memberships.
- Add tests for cache generation logic and political composition derivation.
- Configure TypeScript settings for script compilation.
@github-actions github-actions Bot added documentation Documentation updates dependencies Dependency updates javascript JavaScript/TypeScript dependencies infrastructure CI/CD and build infrastructure github_actions GitHub Actions updates mcp-tools MCP tools implementation testing Testing improvements config Configuration changes build Build configuration ep-data European Parliament data handling meps MEPs (Members of European Parliament) committees Committees test-coverage-impact Impacts test coverage needs-tests Needs test coverage e2e End-to-end testing component-tools MCP tools component schemas Schema and validation labels Jul 18, 2026
@pethers
pethers merged commit 07d78ba into main Jul 18, 2026
16 checks passed
@pethers
pethers deleted the fixtest branch July 18, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build configuration committees Committees component-tools MCP tools component config Configuration changes dependencies Dependency updates documentation Documentation updates e2e End-to-end testing ep-data European Parliament data handling github_actions GitHub Actions updates infrastructure CI/CD and build infrastructure javascript JavaScript/TypeScript dependencies mcp-tools MCP tools implementation meps MEPs (Members of European Parliament) needs-tests Needs test coverage schemas Schema and validation test-coverage-impact Impacts test coverage testing Testing improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant