You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/02/28 07:14:15 UTC
[PR] Bump axios from 1.7.7 to 1.13.6 in /seatunnel-engine/seatunnel-engine-ui [seatunnel]
dependabot[bot] opened a new pull request, #10549:
URL: https://github.com/apache/seatunnel/pull/10549
Bumps [axios](https://github.com/axios/axios) from 1.7.7 to 1.13.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p>
<blockquote>
<h2>v1.13.6</h2>
<p>This release focuses on platform compatibility, error handling improvements, and code quality maintenance.</p>
<h2>⚠️ Important Changes</h2>
<ul>
<li><strong>Breaking Changes:</strong> None identified in this release.</li>
<li><strong>Action Required:</strong> Users targeting React Native should verify their integration, particularly if relying on specific Blob or FormData behaviours, as improvements have been made to support these objects.</li>
</ul>
<h2>🚀 New Features</h2>
<ul>
<li><strong>React Native Blob Support:</strong> Axios now includes support for React Native Blob objects. Thanks to <a href="https://github.com/moh3n9595"><code>@moh3n9595</code></a> for the initial implementation. (<a href="https://redirect.github.com/axios/axios/pull/5764">#5764</a>)</li>
<li><strong>Code Quality:</strong> Implemented prettier across the codebase and resolved associated formatting issues. (<a href="https://redirect.github.com/axios/axios/pull/7385">#7385</a>)</li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>
<p><strong>Environment Compatibility:</strong></p>
<ul>
<li>Fixed module exports for React Native and Browserify environments. (<a href="https://redirect.github.com/axios/axios/pull/7386">#7386</a>)</li>
<li>Added safe FormData detection for the WeChat Mini Program environment. (<a href="https://redirect.github.com/axios/axios/pull/7324">#7324</a>)</li>
</ul>
</li>
<li>
<p><strong>Error Handling:</strong></p>
<ul>
<li>AxiosError.message is now correctly enumerable. (<a href="https://redirect.github.com/axios/axios/pull/7392">#7392</a>)</li>
<li>AxiosError.from now correctly copies the status property from the source error, ensuring better error propagation. (<a href="https://redirect.github.com/axios/axios/pull/7403">#7403</a>)</li>
</ul>
</li>
</ul>
<h2>🔧 Maintenance & Chores</h2>
<ul>
<li><strong>Dependencies:</strong> Updated the development_dependencies group (5 updates). (<a href="https://redirect.github.com/axios/axios/pull/7432">#7432</a>)</li>
<li><strong>Infrastructure:</strong> Migrated <code>@rollup/plugin-babel</code> from v5.3.1 to v6.1.0. (<a href="https://redirect.github.com/axios/axios/pull/7424">#7424</a>)</li>
<li><strong>Documentation:</strong> Added missing JSDoc comments to utilities. (<a href="https://redirect.github.com/axios/axios/pull/7427">#7427</a>)</li>
</ul>
<h2>🌟 New Contributors</h2>
<p>We are thrilled to welcome our new contributors! Thank you for helping improve the project:</p>
<ul>
<li><a href="https://github.com/Gudahtt"><code>@Gudahtt</code></a> (<a href="https://redirect.github.com/axios/axios/pull/7386">#7386</a>)</li>
<li><a href="https://github.com/ybbus"><code>@ybbus</code></a> (<a href="https://redirect.github.com/axios/axios/pull/7392">#7392</a>)</li>
<li><a href="https://github.com/Shiwaangee"><code>@Shiwaangee</code></a> (<a href="https://redirect.github.com/axios/axios/pull/7324">#7324</a>)</li>
<li><a href="https://github.com/skrtheboss"><code>@skrtheboss</code></a> (<a href="https://redirect.github.com/axios/axios/pull/7403">#7403</a>)</li>
<li><a href="https://github.com/Janaka66"><code>@Janaka66</code></a> (<a href="https://redirect.github.com/axios/axios/pull/7427">#7427</a>)</li>
<li><a href="https://github.com/moh3n9595"><code>@moh3n9595</code></a> (<a href="https://redirect.github.com/axios/axios/pull/5764">#5764</a>)</li>
<li><a href="https://github.com/digital-wizard48"><code>@digital-wizard48</code></a> (<a href="https://redirect.github.com/axios/axios/pull/7424">#7424</a>)</li>
</ul>
<p><em>Full Changelog: <a href="https://github.com/axios/axios/compare/v1.13.5...v1.13.6">v1.13.5...v1.13.6</a></em></p>
<h2>v1.13.5</h2>
<h2>Release 1.13.5</h2>
<h3>Highlights</h3>
<ul>
<li><strong>Security:</strong> Fixed a potential <strong>Denial of Service</strong> issue involving the <code>__proto__</code> key in <code>mergeConfig</code>. (PR <a href="https://redirect.github.com/axios/axios/pull/7369">#7369</a>)</li>
<li><strong>Bug fix:</strong> Resolved an issue where <code>AxiosError</code> could be missing the <code>status</code> field on and after <strong>v1.13.3</strong>. (PR <a href="https://redirect.github.com/axios/axios/pull/7368">#7368</a>)</li>
</ul>
<h3>Changes</h3>
<h4>Security</h4>
<ul>
<li>Fix Denial of Service via <code>__proto__</code> key in <code>mergeConfig</code>. (PR <a href="https://redirect.github.com/axios/axios/pull/7369">#7369</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2><a href="https://github.com/axios/axios/compare/v1.13.2...v1.13.3">1.13.3</a> (2026-01-20)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>http2:</strong> Use port 443 for HTTPS connections by default. (<a href="https://redirect.github.com/axios/axios/issues/7256">#7256</a>) (<a href="https://github.com/axios/axios/commit/d7e60653460480ffacecf85383012ca1baa6263e">d7e6065</a>)</li>
<li><strong>interceptor:</strong> handle the error in the same interceptor (<a href="https://redirect.github.com/axios/axios/issues/6269">#6269</a>) (<a href="https://github.com/axios/axios/commit/5945e40bb171d4ac4fc195df276cf952244f0f89">5945e40</a>)</li>
<li>main field in package.json should correspond to cjs artifacts (<a href="https://redirect.github.com/axios/axios/issues/5756">#5756</a>) (<a href="https://github.com/axios/axios/commit/7373fbff24cd92ce650d99ff6f7fe08c2e2a0a04">7373fbf</a>)</li>
<li><strong>package.json:</strong> add 'bun' package.json 'exports' condition. Load the Node.js build in Bun instead of the browser build (<a href="https://redirect.github.com/axios/axios/issues/5754">#5754</a>) (<a href="https://github.com/axios/axios/commit/b89217e3e91de17a3d55e2b8f39ceb0e9d8aeda8">b89217e</a>)</li>
<li>silentJSONParsing=false should throw on invalid JSON (<a href="https://redirect.github.com/axios/axios/issues/7253">#7253</a>) (<a href="https://redirect.github.com/axios/axios/issues/7257">#7257</a>) (<a href="https://github.com/axios/axios/commit/7d19335e43d6754a1a9a66e424f7f7da259895bf">7d19335</a>)</li>
<li>turn AxiosError into a native error (<a href="https://redirect.github.com/axios/axios/issues/5394">#5394</a>) (<a href="https://redirect.github.com/axios/axios/issues/5558">#5558</a>) (<a href="https://github.com/axios/axios/commit/1c6a86dd2c0623ee1af043a8491dbc96d40e883b">1c6a86d</a>)</li>
<li><strong>types:</strong> add handlers to AxiosInterceptorManager interface (<a href="https://redirect.github.com/axios/axios/issues/5551">#5551</a>) (<a href="https://github.com/axios/axios/commit/8d1271b49fc226ed7defd07cd577bd69a55bb13a">8d1271b</a>)</li>
<li><strong>types:</strong> restore AxiosError.cause type from unknown to Error (<a href="https://redirect.github.com/axios/axios/issues/7327">#7327</a>) (<a href="https://github.com/axios/axios/commit/d8233d9e8e9a64bfba9bbe01d475ba417510b82b">d8233d9</a>)</li>
<li>unclear error message is thrown when specifying an empty proxy authorization (<a href="https://redirect.github.com/axios/axios/issues/6314">#6314</a>) (<a href="https://github.com/axios/axios/commit/6ef867e684adf7fb2343e3b29a79078a3c76dc29">6ef867e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>add <code>undefined</code> as a value in AxiosRequestConfig (<a href="https://redirect.github.com/axios/axios/issues/5560">#5560</a>) (<a href="https://github.com/axios/axios/commit/095033c626895ecdcda2288050b63dcf948db3bd">095033c</a>)</li>
<li>add automatic minor and patch upgrades to dependabot (<a href="https://redirect.github.com/axios/axios/issues/6053">#6053</a>) (<a href="https://github.com/axios/axios/commit/65a7584eda6164980ddb8cf5372f0afa2a04c1ed">65a7584</a>)</li>
<li>add Node.js coverage script using c8 (closes <a href="https://redirect.github.com/axios/axios/issues/7289">#7289</a>) (<a href="https://redirect.github.com/axios/axios/issues/7294">#7294</a>) (<a href="https://github.com/axios/axios/commit/ec9d94e9f88da13e9219acadf65061fb38ce080a">ec9d94e</a>)</li>
<li>added copilot instructions (<a href="https://github.com/axios/axios/commit/3f83143bfe617eec17f9d7dcf8bafafeeae74c26">3f83143</a>)</li>
<li>compatibility with frozen prototypes (<a href="https://redirect.github.com/axios/axios/issues/6265">#6265</a>) (<a href="https://github.com/axios/axios/commit/860e03396a536e9b926dacb6570732489c9d7012">860e033</a>)</li>
<li>enhance pipeFileToResponse with error handling (<a href="https://redirect.github.com/axios/axios/issues/7169">#7169</a>) (<a href="https://github.com/axios/axios/commit/88d78842541610692a04282233933d078a8a2552">88d7884</a>)</li>
<li><strong>types:</strong> Intellisense for string literals in a widened union (<a href="https://redirect.github.com/axios/axios/issues/6134">#6134</a>) (<a href="https://github.com/axios/axios/commit/f73474d02c5aa957b2daeecee65508557fd3c6e5">f73474d</a>), closes <a href="https://redirect.github.com//redirect.github.com/microsoft/TypeScript/issues/33471/issues/issuecomment-1376364329">microsoft/TypeScript#33471</a></li>
</ul>
<h3>Reverts</h3>
<ul>
<li>Revert "fix: silentJSONParsing=false should throw on invalid JSON (<a href="https://redirect.github.com/axios/axios/issues/7253">#7253</a>) (<a href="https://redirect.github.com/axios/axios/issues/7">#7</a>…" (<a href="https://redirect.github.com/axios/axios/issues/7298">#7298</a>) (<a href="https://github.com/axios/axios/commit/a4230f5581b3f58b6ff531b6dbac377a4fd7942a">a4230f5</a>), closes <a href="https://redirect.github.com/axios/axios/issues/7253">#7253</a> <a href="https://redirect.github.com/axios/axios/issues/7">#7</a> <a href="https://redirect.github.com/axios/axios/issues/7298">#7298</a></li>
<li><strong>deps:</strong> bump peter-evans/create-pull-request from 7 to 8 in the github-actions group (<a href="https://redirect.github.com/axios/axios/issues/7334">#7334</a>) (<a href="https://github.com/axios/axios/commit/2d6ad5e48bd29b0b2b5e7e95fb473df98301543a">2d6ad5e</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a href="https://github.com/ashvin2005" title="+1752/-4 ([#7218](https://github.com/axios/axios/issues/7218) [#7218](https://github.com/axios/axios/issues/7218) )">Ashvin Tiwari</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/mochinikunj" title="+940/-12 ([#7294](https://github.com/axios/axios/issues/7294) [#7294](https://github.com/axios/axios/issues/7294) )">Nikunj Mochi</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/imanchalsingh" title="+544/-102 ([#7169](https://github.com/axios/axios/issues/7169) [#7185](https://github.com/axios/axios/issues/7185) )">Anchal Singh</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/jasonsaayman" title="+317/-73 ([#7334](https://github.com/axios/axios/issues/7334) [#7298](https://github.com/axios/axios/issues/7298) )">jasonsaayman</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/brodo" title="+99/-120 ([#5558](https://github.com/axios/axios/issues/5558) )">Julian Dax</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/AKASHDHARDUBEY" title="+167/-0 ([#7287](https://github.com/axios/axios/issues/7287) [#7288](https://github.com/axios/axios/issues/7288) )">Akash Dhar Dubey</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/madhumitaaa" title="+20/-68 ([#7198](https://github.com/axios/axios/issues/7198) )">Madhumita</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/Tackoil" title="+80/-2 ([#6269](https://github.com/axios/axios/issues/6269) )">Tackoil</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/justindhillon" title="+41/-41 ([#6324](https://github.com/axios/axios/issues/6324) [#6315](https://github.com/axios/axios/issues/6315) )">Justin Dhillon</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/Rudrxxx" title="+71/-2 ([#7257](https://github.com/axios/axios/issues/7257) )">Rudransh</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/WuMingDao" title="+36/-36 ([#7215](https://github.com/axios/axios/issues/7215) )">WuMingDao</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/codenomnom" title="+70/-0 ([#7201](https://github.com/axios/axios/issues/7201) [#7201](https://github.com/axios/axios/issues/7201) )">codenomnom</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/Nandann018-ux" title="+60/-10 ([#7272](https://github.com/axios/axios/issues/7272) )">Nandan Acharya</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/KernelDeimos" title="+22/-40 ([#7042](https://github.com/axios/axios/issues/7042) )">Eric Dubé</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/tiborpilz" title="+40/-4 ([#5551](https://github.com/axios/axios/issues/5551) )">Tibor Pilz</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/joaoGabriel55" title="+31/-4 ([#6314](https://github.com/axios/axios/issues/6314) )">Gabriel Quaresma</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/turadg" title="+23/-6 ([#6265](https://github.com/axios/axios/issues/6265) )">Turadg Aleahmad</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/axios/axios/commit/7108c8877f9dc05f7aba8beb2b9e522537f9a9a7"><code>7108c88</code></a> chore(release): prepare release 1.13.6 (<a href="https://redirect.github.com/axios/axios/issues/7446">#7446</a>)</li>
<li><a href="https://github.com/axios/axios/commit/20a0ba3c01174aa2ec441753fa1fe47f21d20491"><code>20a0ba3</code></a> refactor(deps): migrate <code>@rollup/plugin-babel</code> from v5.3.1 to v6.1.0 (<a href="https://redirect.github.com/axios/axios/issues/7424">#7424</a>)</li>
<li><a href="https://github.com/axios/axios/commit/885b4af6f5dd6ab7977b207fdf61a7e89af69e69"><code>885b4af</code></a> feat: support react native blob objects (<a href="https://redirect.github.com/axios/axios/issues/5764">#5764</a>)</li>
<li><a href="https://github.com/axios/axios/commit/00d97b9730f3d83e865d0f3ee33cba6290ba20ed"><code>00d97b9</code></a> docs(utils): add missing JSDoc comments (<a href="https://redirect.github.com/axios/axios/issues/7427">#7427</a>)</li>
<li><a href="https://github.com/axios/axios/commit/9712548a49521580c8e692c367609b9f5e748d63"><code>9712548</code></a> chore(deps-dev): bump the development_dependencies group across 1 directory w...</li>
<li><a href="https://github.com/axios/axios/commit/d51accbea1faef6e3b74c7dfa636704a2332bfbb"><code>d51accb</code></a> fix(core): copy status from source error in AxiosError.from (<a href="https://redirect.github.com/axios/axios/issues/7403">#7403</a>)</li>
<li><a href="https://github.com/axios/axios/commit/3e30bbf1b33c8b6213c793eb0cf6b61b0edc72f1"><code>3e30bbf</code></a> chore: fix publish to only run on v1 tags</li>
<li><a href="https://github.com/axios/axios/commit/672491db34b5575d2abb1c3f91382bc1f45ae7b7"><code>672491d</code></a> fix: safe FormData detection for WeChat Mini Program (<a href="https://redirect.github.com/axios/axios/issues/7306">#7306</a>) (<a href="https://redirect.github.com/axios/axios/issues/7324">#7324</a>)</li>
<li><a href="https://github.com/axios/axios/commit/822e3e40b4f9287b5a787f5d1dfb3ae7f8a0faa3"><code>822e3e4</code></a> fix: make AxiosError.message property enumerable (<a href="https://redirect.github.com/axios/axios/issues/7392">#7392</a>)</li>
<li><a href="https://github.com/axios/axios/commit/ef3711d1b3a3c1eb4f11dc43e8db38e9c5342448"><code>ef3711d</code></a> feat: implement prettier and fix all issues (<a href="https://redirect.github.com/axios/axios/issues/7385">#7385</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v1.7.7...v1.13.6">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for axios since your current version.</p>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/seatunnel/network/alerts).
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump axios from 1.7.7 to 1.13.6 in /seatunnel-engine/seatunnel-engine-ui [seatunnel]
Posted by "DanielCarter-stack (via GitHub)" <gi...@apache.org>.
DanielCarter-stack commented on PR #10549:
URL: https://github.com/apache/seatunnel/pull/10549#issuecomment-3976720665
<!-- code-pr-reviewer -->
<!-- cpr:pr_reply_v2_parts {"group": "apache/seatunnel#10549", "part": 1, "total": 1} -->
### Issue 1: Target Version Does Not Exist (BLOCKER)
**Location**: `seatunnel-engine/seatunnel-engine-ui/package.json:24`
```json
"axios": "^1.13.6" // This version does not exist
```
**Related Context**:
- Commit: c2d540e3b
- Author: dependabot[bot]
- Version information referenced in PR description
**Issue Description**:
axios v1.13.6 does not exist in either the npm registry or official GitHub releases. The latest version is v1.13.4 (released on 2026-01-27).
**Potential Risks**:
1. **Installation Failure**: `npm install` will error with "ERR! 404 Not Found: axios@1.13.6"
2. **CI/CD Blockage**: All automated processes will fail at the dependency installation stage
3. **Production Deployment Risk**: Even if force-installed through some method, the dependency tree will be untraceable
4. **Security Audit Failure**: Dependency scanning tools will report version inconsistencies
**Impact Scope**:
- **Direct Impact**: seatunnel-engine-ui module cannot be built at all
- **Indirect Impact**: All deployment and testing processes that use the Web UI
- **Affected Area**: All frontend functionality of SeaTunnel Engine
**Severity**: **BLOCKER**
**Recommendation**:
```json
// Option 1: Use the latest stable version
"axios": "^1.13.4"
// Option 2: Conservatively upgrade to the earliest version of the 1.13.x series
"axios": "^1.13.0"
// Option 3: If only security fixes are needed, use 1.13.5 (if available)
"axios": "^1.13.5"
```
**Rationale**:
1. Must use an actually existing version number
2. Recommend first locking the version in package.json (without ^ symbol) for testing
3. After verification passes, use range version specifiers
---
### Issue 2: Missing Upgrade Validation Tests (CRITICAL)
**Location**: `seatunnel-engine/seatunnel-engine-ui/src/tests/`
**Related Context**:
- Test files: `jobs.spec.ts`, `managers.spec.ts`, `overview.spec.ts`
- Tested service: `src/service/service.ts`
**Issue Description**:
Current tests use mocks entirely and cannot verify the actual behavior after axios upgrade:
```typescript
// Existing test patterns
vi.spyOn(JobsService, 'getRunningJobs').mockResolvedValue(mockData)
```
This testing approach cannot detect:
1. Behavior changes in axios interceptors
2. Differences in request/response processing logic
3. Changes in error handling mechanisms
4. TypeScript type compatibility issues
**Potential Risks**:
1. **Runtime Errors**: Type checking passes but crashes at runtime
2. **API Call Failures**: Interceptor behavior changes cause requests to fail to send correctly
3. **Error Handling Failure**: Error propagation mechanism changes cause exceptions to not be handled correctly
4. **Production Environment Failures**: Issues only exposed after upgrade when users interact with the system
**Impact Scope**:
- **Direct Impact**: All functionality in the HTTP communication layer
- **Specific Functions**:
- Job list queries
- Job detail viewing
- System monitoring data retrieval
- Job log viewing
- **Affected Area**: All user scenarios using the Web UI
**Severity**: **CRITICAL**
**Recommendation**:
```typescript
// src/tests/integration/api.spec.ts (newly created)
import { describe, test, expect, beforeAll, afterAll } from 'vitest'
import { http, HttpResponse } from 'msw'
import { setupServer } from 'msw/node'
import { get } from '@/service/service'
// Create mock server
const server = setupServer(
http.get('/api/test', () => {
return HttpResponse.json({ message: 'success' })
})
)
describe('axios integration tests', () => {
beforeAll(() => server.listen())
afterAll(() => server.close())
test('get request works correctly', async () => {
const result = await get<{message: string}>('/api/test')
expect(result.message).toBe('success')
})
test('error handling works correctly', async () => {
server.use(
http.get('/api/error', () => {
return HttpResponse.error()
})
)
await expect(get('/api/error')).rejects.toThrow()
})
})
```
**Rationale**:
1. Real HTTP request tests are needed to verify axios behavior
2. MSW (Mock Service Worker) can simulate various response scenarios
3. Can test the actual effectiveness of interceptors
4. Can verify error handling logic
---
### Issue 3: Missing Version Upgrade Documentation (MAJOR)
**Location**: Project root directory
**Related Context**:
- Files: README.md, CHANGELOG.md (if they exist)
- Impact: Other developers and operations personnel
**Issue Description**:
The PR does not explain:
1. Why this upgrade is needed
2. Specific benefits brought by the upgrade
3. Whether manual migration steps are required
4. Whether there are known compatibility issues
**Potential Risks**:
1. **Poor Traceability**: Unable to query the upgrade reason in the future
2. **Difficult Rollback**: When issues occur, unsure which version to rollback to
3. **Collaboration Barriers**: Team members are unaware of upgrade impacts
**Impact Scope**:
- **Direct Impact**: Project maintenance and collaboration
- **Affected Area**: Development team and operations team
**Severity**: **MAJOR**
**Recommendation**:
```markdown
# # Upgrade Guide
# ## Reason for Upgrade
- 修复 axios 中的安全漏洞(CVE 相关)
- 改进错误处理机制
- 依赖项安全更新
# ## Upgrade Contents
- axios: 1.7.7 → 1.13.4
- 间接依赖更新(详见 package-lock.json)
# ## Scope of Impact
- seatunnel-engine-ui 的所有 HTTP 请求
- 主要受影响模块:src/service/service.ts
# ## Testing and Verification
- [ ] 单元测试通过
- [ ] 类型检查通过
- [ ] 本地开发环境验证
- [ ] 手动测试所有 HTTP 功能
# ## Rollback Plan
如遇问题,回滚到:`"axios": "^1.7.7"`
```
---
### Issue 4: Missing Change Impact Analysis (MAJOR)
**Location**: PR description and code review
**Related Context**:
- Large span from axios 1.7.7 to 1.13.x
- Includes multiple minor version iterations
**Issue Description**:
No analysis of the following aspects:
1. Deprecated/new axios configuration options
2. Changes in interceptor behavior
3. Changes in error handling mechanisms
4. Performance impact
**Potential Risks**:
1. **Configuration Failure**: Used configuration options may be deprecated
2. **Behavior Changes**: Default behavior changes lead to unexpected results
3. **Performance Regression**: New version may introduce performance issues
**Impact Scope**:
- **Direct Impact**: All aspects of HTTP requests
- **Affected Area**: All functionality using axios
**Severity**: **MAJOR**
**Recommendation**:
Create an analysis document before merging to check:
1. Status of all axios configuration options used in current code in the new version
2. Whether interceptor logic needs adjustment
3. Whether critical behaviors like timeout, retry have changed
4. Whether there are performance-related changes
---
### Issue 5: Missing Manual Testing Verification Steps (MINOR)
**Location**: Testing process
**Issue Description**:
The dependency upgrade PR lacks a clear manual testing checklist.
**Potential Risks**:
Edge cases that may exist after upgrade are not covered by testing.
**Severity**: **MINOR**
**Recommendation**:
Add to the PR description:
```markdown
# # Manual Testing Checklist
合并前请验证:
- [ ] 启动开发服务器 (`npm run dev`)
- [ ] 访问作业列表页面,确认数据加载正常
- [ ] 查看作业详情,确认信息显示完整
- [ ] 访问系统监控页面,确认数据刷新正常
- [ ] 测试网络异常场景(后端服务不可用时)
- [ ] 检查浏览器控制台无错误信息
```
---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump axios from 1.7.7 to 1.13.6 in /seatunnel-engine/seatunnel-engine-ui [seatunnel]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #10549:
URL: https://github.com/apache/seatunnel/pull/10549#issuecomment-3977260571
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump axios from 1.7.7 to 1.13.6 in /seatunnel-engine/seatunnel-engine-ui [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo closed pull request #10549: Bump axios from 1.7.7 to 1.13.6 in /seatunnel-engine/seatunnel-engine-ui
URL: https://github.com/apache/seatunnel/pull/10549
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org