Skip to content

feat: Many featurs including memory cache for fields and projects#210

Merged
rulasg merged 29 commits intomainfrom
improve-performance-fields
Mar 9, 2026
Merged

feat: Many featurs including memory cache for fields and projects#210
rulasg merged 29 commits intomainfrom
improve-performance-fields

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented Mar 8, 2026

Here is a list of commits with their messages and short descriptions based on the provided diffs:


Commit Message:
Refactor project cache file naming for consistency

Description:
Changed the format of the project cache file name in Get-Mock_Project_700 from "$($pActual.owner.login)_$($pActual.number).json" to "db-$($pActual.owner.login)-$($pActual.number)-project.json" for better consistency with other database keys.


Commit Message:
Add normalized test data for project item retrieval

Description:
Added a new mock JSON file invoke-getitem-PVTI_lADOAlIw4c4BCe3Vzgeio4o-Normalized.json with detailed structure for an issue, including comments and various field values, to support tests for normalized titles and item retrieval.


Commit Message:
Update environment cache file naming in project parameter tests

Description:
Changed environment cache file names in projectParameters.test.ps1 to use the new convention (env-owner.json, env-ProjectNumber.json, env-ProjectTitle.json) instead of the old EnvironmentCache_* format.


Commit Message:
Add tests for normalized project item titles

Description:
Added new tests in edit_project_item.test.ps1 to verify normalization logic for project item titles, including cases where the title is already normalized and various edge cases for normalization.


Commit Message:
Update environment variable accessors for project last update tests

Description:
Refactored tests in updateprojectrecent.test.ps1 to use new functions Get-EnvProjectLastUpdate and Set-EnvProjectLastUpdate instead of the previous Get-EnvItem_Last_RecentUpdate and Set-EnvItem_Last_RecentUpdate, and updated comments and assertions accordingly.


Commit Message:
Set default debug section and improve file path validation in logging

Description:
Set default value for $section in Write-MyDebug to "none". Improved file path validation in Write-MyDebugLogging by checking for leaf file type, and removed redundant log file path joining.


Commit Message:
Enhance debug section filtering and environment variable management

Description:
Refactored debug section filtering logic in Test-MyDebug to support allow and filter lists, and updated Enable-ModuleNameDebug to accept multiple sections and additional sections. Added helpers for managing debug sections and log file environment variables.


Commit Message:
Add function to retrieve current debug configuration

Description:
Added Get-ModuleNameDebug to retrieve current debug sections and logging file path, and exported it as a module member.


Commit Message:
Add helpers for debug section and log file environment variables

Description:
Added functions get-Sections, set-Sections, get-LogFile, and set-LogFile to facilitate management of debug-related environment variables.


Commit Message:
Add debug logging to database operations

Description:
Added debug output to Get-Database, Test-Database, and Reset-Database to log key and path information for database operations.


Commit Message:
Add helper to generate consistent database keys

Description:
Added Get-DatabaseKey function to generate consistent database keys based on owner, project number, and category, with validation for input parameters.


Each commit message and description corresponds to a logical set of changes from the diffs you provided.

rulasg added 22 commits March 7, 2026 08:15
fix: resolve issue with user authentication flow
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PSScriptAnalyzer found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@rulasg rulasg merged commit 12d994b into main Mar 9, 2026
3 checks passed
@rulasg rulasg deleted the improve-performance-fields branch March 9, 2026 10:31
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.

1 participant