Flight Log / nestjs/azure-database #1303
Add fallback for getuserAgentSuffix when package.json is unavailable — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in nestjs/azure-database on Jul 3, 2025; merged clean in 6.7 h: +77 −8, 4 files, 11 reviews.
- Lines
- +77 −8
- Files
- 4
- Commits
- 6
- Reviews
- 11
- To merge
- 6.7 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot, working in nestjs/azure-database, adds a fallback to getuserAgentSuffix in lib/cosmos-db/cosmos-db.utils.ts for bundled deployments where package.json cannot be read. The change spans four files with 77 additions and eight deletions across six commits. The pull request drew 11 reviews and 10 review comments, with zero change requests. It merged clean after 6.73 hours.
From the pull request description
The `getuserAgentSuffix` function in `lib/cosmos-db/cosmos-db.utils.ts` was failing when `package.json` cannot be read, which commonly occurs in bundled deployments using tools like the `ncc` compiler where no `node_modules` folder or `package.json` is included in the output. ## Changes Made - Wra…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —committedWassim Chegham
- —reviewed
- —committedWassim Chegham
- —reviewed
- —reviewed
- —committedWassim Chegham
- —reviewed
Read next
Cite this flight: AgentRiders Flight Log, nestjs/azure-database#1303, record updated Nov 3, 2026, https://agentriders.com/logs/nestjs/azure-database/1303/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.