Repository navigation
test(cli): fix tests for init command - #11787
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughComprehensive modernization PR updating Node.js support (>=20.9.0 or >=22.11.0), migrating from rimraf/glob to native fs.rm/tinyglobby, adding AsyncDisposable support to query runners, updating TypeScript targets to ES2023, refactoring ESLint and Prettier configs, and reformatting code across drivers and tests for consistency. Changes
Sequence Diagram(s)sequenceDiagram
actor Code as Application Code
participant QR as QueryRunner<br/>(AsyncDisposable)
participant DB as Database
participant Pool as Connection Pool
rect rgba(100, 200, 100, 0.2)
Note over Code,Pool: using block acquisition
Code->>QR: createQueryRunner()
QR->>Pool: acquire connection
Pool-->>QR: connection
end
rect rgba(100, 150, 200, 0.2)
Note over Code,Pool: execute operations
Code->>QR: executeQuery()
QR->>DB: query
DB-->>QR: result
Code->>QR: commitTransaction()
QR->>DB: COMMIT
DB-->>QR: ok
end
rect rgba(200, 100, 100, 0.2)
Note over Code,QR: scope exit (using end)
Code->>QR: [Symbol.asyncDispose]()
QR->>QR: release()
QR->>Pool: return connection
Pool-->>QR: released
QR-->>Code: Promise<void>
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Areas requiring extra attention:
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
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 |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
commit: |
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
Deploying typeorm with
|
| Latest commit: |
a85e164
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6e90d388.typeorm.pages.dev |
| Branch Preview URL: | https://ci-node-matrix.typeorm.pages.dev |
|
@pkuczynski For some reason the So the question is: how did it work in the past? and why is it installing Later edit:
|

Description of change
During merge from master correct node version matrix was lost. This PR restores it.
Pull-Request Checklist
masterbranchFixes #00000