Skip to content

chore(qodo): disable in progress notification in v0.3 - #11928

Merged
naorpeled merged 4 commits into
v0.3from
chore/qodo/disable-in-progress-notification-v0.3
Jan 21, 2026
Merged

naorpeled merged 4 commits into
v0.3from
chore/qodo/disable-in-progress-notification-v0.3

Conversation

@naorpeled

@naorpeled naorpeled commented Jan 19, 2026 •

Copy link
Copy Markdown
Member

Description of change

Disabled in progress notification in Qodo's agent and also enabled CI failure checks message.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

Copilot AI review requested due to automatic review settings January 19, 2026 22:09
@naorpeled
naorpeled changed the base branch from master to v0.3 January 19, 2026 22:10
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jan 19, 2026 •

Copy link
Copy Markdown

Deploying typeorm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3cf7b12
Status: ✅  Deploy successful!
Preview URL: https://63c2ab79.typeorm.pages.dev
Branch Preview URL: https://chore-qodo-disable-in-progre.typeorm.pages.dev

View logs

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Jan 19, 2026 •

Copy link
Copy Markdown

PR Code Suggestions ✨

Latest suggestions up to 3cf7b12

CategorySuggestion                                                                                                                                    Impact
Possible issue
Restore removed review command

Restore the /review command in pr_commands to re-enable automatic PR review
functionality, and verify if its removal was intentional.

.pr_agent.toml [2-6]

 pr_commands = [
+    "/review",
     "/describe --pr_description.publish_description_as_comment=true",
     "/improve",
     "/agentic_review"
 ]
  • Apply / Chat
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies the removal of the /review command, a significant change to the tool's functionality, and rightly asks for verification.

Medium
  • More

Previous suggestions

Suggestions up to commit 2dc1bdd
CategorySuggestion                                                                                                                                    Impact
General
Refactor method to reduce duplication

Refactor the update method to eliminate duplicated code by using a single query
builder and conditionally applying whereInIds or where based on the criteria
type.

src/entity-manager/EntityManager.ts [777-824]

 update<Entity extends ObjectLiteral>(
     target: EntityTarget<Entity>,
     criteria:
         | string
         | string[]
         | number
         | number[]
         | Date
         | Date[]
         | ObjectId
         | ObjectId[]
         | any,
     partialEntity: QueryDeepPartialEntity<Entity>,
     options?: UpdateOptions,
 ): Promise<UpdateResult> {
     // if user passed empty criteria or empty list of criterias, then throw an error
     if (OrmUtils.isCriteriaNullOrEmpty(criteria)) {
         return Promise.reject(
             new TypeORMError(
                 `Empty criteria(s) are not allowed for the update method.`,
             ),
         )
     }
 
+    const qb = this.createQueryBuilder().update(target).set(partialEntity)
+
     if (OrmUtils.isPrimitiveCriteria(criteria)) {
-        const qb = this.createQueryBuilder()
-            .update(target)
-            .set(partialEntity)
-            .whereInIds(criteria)
+        qb.whereInIds(criteria)
+    } else {
+        qb.where(criteria)
+    }
 
-        if (options?.returning !== undefined) {
-            qb.returning(options.returning)
-        }
+    if (options?.returning !== undefined) {
+        qb.returning(options.returning)
+    }
 
-        return qb.execute()
-    } else {
-        const qb = this.createQueryBuilder()
-            .update(target)
-            .set(partialEntity)
-            .where(criteria)
-
-        if (options?.returning !== undefined) {
-            qb.returning(options.returning)
-        }
-
-        return qb.execute()
-    }
+    return qb.execute()
 }
Suggestion importance[1-10]: 6

__

Why: The suggestion correctly identifies and resolves code duplication in the update method by refactoring it to use a single query builder, which improves code maintainability and readability.

Low

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates TypeORM’s v0.3 docs and PR-agent configuration by linking QueryRunner API docs and adjusting PR-agent output/commands (including disabling progress output).

Changes:

  • Add a link from the QueryRunner docs page to the full QueryRunner API documentation.
  • Update .pr_agent.toml to change the default PR command and disable progress/auto-checks feedback output.

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

File Description
docs/docs/query-runner.md Adds a pointer to the full QueryRunner API documentation.
.pr_agent.toml Tweaks PR-agent commands and disables progress/auto-checks feedback output.

Comment thread .pr_agent.toml Resolved
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit 3cf7b12

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review


ⓘ The new review experience is currently in Beta. Learn more

Qodo Logo

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 80.765% (+0.002%) from 80.763%
when pulling 3cf7b12 on chore/qodo/disable-in-progress-notification-v0.3
into de2d34a on v0.3.

@mguida22 mguida22 changed the title chore(qodo): disable in progres snotification in v0.3 chore(qodo): disable in progress notification in v0.3 Jan 21, 2026
@naorpeled
naorpeled merged commit 9d07ec3 into v0.3 Jan 21, 2026
44 checks passed
@naorpeled
naorpeled deleted the chore/qodo/disable-in-progress-notification-v0.3 branch January 21, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants