Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThis pull request modifies GitHub and Azure Pipeline configurations. A minimal formatting adjustment updates the GitHub PR title check workflow. The Azure Pipeline for database schema creation is substantially expanded with new TEST and QA deployment stages, standardized per-service SQL artifact naming conventions, and corresponding per-service SqlAzureDacpacDeployment tasks. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
Azure_Pipelines/azure-pipelines.db-schema-creation.yaml (1)
354-355: Inconsistent job naming convention.Job names mix PascalCase (
UpdateAccountSchema) with partially lowercase names (UpdateauditSchema,UpdatecensusSchema). For consistency and readability, consider standardizing to PascalCase throughout (e.g.,UpdateAuditSchema,UpdateCensusSchema).Also applies to: 372-373, 390-391
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
.github/workflows/pr-title-check.yml(1 hunks)Azure_Pipelines/azure-pipelines.db-schema-creation.yaml(10 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**
⚙️ CodeRabbit configuration file
**: Pull requests that have "TECH_DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates,
and logging improvements. These TECH_DEBT PRs must not affect core functionality. All PRs that are not considered technical debt must include information on what
testing was performed in the description of the PR. If it does not, ask the author to provide details on what testing was performed.
When reviewing code, suggest unit tests using XUnit in the following scenarios:
- If/Else or Switch/Case blocks are introduced or modified — ensure each branch has a corresponding unit test.
- Logic that depends on service or interface configuration — suggest tests to validate different implementations are correctly resolved.
- No network activity (HTTP calls, sockets, etc.) should appear in unit tests. Recommend using mocks (via Moq) for any external communication.
Large unit tests should be avoided; keeping unit tests small and focused on targeted business logic (i.e. string sanitization)
**: Pull requests that have DOCS in the title should only contain changes related to documentation within the /docs folder or in .md files through-out the code-base. The description
of the PR should specify what documentation was updated. Documentation updates should use EventCatalog.dev structure, where service-specific functionality should be described
in the service's index.mdx (i.e. /services/XXX/index.mdx or /domains/XXX/services/YYY/index.mdx). Configurations that are shared by multiple services should be
reflected in the /docs/docs/config files.
Files:
Azure_Pipelines/azure-pipelines.db-schema-creation.yaml
🧠 Learnings (3)
📓 Common learnings
Learnt from: sdmcgeown
Repo: lantanagroup/link-cloud PR: 0
File: :0-0
Timestamp: 2025-07-24T17:49:23.117Z
Learning: PR #1004 in the Link Cloud project introduced comprehensive normalization operation testing functionality including a new test operation dialog, JSON validation, resource type validation, and real-time testing capabilities that require documentation updates across multiple files in the docs folder.
Learnt from: CR
Repo: lantanagroup/link-cloud PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-11-24T18:43:37.952Z
Learning: PR descriptions must follow the template: 🛠️ Description of Changes, 🧪 Testing Performed, 🧑🔬 Unit Testing with checkbox, and 📓 Documentation Updated sections
Learnt from: seanmcilvenna
Repo: lantanagroup/link-cloud PR: 1241
File: Azure_Pipelines/azure-pipelines.db-schema-creation.yaml:251-270
Timestamp: 2025-11-06T19:08:10.347Z
Learning: In the lantanagroup/link-cloud repository, CI/CD pipeline changes (such as modifications to Azure Pipelines YAML files) are not considered functional features to the application and can be included in TECH_DEBT pull requests.
📚 Learning: 2025-11-06T19:08:10.347Z
Learnt from: seanmcilvenna
Repo: lantanagroup/link-cloud PR: 1241
File: Azure_Pipelines/azure-pipelines.db-schema-creation.yaml:251-270
Timestamp: 2025-11-06T19:08:10.347Z
Learning: In the lantanagroup/link-cloud repository, CI/CD pipeline changes (such as modifications to Azure Pipelines YAML files) are not considered functional features to the application and can be included in TECH_DEBT pull requests.
Applied to files:
Azure_Pipelines/azure-pipelines.db-schema-creation.yaml
📚 Learning: 2025-11-24T18:43:37.952Z
Learnt from: CR
Repo: lantanagroup/link-cloud PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-11-24T18:43:37.952Z
Learning: PR descriptions must follow the template: 🛠️ Description of Changes, 🧪 Testing Performed, 🧑🔬 Unit Testing with checkbox, and 📓 Documentation Updated sections
Applied to files:
.github/workflows/pr-title-check.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (13)
- GitHub Check: Build Documentation
- GitHub Check: Analyze (java-kotlin)
- GitHub Check: Analyze (csharp)
- GitHub Check: Database Script Generation (Build Generate Tenant Schema Script)
- GitHub Check: Database Script Generation (Build Generate Validation Schema Script)
- GitHub Check: Database Script Generation (Build Generate QueryDispatch Schema Script)
- GitHub Check: Database Script Generation (Build Generate Submission Schema Script)
- GitHub Check: Database Script Generation (Build Generate Data Acquisition Schema Script)
- GitHub Check: Database Script Generation (Build Generate Normalization Schema Script)
- GitHub Check: Database Script Generation (Build Generate Account Schema Script)
- GitHub Check: Database Script Generation (Build Get Changes)
- GitHub Check: Database Script Generation (Build Generate Audit Schema Script)
- GitHub Check: Database Script Generation (Build Generate Census Schema Script)
🔇 Additional comments (4)
.github/workflows/pr-title-check.yml (1)
41-41: LGTM - Formatting-only change.This appears to be a minor whitespace or formatting adjustment with no functional impact on the workflow.
Azure_Pipelines/azure-pipelines.db-schema-creation.yaml (3)
18-19: LGTM - Variable group for credentials.Good practice to use a variable group (
MSSQL_DBCreation) for database credentials rather than hardcoding them.
134-158: Good improvement: Per-service artifact naming.The change from a generic
scriptsartifact to per-service artifacts (account-db,audit-db, etc.) improves traceability and allows selective downloads in deployment jobs. This is a cleaner approach. Based on learnings, CI/CD pipeline changes are appropriate for this repository.
680-689: Same hardcoded migration file issue as TEST stage.This has the same problem as noted for the TEST stage (line 513) - only the initial schema migration is applied, missing any subsequent migrations.
⛔ Skipped due to learnings
Learnt from: smailliwcs Repo: lantanagroup/link-cloud PR: 581 File: Java/validation/src/main/resources/application-local.yml:16-18 Timestamp: 2024-12-18T20:17:05.877Z Learning: The project uses Flyway-style naming for migration files but does not actually use Flyway to apply them, which can affect future assumptions about schema versioning.
89d1c96 to
6d5073f
Compare
32e9981 to
7d477b4
Compare
* Updating for script * updating artifacts * updating account db deploy * Adding Windows Pool for SQL Apply * adding variable group * adding TEST environment to Apply * stashing * changing server name -> variable
* Updating for script * updating artifacts * updating account db deploy * Adding Windows Pool for SQL Apply * adding variable group * adding TEST environment to Apply * stashing * changing server name -> variable
* Update PatientDataService.cs * Update PatientDataService.cs * TECH_DEBT: Dops 487 Updating DB Migration Pipeline w/ Automation (#1332) * Updating for script * updating artifacts * updating account db deploy * Adding Windows Pool for SQL Apply * adding variable group * adding TEST environment to Apply * stashing * changing server name -> variable --------- Co-authored-by: Keith Kissal <99497673+kissalk@users.noreply.github.com>
* Fix Op Outcome retries * LNK-4857 * add better handling for 404 and 410 * retrigger codeql * Update PatientDataService.cs * Update PatientDataServiceTests.cs * Update PatientDataService.cs * Update PatientDataServiceTests.cs * TECH_DEBT: Dops 487 Updating DB Migration Pipeline w/ Automation (#1332) * Updating for script * updating artifacts * updating account db deploy * Adding Windows Pool for SQL Apply * adding variable group * adding TEST environment to Apply * stashing * changing server name -> variable --------- Co-authored-by: Keith Kissal <99497673+kissalk@users.noreply.github.com>
This PR will add support to deploy the Database Migration scripts to each environment
🧑🔬 Unit Testing