Commit dd21960
committed
Merged PR 7063: Sync Development to main
Sync Development to main
----
#### AI description (iteration 1)
#### PR Classification
This PR is a development sync that delivers broad improvements including enhanced error handling, added fuzz testing targets, and code cleanups.
#### PR Summary
The changes improve the TDS client’s robustness and maintainability by aggregating multiple SQL Server error tokens, revising bulk metadata queries, and adding new fuzz targets for bulk copy command testing.
- **`src/error/mod.rs`** – Introduced aggregation of SQL Server error tokens into a single error and ensured proper stream draining for connection reuse.
- **`src/message/metadata_retriever.rs`** – Updated the bulk copy metadata query to use dynamic SQL, eliminating graph_type references on older SQL Server versions.
- **`fuzz/fuzz_targets/fuzz_bulk_copy.rs`** – Added a new fuzz target for bulk copy command generation and validations to catch panics without crashing.
- **Security & Token Parsers (e.g., in `src/token/parsers/*` and `src/security/*`)** – Cleaned up unused functions and improved FFI visibility, enhancing code clarity and consistency.
- **Dependency & Pipeline Files** – Refreshed lockfiles (e.g. in `mssql-js/yarn.lock`) and updated CI/pipeline scripts for improved build and fuzz testing verification.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Related work items: #40377, #40829, #40924, #41302, #41412, #41497, #41728, #41762, #41830, #41851, #42218, #42220, #42221, #42278, #42825, #42922, #42936, #43048, #43063, #43087, #43091, #4310855 files changed
Lines changed: 1325 additions & 1198 deletions
File tree
- .devcontainer
- .pipeline
- scripts
- mssql-js
- mssql-py-core
- mssql-tds
- fuzz
- fuzz_targets
- src
- connection
- transport
- datatypes
- error
- handler
- io
- message
- features
- query
- security
- unix
- windows
- token
- parsers
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | | - | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | | - | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
341 | 346 | | |
342 | 347 | | |
343 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
0 commit comments