Skip to content

[DSD-9264] mosipdev to mosipqa - #1394

Merged
abhishek8shankar merged 1 commit into
mosip:release-1.2.0.1from
SwapnilWorks-Devops:release-1.2.0.1
Nov 19, 2025
Merged

[DSD-9264] mosipdev to mosipqa#1394
abhishek8shankar merged 1 commit into
mosip:release-1.2.0.1from
SwapnilWorks-Devops:release-1.2.0.1

Conversation

@SwapnilWorks-Devops

@SwapnilWorks-Devops SwapnilWorks-Devops commented Nov 19, 2025

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated service configurations for improved deployment and management infrastructure.

Signed-off-by: Swapnil <swapnil.mohanty@technoforte.co.in>
@coderabbitai

coderabbitai Bot commented Nov 19, 2025

Copy link
Copy Markdown

Walkthrough

This change updates the release configuration by replacing a single print service image entry with three new service image entries in the Vidivi release manifest, specifically adding partner-management-service, policy-management-service, and pmp-ui-v2 references with develop branch specifications.

Changes

Cohort / File(s) Summary
Release configuration update
release/vidivi/images.txt
Removed mosipdev/print:release-1.3.x entry; added three new image entries: mosipdev/pmp-ui-v2:develop, mosipdev/partner-management-service:develop, and mosipdev/policy-management-service:develop with develop tags

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • This is a straightforward configuration file update with no logic changes

Possibly related PRs

  • #1361: Directly modifies the same partner-management-service and policy-management-service entries in release/vidivi/images.txt
  • #1393: Conflicts on the mosipdev/print:release-1.3.x entry that this PR removes
  • #1376: Updates different image mappings in the same release configuration file

Suggested reviewers

  • ckm007

Poem

🐰 Hopping through configs, our ears all aglow,
Print service departs, new friends come to show,
Partner and policy now lead the way,
PMP-UI joins the Develop ballet! 🎪

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title references 'mosipdev to mosipqa' but the actual changes replace mosipdev/print with three mosipdev services, not a conversion to mosipqa. Revise the title to accurately reflect the changes, such as 'DSD-9264 Replace print image with PMP and policy management services' or 'DSD-9264 Update release images for component services'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@abhishek8shankar
abhishek8shankar merged commit af0b62e into mosip:release-1.2.0.1 Nov 19, 2025
1 of 2 checks passed

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 80914d6 and ca9d86e.

📒 Files selected for processing (1)
  • release/vidivi/images.txt (1 hunks)

Comment thread release/vidivi/images.txt
Comment on lines +1 to +3
mosipdev/pmp-ui-v2:develop develop
mosipdev/partner-management-service:develop develop
mosipdev/policy-management-service:develop develop

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Critical: PR title states "mosipdev to mosipqa" but code uses "mosipdev" registry.

The PR title indicates a registry migration from mosipdev to mosipqa, but lines 1-3 still reference mosipdev. This is a significant discrepancy that suggests the intended changes may not have been applied.

Verify the intended changes:

  • Did you mean to change mosipdevmosipqa across all three image references?
  • If so, apply this diff:
-mosipdev/pmp-ui-v2:develop develop
-mosipdev/partner-management-service:develop develop
-mosipdev/policy-management-service:develop develop
+mosipqa/pmp-ui-v2:develop develop
+mosipqa/partner-management-service:develop develop
+mosipqa/policy-management-service:develop develop

🏁 Script executed:

#!/bin/bash
# Check the actual content of the file and surrounding context
echo "=== File content: release/vidivi/images.txt ==="
cat release/vidivi/images.txt 2>/dev/null || echo "File not found"

echo -e "\n=== Directory listing of release/vidivi/ ==="
ls -la release/vidivi/ 2>/dev/null || echo "Directory not found"

echo -e "\n=== Git log for this file (last 5 commits) ==="
git log --oneline -5 -- release/vidivi/images.txt 2>/dev/null || echo "No git history available"

echo -e "\n=== Current git branch and PR info ==="
git branch -v 2>/dev/null || echo "No branch info"
git log -1 --format="%B" 2>/dev/null || echo "No commit message"

echo -e "\n=== Search for similar image manifest files ==="
find release -name "*.txt" -o -name "images*" 2>/dev/null | head -20 || echo "No other manifest files found"

echo -e "\n=== Search for mosipqa or mosipdev patterns in release directory ==="
rg "mosipqa|mosipdev" release/ 2>/dev/null | head -30 || echo "No patterns found"

Length of output: 4811


Critical: PR title states "mosipdev to mosipqa" but code uses "mosipdev" registry—review comment is valid.

The verification confirms the original review comment is accurate. The commit message [DSD-9264] mosipdev to mosipqa indicates intent to migrate to the mosipqa registry, but the three image entries in lines 1-3 still reference mosipdev.

Additionally, the transfer report and logs show the previous release migrated the print service from mosipdev/print:release-1.3.x to mosipqa/print:1.3.x, establishing a pattern of using stable release tags (not develop branches) for release manifests. The current entries using develop tags on mosipdev registry contradicts both the PR objective and the established release pattern.

These entries require update to use the mosipqa registry and should likely use stable release tags instead of develop to maintain consistency with the prior release configuration.

🤖 Prompt for AI Agents
In release/vidivi/images.txt around lines 1-3 the entries still reference the
mosipdev registry and use "develop" tags while the PR and commit message intend
migration to mosipqa and the release pattern requires stable release tags;
update each image entry to use the mosipqa registry (e.g., mosipqa/pmp-ui-v2,
mosipqa/partner-management-service, mosipqa/policy-management-service) and
replace "develop" tags with the appropriate stable release tags used in this
release (match the transfer report or prior-release tag format, e.g.,
release-<version> or the exact version numbers), ensuring the registry and tag
changes are applied to all three lines.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

Major: Using develop branches in release configuration.

Lines 1-3 reference the develop branch for all three services. This is atypical for release manifests because:

  • Release stability: Develop branches are unstable and subject to frequent, unvetted changes. Release builds should lock to tagged, stable versions.
  • Reproducibility: Using develop branches can result in non-deterministic builds, where the same release tag pulls different code at different times.
  • Version control: Releases typically pin specific versions (e.g., release-1.3.x, as evidenced by the replaced print service entry).

Confirm whether this is intentional or whether these should reference release tags instead (e.g., release-1.2.0.1 to match the target branch).

If stable versions are required, consider updating to:

-mosipdev/pmp-ui-v2:develop develop
-mosipdev/partner-management-service:develop develop
-mosipdev/policy-management-service:develop develop
+mosipdev/pmp-ui-v2:release-1.2.0.1 release-1.2.0.1
+mosipdev/partner-management-service:release-1.2.0.1 release-1.2.0.1
+mosipdev/policy-management-service:release-1.2.0.1 release-1.2.0.1

I'll help you verify this review comment. Let me gather information about the file structure and context.


---

🏁 Script executed:

```shell
#!/bin/bash
# Check the full content of the release configuration file
if [ -f "release/vidivi/images.txt" ]; then
  echo "=== Full content of release/vidivi/images.txt ==="
  cat "release/vidivi/images.txt"
  echo ""
  echo "=== Line count and details ==="
  wc -l "release/vidivi/images.txt"
else
  echo "File not found at release/vidivi/images.txt"
fi

Length of output: 247


🏁 Script executed:

#!/bin/bash
# Search for other release configuration files with similar pattern
echo "=== Searching for other release config files ==="
find release -type f -name "*.txt" 2>/dev/null | head -20
echo ""
echo "=== Searching for files with similar structure (service:branch patterns) ==="
rg -l "mosipdev|develop|release-" release/ --type txt 2>/dev/null | head -20

Length of output: 283


🏁 Script executed:

#!/bin/bash
# Look for any documentation about versioning strategy
echo "=== Searching for version/branching documentation ==="
find . -maxdepth 3 -type f \( -name "README*" -o -name "RELEASE*" -o -name "VERSION*" \) 2>/dev/null | head -10

Length of output: 234



---

🏁 Script executed:

```shell
#!/bin/bash
# Check the content of release/checks/images.txt for comparison
echo "=== Content of release/checks/images.txt ==="
cat "release/checks/images.txt"
echo ""
echo "=== Content of release/vidivi/README.md ==="
cat "release/vidivi/README.md"

Length of output: 16695


🏁 Script executed:

#!/bin/bash
# Check the main release README for branching/versioning strategy
echo "=== Content of release/README.md ==="
cat "release/README.md"

Length of output: 6859


🏁 Script executed:

#!/bin/bash
# Search for git history or version tags pattern
echo "=== Searching for release tags or version patterns in code ==="
rg "release-[0-9]+" --max-count=5 . --type txt --type md 2>/dev/null

Length of output: 1606


Update references to use release version tags instead of develop branches.

The file is used by the image transfer tool as part of the official release process. The documented workflow expects images to be transferred using specific release versions, and the example format shown in the tool's documentation uses versioned tags (e.g., mosipdev/kernel-auth-service:1.2.0.1 1.2.0.1), not branch references. Using develop branches creates non-deterministic builds where the same release tag pulls different code over time.

Lines 1-3 should reference stable release tags:

-mosipdev/pmp-ui-v2:develop develop
-mosipdev/partner-management-service:develop develop
-mosipdev/policy-management-service:develop develop
+mosipdev/pmp-ui-v2:release-1.2.0.1 release-1.2.0.1
+mosipdev/partner-management-service:release-1.2.0.1 release-1.2.0.1
+mosipdev/policy-management-service:release-1.2.0.1 release-1.2.0.1
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
mosipdev/pmp-ui-v2:develop develop
mosipdev/partner-management-service:develop develop
mosipdev/policy-management-service:develop develop
mosipdev/pmp-ui-v2:release-1.2.0.1 release-1.2.0.1
mosipdev/partner-management-service:release-1.2.0.1 release-1.2.0.1
mosipdev/policy-management-service:release-1.2.0.1 release-1.2.0.1
🤖 Prompt for AI Agents
In release/vidivi/images.txt around lines 1 to 3, the entries currently
reference the develop branch instead of stable release tags; update each line to
use the official release version tag in both the image tag and the second column
(format: <image>:<version> <version>) — replace "develop develop" with the
correct release version (e.g., 1.2.0.1 1.2.0.1) for each of mosipdev/pmp-ui-v2,
mosipdev/partner-management-service, and mosipdev/policy-management-service so
the image transfer tool pulls deterministic, versioned images.

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.

2 participants