Skip to content

Conversation

@itsmostafa
Copy link
Collaborator

Summary

Removes unused AcetAnswerDistribution stored procedure artifacts from the codebase and improves the taskfile with better backend check commands.

Commits

  • 92b06a41f refactor(datalayer): remove AcetAnswerDistribution stored procedure artifacts
  • e639bc2ed chore(business): clean up trailing whitespace and remove unused import
  • e3f94e9ed chore(taskfile): improve backend checks and SQL shell command

Changes

  • Remove AcetAnswerDistribution and IseAnswerDistribution methods from CSETContext
  • Delete AcetAnswerDistribution_Result.cs and AcetAnswerDistributionResult.cs model classes
  • Remove AcetAnswerDistributionAsync from generated stored procedure interfaces
  • Remove procedure from EF Power Tools scaffold configuration
  • Remove unused Microsoft.Data.SqlClient import from CompletionCounter.cs
  • Fix trailing whitespace in ImportManager.cs and CompletionCounter.cs
  • Rename check:backend to verify:backend for format verification
  • Add new check:backend that runs build, lint, and test in parallel
  • Fix sql task to connect directly to CSET database

Breaking Changes

None

Test Plan

  • Run task build:backend to verify backend builds successfully
  • Run task test:backend to verify all tests pass
  • Run task check:backend to verify new parallel check command works
  • Run task sql and verify it connects to CSET database directly

Related Issues

None

Release Notes

Cleanup of unused stored procedure artifacts and improvements to developer experience with better taskfile commands.

Checklist

  • Tests pass locally
  • Linting passes
  • Conventional commit format followed

…rtifacts

Remove unused AcetAnswerDistribution and IseAnswerDistribution methods
along with their associated result classes. These stored procedures
are no longer used in the codebase.

- Delete AcetAnswerDistribution_Result.cs (manual class)
- Delete AcetAnswerDistributionResult.cs (auto-generated model)
- Remove AcetAnswerDistribution and IseAnswerDistribution from CSETContext
- Remove AcetAnswerDistributionAsync from CsetwebContextProcedures
- Update ICsetwebContextProcedures interface
- Remove procedure from efpt.config.json scaffold configuration
- Remove unused Microsoft.Data.SqlClient import from CompletionCounter.cs
- Fix trailing whitespace in ImportManager.cs and CompletionCounter.cs
- Rename check:backend to verify:backend for format verification
- Add new check:backend that runs build, lint, and test in parallel
- Fix sql task to connect directly to CSET database
- Normalize quote style to double quotes for consistency
@itsmostafa itsmostafa changed the title chore: cleanup unused AcetAnswerDistribution artifacts and improve taskfile cleanup: unused AcetAnswerDistribution artifacts and improve taskfile Dec 19, 2025
@itsmostafa itsmostafa self-assigned this Dec 19, 2025
@itsmostafa itsmostafa changed the title cleanup: unused AcetAnswerDistribution artifacts and improve taskfile cleanup: unused Acet and ISE procedures and improve taskfile Dec 19, 2025
Pass Configuration to ImportManager constructor in AssessmentsDuplicator
to ensure proper configuration is available during bulk import operations.
Add sql:query and sql:file tasks to enable programmatic database exploration.
These tasks are designed for coding agents like Claude Code to execute
queries without requiring interactive shell access. Also updates the sql
task to use mssql-tools18 with TLS certificate verification disabled (-C flag).
@randywoods randywoods merged commit bfdbf47 into develop Dec 19, 2025
6 checks passed
@randywoods randywoods deleted the chore/cleanup-unused-acet-procedure branch December 19, 2025 18:25
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.

3 participants