feat: add serverless item and report counts - #592
Merged
Conversation
Expose database-level item and root-report counts through the serverless ADR facade. Root report counts filter on parent=None so nested templates are excluded. Add unit and ADR-backed coverage for the count queries and document both helpers in the serverless querying guide.
Refresh locked package versions with the repository-required post-commit uv upgrade workflow. Project dependency constraints remain unchanged.
Refresh the lockfile to cffi 2.1.1 so CI installs the latest resolved dependency set. Verified with pre-commit, make check, make smoketest, and the focused serverless count test.
Bump the Security Scan workflow from ansys/actions v10.3.2 to v10.3.6. The upstream hotfix constrains NLTK to avoid the safe-path import crash that prevented Safety from producing its report. Verified with pre-commit, make check, make smoketest, and the focused serverless count test.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #592 +/- ##
==========================================
+ Coverage 82.59% 82.60% +0.01%
==========================================
Files 31 31
Lines 9021 9027 +6
Branches 1623 1623
==========================================
+ Hits 7451 7457 +6
Misses 1084 1084
Partials 486 486 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
viseshrp
marked this pull request as ready for review
August 4, 2026 16:08
margalva
approved these changes
Aug 4, 2026
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.
Fixes https://ado.internal.synopsys.com/tfs/ANSYS_Development/Portfolio/_workitems/edit/1494403
Summary
Verification
The two ADR-backed count tests were collected but could not start locally because the Docker daemon was unavailable. They remain included for the product-equipped CI/ADO environment.