fix: check all errors in Phase C store tests#140
Merged
intel352 merged 2 commits intofeat/issue-87-admin-decomp-cfrom Feb 23, 2026
Merged
fix: check all errors in Phase C store tests#140intel352 merged 2 commits intofeat/issue-87-admin-decomp-cfrom
intel352 merged 2 commits intofeat/issue-87-admin-decomp-cfrom
Conversation
Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add execution and audit tables with decomposed admin routes
fix: check all errors in Phase C store tests
Feb 23, 2026
intel352
added a commit
that referenced
this pull request
Feb 23, 2026
* feat: add execution/audit tables and decompose admin routes (#87) Add tests for Phase C database tables (workflow_executions, execution_steps, execution_logs, audit_log) and validate the admin config parses correctly. Tests cover: - Execution lifecycle (insert, complete, count by status) - Execution step lifecycle (insert, complete, ordering) - Execution logs (insert, count by level) - Audit log (insert, query) - Phase C table existence verification - Execution failure handling - Admin config parsing and module validation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: check all errors in Phase C store tests (#140) * Initial plan * fix: check all errors in Phase C store tests per review feedback Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
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.
Review feedback identified several places in the Phase C test suite where errors were silently discarded, masking root-cause failures and allowing tests to pass incorrectly.
Changes
CreateCompany,CreateOrganization,CreateProject,CreateWorkflowin all Phase C tests nowt.Fatalfon error instead of using_InsertExecution— errors now asserted inTestV1Store_ExecutionStepLifecycleandTestV1Store_ExecutionFailurerows.Scan()error checked inside loop;rows.Err()checked after loop inTestV1Store_ExecutionStepLifecycleCountExecutionsByWorkflow— error now asserted before inspecting the returned map inTestV1Store_ExecutionFailureBefore:
After:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.