Dev#2434
Merged
Merged
Conversation
…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
…mapping AB#32683 report history mapping
…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
…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
|
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.



No description provided.