Skip to content

Dev#2434

Merged
JamesPasta merged 37 commits into
testfrom
dev
May 8, 2026
Merged

Dev#2434
JamesPasta merged 37 commits into
testfrom
dev

Conversation

@JamesPasta
Copy link
Copy Markdown
Collaborator

No description provided.

DavidBrightBcGov and others added 30 commits May 7, 2026 13:42
…ntApplications table query optimization

Recreated indexes post .NET10 upgrade from previous branch to properly capture migration changes
Adds an IAIRateLimiter (per-user IDistributedCache key
"AI:Cooldown:{userId}" with 60s TTL configurable via
"AI:RateLimit:CooldownSeconds") and wires it into the single
AI chokepoint, ApplicationAIGenerationQueue. All four manual
generate flows (Application Analysis, Application Scoring,
Attachment Summaries, Generate All) and any future caller now
go through the same gate. Background/system callers without an
authenticated user are not rate-limited.

Adds AIRateLimitAppService exposing GET /api/app/ai-rate-limit/state
and ai-rate-limit.js, which on Details page load fetches the
current user's remaining cooldown, disables every .ai-generate-btn
with a "Wait Ns" countdown, and re-fetches after each click so
the cooldown persists across page refreshes and sibling buttons.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…umns/data.

- Added RequestedFields to the DTO and repository
- Added ApplicationListRecord
- Backend joins related entities only when needed
- Selecting a joined column for display will reload necessary data.

Recreated post .NET10 update
…ysis-requests

Feature/ab#32290 throttle ai analysis requests
…ance-indexes

Feature - AB#32084 Application List Performance Indexes
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ance-limit-columns-10update

feature/AB#32688 - AppList Performance Only Necessary Columns Net10 Update
Added GrantManagerDbWarmupService for cold starts, registered the web module so that its only affects the Web project, and not others like DbMigrator.

A lot of minor tweaks to parts of the GrantApplications DataTable initialization and rendering.
--Defer render is now on.
--Standardized all date calls from luxon.DateTime.fromISO(...).toUTC().toLocaleString() to DateUtils.formatUtcDateToLocal(data, type);
--Moved expensive object creations outside of render functions so that they're not re-run on every row render
--Added type guards to more expensive render column functions that include HTML, so that when not displayed the function is not run but the internal value is still filterable.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…nd timeouts

src\Unity.GrantManager.EntityFrameworkCore\EntityFrameworkCore\DbWarmupOptions.cs

Note:
Phase 1: EF Core model compliation
Phase 2: per-tenant DB query warming.

AppSettings.json can now include the options:
"DbWarmup": {
"IsPhase2Enabled": Default true;
"MaxTenants": 0 means no limit. Default: 0.
"Phase2TimeoutSeconds": 0 means no timeout. Default: 0. Total seconds allowed for Phase 2 across all tenants before it is abandoned.
}
…ance-code-updates-10update

Feature/AB#32781 App List Performance Code Updates
…ext-ButtonsStyle

AB#32545: Update Assessment Buttons Styling, Order, and Text
…ompletion-code-path

AB#32890 remove dead AI completion code path
JamesPasta and others added 7 commits May 8, 2026 14:49
…oad-validator-helpers

AB#32903 simplify AI provider payload validator helpers
…orting-code-into-unity-core

AB#32543 move AI reporting into AI module
…ation-tests

AB#32902 add AI runtime validation tests
…ature-disabled-checks

AB#32892 centralize AI feature-disabled checks
…son-serializer-defaults

AB#32898 consolidate AI JSON serializer defaults
…ntime-cancellation-ready

AB#32900 make AI generation runtime cancellation-ready
@JamesPasta JamesPasta merged commit 01e9b34 into test May 8, 2026
17 checks passed
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 8, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 703
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

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.

5 participants