Skip to content

chore: update integration ref#3741

Open
officialasishkumar wants to merge 9 commits intomainfrom
sanity-check-integrations
Open

chore: update integration ref#3741
officialasishkumar wants to merge 9 commits intomainfrom
sanity-check-integrations

Conversation

@officialasishkumar
Copy link
Member

Describe the changes that are made

Links & References

Closes: #[issue number that will be closed through this PR]

  • NA (if very small change like typo, linting, etc.)

🔗 Related PRs

  • NA

🐞 Related Issues

  • NA

📄 Related Documents

  • NA

What type of PR is this? (check all applicable)

  • 📦 Chore
  • 🍕 Feature
  • 🐞 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🔁 CI
  • ⏩ Revert

Added e2e test pipeline?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added comments for hard-to-understand areas?

  • 👍 yes
  • 🙅 no, because the code is self-explanatory

Added to documentation?

  • 📜 README.md
  • 📓 Wiki
  • 🙅 no documentation needed

Are there any sample code or steps to test the changes?

  • 👍 yes, mentioned below
  • 🙅 no, because it is not needed

Self Review done?

  • ✅ yes
  • ❌ no, because I need help

Any relevant screenshots, recordings or logs?

  • NA

🧠 Semantics for PR Title & Branch Name

Please ensure your PR title and branch name follow the Keploy semantics:

📌 PR Semantics Guide
📌 Branch Semantics Guide

Examples:

  • PR Title: fix: patch MongoDB document update bug
  • Branch Name: feat/#1-login-flow (You may skip mentioning the issue number in the branch name if the change is small and the PR description clearly explains it.)

Additional checklist:

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the default integrations repository git ref used by the internal composite GitHub Action that fetches private parsers/dependencies during CI workflows.

Changes:

  • Changed the default inputs.integration-ref for .github/actions/setup-private-parsers from main to fix-atomic-mongo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +12 to +15
integration-ref:
description: 'The git ref (branch, tag, or commit) of the integrations repo.'
required: true
default: 'main'
default: 'fix-atomic-mongo'
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

Changing the default integration-ref from main to a feature branch (fix-atomic-mongo) will implicitly affect all workflows that use this composite action without explicitly setting integration-ref (e.g. release/lint/docker workflows). This makes CI/release behavior depend on a potentially short-lived branch and can break builds if the branch is deleted/force-pushed. Prefer keeping the default as a stable ref (e.g. main or a tagged version/commit SHA) and, if a non-default ref is needed, pass integration-ref explicitly from the calling workflow(s) that require it.

Copilot uses AI. Check for mistakes.
@officialasishkumar officialasishkumar force-pushed the sanity-check-integrations branch from 7c3795a to b0fe08d Compare February 9, 2026 10:26
Signed-off-by: Asish Kumar <[email protected]>
@officialasishkumar officialasishkumar force-pushed the sanity-check-integrations branch from b0fe08d to 31de5cf Compare February 9, 2026 11:35
required: false
type: string
default: 'main' # Use main branch if nothing is sent**
default: 'fix-atomic-mongo' # Use main branch if nothing is sent**
Copy link
Contributor

Choose a reason for hiding this comment

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

WARNING: Changing the default integration-ref from main to a feature branch fix-atomic-mongo.

  1. Inconsistent comment: The inline comment says "Use main branch if nothing is sent" but the default is now fix-atomic-mongo
  2. Risk: This changes the default behavior for all callers of this workflow. If this PR is merged, all workflows using this without explicitly specifying integration-ref will use the feature branch instead of main.

Is this intentional? If this is temporary for testing, consider reverting before merge or updating the comment to reflect the actual default.

@kilo-code-bot
Copy link
Contributor

kilo-code-bot bot commented Feb 10, 2026

Code Review Summary

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
.github/actions/setup-private-parsers/action.yaml 15 Default integration-ref changed from main to feature branch mongo-fix. This affects all workflows using this action without explicit ref.
.github/workflows/prepare_and_run_integrations.yml 9 Default integration-ref changed from main to mongo-fix, but inline comment still says "Use main branch if nothing is sent" - inconsistent.
Recommendations
  1. Revert defaults to main - Feature branches should not be the default for shared CI actions/workflows as they may be deleted or force-pushed.
  2. Update the comment - If keeping mongo-fix as default, update the comment on line 9 of prepare_and_run_integrations.yml to reflect the actual default.
  3. Pass ref explicitly - If specific workflows need mongo-fix, pass integration-ref explicitly from those workflows rather than changing the global default.
Files Reviewed (2 files)
  • .github/actions/setup-private-parsers/action.yaml - 1 issue (default ref change)
  • .github/workflows/prepare_and_run_integrations.yml - 1 issue (default ref change + stale comment)

Fix these issues in Kilo Cloud

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.

3 participants