Skip to content

Conversation

@FlatBallFlyer
Copy link
Contributor

This was a complete reflector. Version one code relied very heavily on cursor for both design and architecture as well as cogeneration. As a result of this the code was very task oriented and difficult to follow. It did however excite my imagination about what would be possible if I shifted to a more service model driven architecture, and properly implemented exception handling. Version two leveraged much more tab to complete assistance from cursor than it did chat and build. Once the code was at a sufficient point where we could do unit testing I did shift more to relying on cursor to write code, they are really good at writing tests. Once the unit testing and integration testing was complete cursor proved to be exceptionally talented at building effective step CI blackbox testing.

Mike Storey added 30 commits July 5, 2025 20:19
…concise record_failure(message: str, event_data: obj = {}) signature. This means:

All record_failure calls now use a message as the first argument, and any additional error data as the second argument (if needed).
Manual assignments to event.data or event.event_data before/after failure have been removed.
All exception handling in the clean routes and service save/delete/lock methods is now consistent and clear.
Mike Storey added 28 commits July 10, 2025 19:22
- Uncommented Cleanup (Delete Test Dictionary) step
- All 7 steps now passing: Create, Get, Update, Lock, Delete locked, Unlock, Cleanup
- Complete dictionary workflow tested and working correctly
…ports modern schema. Update tests to match. No backward compatibility or legacy code remains.
…ration tests for required property behavior, all tests passing
… to ensure configuration is unlocked before deletion
…nlock steps before deletion for types and configurations endpoints
…ion objects for consistency with other routes
…pCI tests

- Fixed lock_all methods in dictionary, configuration, and type services to call record_success() at the end
- Updated stepCI tests to match actual API response format (removed data.total_files and data.operation expectations)
- All unit tests and stepCI tests now pass for lock_all endpoints
- Replace placeholder migrations test with full CRUD operations
- Test GET, PUT, DELETE endpoints for migration files
- Verify JSON pipeline content and file metadata
- All 6 test steps pass successfully
… implementation

- Enumerators: GET returns { enumerators: [...] }, PUT request is array, response is file metadata
- Migrations: GET/PUT are array (aggregation pipeline), DELETE returns ConfiguratorEvent
- Ensures docs reflect actual API behavior for CI and client use
@FlatBallFlyer FlatBallFlyer merged commit 1442533 into main Jul 11, 2025
@FlatBallFlyer FlatBallFlyer deleted the v2_refactor branch July 13, 2025 15: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