Skip to content

fix(node-fetch): redirect with correct status codes#2049

Merged
ardatan merged 4 commits intomasterfrom
redirect-with-correct-status-codes
Feb 13, 2025
Merged

fix(node-fetch): redirect with correct status codes#2049
ardatan merged 4 commits intomasterfrom
redirect-with-correct-status-codes

Conversation

@ardatan
Copy link
Copy Markdown
Owner

@ardatan ardatan commented Feb 13, 2025

Fixes ardatan/graphql-mesh#8349

Summary by CodeRabbit

  • Bug Fixes

    • Enhanced HTTP redirection handling to ensure proper status codes are returned and appropriate errors are raised for disallowed redirects.
  • Tests

    • Added comprehensive tests covering various redirection scenarios to verify reliable behavior and compliance with HTTP standards.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 13, 2025

Warning

Rate limit exceeded

@ardatan has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 5 minutes and 22 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 26995d4 and c3512e5.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (3)
  • package.json (1 hunks)
  • packages/node-fetch/src/fetchCurl.ts (2 hunks)
  • packages/node-fetch/tests/redirect.spec.ts (1 hunks)

Walkthrough

A patch was applied to the @whatwg-node/node-fetch package to improve HTTP redirection handling. The changes update both fetchCurl and fetchNodeHttp to import and utilize a new utility function, shouldRedirect, which evaluates HTTP status codes for permitted redirects. Modifications include enhanced control flow and error handling for redirect responses. A new test suite was added to verify redirection behavior using a mock HTTP server, and the new utility function encapsulates the redirect status logic.

Changes

File(s) Summary
.changeset/few-papayas-fry.md Added patch to enhance HTTP redirect handling in the @whatwg-node/node-fetch package.
packages/node-fetch/src/fetchCurl.ts
packages/node-fetch/src/fetchNodeHttp.ts
Imported shouldRedirect and updated redirect conditions and error handling in fetch functions.
packages/node-fetch/src/utils.ts Added new shouldRedirect function to check for HTTP redirection status codes (301, 302, 303, 307, 308).
packages/node-fetch/tests/redirect.spec.ts Introduced a test suite using a mock HTTP server to verify proper redirection behavior across status codes.

Sequence Diagram(s)

sequenceDiagram
    participant Client
    participant Fetch
    participant Utils
    participant RedirectHandler

    Client->>+Fetch: Send fetch request
    Fetch->>+Utils: Call shouldRedirect(status)
    Utils-->>-Fetch: Return true/false
    alt Redirect Allowed (true)
        Fetch->>RedirectHandler: Handle redirect (check 'follow' vs 'error')
        RedirectHandler-->>Fetch: Return new or error response
        Fetch-->>Client: Deliver final response
    else Redirect Not Allowed
        Fetch-->>Client: Return error without redirect
    end
Loading

Poem

Hop along, dear code, in meadows green and bright,
Redirects now dance with logic pure and light.
Status codes guide each nimble, joyful leap,
In orchestrated tests, our promises we keep.
With shouldRedirect leading the wild chase,
My code-hopping heart trots at a merry pace!
Cheers from a rabbit, in a tech-filled delight!


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 13, 2025

@benchmarks/server results (ponyfill)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 303822      ✗ 0     
     data_received..................: 30 MB   998 kB/s
     data_sent......................: 12 MB   405 kB/s
     http_req_blocked...............: avg=1.35µs   min=862ns    med=1.16µs   max=170.96µs p(90)=1.82µs   p(95)=1.98µs  
     http_req_connecting............: avg=0ns      min=0s       med=0s       max=111.94µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=136.46µs min=93.84µs  med=132.03µs max=6.94ms   p(90)=154.07µs p(95)=161.03µs
       { expected_response:true }...: avg=136.46µs min=93.84µs  med=132.03µs max=6.94ms   p(90)=154.07µs p(95)=161.03µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 151911
     http_req_receiving.............: avg=24.02µs  min=12.15µs  med=22.53µs  max=2.87ms   p(90)=29.78µs  p(95)=32.58µs 
     http_req_sending...............: avg=6.14µs   min=4.05µs   med=5.27µs   max=272.75µs p(90)=7.95µs   p(95)=8.47µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=106.29µs min=67.27µs  med=101.5µs  max=6.9ms    p(90)=120.48µs p(95)=126.21µs
     http_reqs......................: 151911  5063.546303/s
     iteration_duration.............: avg=193.12µs min=139.49µs med=187.99µs max=7.15ms   p(90)=213.46µs p(95)=222.26µs
     iterations.....................: 151911  5063.546303/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 13, 2025

@benchmarks/node-fetch results (consumeBody)

   ✓ active_handles.................: avg=140.134414 min=15      med=138     max=185     p(90)=161     p(95)=167    
     data_received..................: 20 MB  672 kB/s
     data_sent......................: 13 MB  431 kB/s
     http_req_blocked...............: avg=2.46µs     min=651ns   med=1.2µs   max=4.78ms  p(90)=2µs     p(95)=2.24µs 
     http_req_connecting............: avg=750ns      min=0s      med=0s      max=2.84ms  p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=22.71ms    min=4.04ms  med=21.96ms max=1.18s   p(90)=28.51ms p(95)=29.95ms
       { expected_response:true }...: avg=22.71ms    min=4.04ms  med=21.96ms max=1.18s   p(90)=28.51ms p(95)=29.95ms
     http_req_failed................: 0.00%  ✓ 0          ✗ 131724
     http_req_receiving.............: avg=35.11µs    min=9.24µs  med=23.18µs max=25.95ms p(90)=37.39µs p(95)=43.72µs
     http_req_sending...............: avg=10.27µs    min=3.29µs  med=5.66µs  max=6.02ms  p(90)=9.61µs  p(95)=13.36µs
     http_req_tls_handshaking.......: avg=0s         min=0s      med=0s      max=0s      p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=22.66ms    min=4.02ms  med=21.92ms max=1.18s   p(90)=28.47ms p(95)=29.9ms 
     http_reqs......................: 131724 4390.41505/s
     iteration_duration.............: avg=45.52ms    min=11.69ms med=43.76ms max=1.22s   p(90)=49.87ms p(95)=55.93ms
     iterations.....................: 65849  2194.77423/s
     vus............................: 100    min=100      max=100 
     vus_max........................: 100    min=100      max=100 

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 13, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@whatwg-node/node-fetch 0.7.9-alpha-20250213115905-c3512e5da088f8ddf908e6a2fdf8b86288cfb74a npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 13, 2025

@benchmarks/server results (undici)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 196100      ✗ 0    
     data_received..................: 20 MB   657 kB/s
     data_sent......................: 7.8 MB  262 kB/s
     http_req_blocked...............: avg=1.45µs   min=872ns    med=1.23µs   max=170.59µs p(90)=1.94µs   p(95)=2.15µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=124.15µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=241.63µs min=183.01µs med=228.94µs max=44.01ms  p(90)=256.36µs p(95)=267.04µs
       { expected_response:true }...: avg=241.63µs min=183.01µs med=228.94µs max=44.01ms  p(90)=256.36µs p(95)=267.04µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 98050
     http_req_receiving.............: avg=25.72µs  min=13.24µs  med=23.92µs  max=2.62ms   p(90)=31.09µs  p(95)=33.83µs 
     http_req_sending...............: avg=6.57µs   min=4.11µs   med=5.87µs   max=278.34µs p(90)=8.3µs    p(95)=9.16µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=209.33µs min=158.6µs  med=196.96µs max=43.94ms  p(90)=221.3µs  p(95)=230.98µs
     http_reqs......................: 98050   3268.220817/s
     iteration_duration.............: avg=301.37µs min=226.38µs med=287.7µs  max=44.13ms  p(90)=318.57µs p(95)=331.58µs
     iterations.....................: 98050   3268.220817/s
     vus............................: 1       min=1         max=1  
     vus_max........................: 1       min=1         max=1  

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 13, 2025

@benchmarks/node-fetch results (noConsumeBody)

   ✓ active_handles.................: avg=140.000746 min=12      med=141     max=179     p(90)=163     p(95)=167    
     data_received..................: 20 MB  656 kB/s
     data_sent......................: 13 MB  425 kB/s
     http_req_blocked...............: avg=2.71µs     min=662ns   med=1.47µs  max=4.15ms  p(90)=2.21µs  p(95)=2.59µs 
     http_req_connecting............: avg=701ns      min=0s      med=0s      max=3.02ms  p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=23.24ms    min=3.24ms  med=22.42ms max=1.24s   p(90)=29.29ms p(95)=31.6ms 
       { expected_response:true }...: avg=23.24ms    min=3.24ms  med=22.42ms max=1.24s   p(90)=29.29ms p(95)=31.6ms 
     http_req_failed................: 0.00%  ✓ 0           ✗ 128684
     http_req_receiving.............: avg=38.29µs    min=9.87µs  med=27.42µs max=16.66ms p(90)=41.64µs p(95)=49.33µs
     http_req_sending...............: avg=12.07µs    min=3.43µs  med=7.45µs  max=9.23ms  p(90)=11.03µs p(95)=15.76µs
     http_req_tls_handshaking.......: avg=0s         min=0s      med=0s      max=0s      p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=23.19ms    min=3.19ms  med=22.38ms max=1.24s   p(90)=29.25ms p(95)=31.53ms
     http_reqs......................: 128684 4288.303628/s
     iteration_duration.............: avg=46.6ms     min=10.19ms med=44.77ms max=1.26s   p(90)=52.5ms  p(95)=57.77ms
     iterations.....................: 64329  2143.718598/s
     vus............................: 0      min=0         max=100 
     vus_max........................: 100    min=100       max=100 

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🔭 Outside diff range comments (1)
packages/node-fetch/src/fetchNodeHttp.ts (1)

84-108: 🛠️ Refactor suggestion

Enhance redirect handling with additional safeguards.

The redirect implementation needs additional safeguards:

  1. Missing redirect count limit to prevent infinite loops
  2. Missing check for same-origin redirects (if required)
  3. Generic error message for redirect=error case

Consider this enhanced implementation:

+const MAX_REDIRECT = 20;
+let redirectCount = 0;

 if (nodeResponse.headers.location && shouldRedirect(nodeResponse.statusCode)) {
   if (fetchRequest.redirect === 'error') {
-    const redirectError = new Error('Redirects are not allowed');
+    const redirectError = new Error(
+      `Redirect response received with status ${nodeResponse.statusCode} but 'redirect: error' was set`
+    );
     reject(redirectError);
     nodeResponse.resume();
     return;
   }
   if (fetchRequest.redirect === 'follow') {
+    if (redirectCount >= MAX_REDIRECT) {
+      reject(new Error(`Maximum redirect count (${MAX_REDIRECT}) exceeded`));
+      nodeResponse.resume();
+      return;
+    }
+    redirectCount++;
     const redirectedUrl = new PonyfillURL(
       nodeResponse.headers.location,
       fetchRequest.parsedUrl || fetchRequest.url,
     );
     const redirectResponse$ = fetchNodeHttp(
       new PonyfillRequest(redirectedUrl, fetchRequest),
     );
🧹 Nitpick comments (3)
packages/node-fetch/tests/redirect.spec.ts (1)

6-59: Enhance test coverage with additional redirection scenarios.

The test suite is well-structured but could benefit from additional test cases to ensure robust redirect handling:

  1. Test the redirect=manual option
  2. Test maximum redirect limit (prevent infinite redirects)
  3. Test both relative and absolute redirect URLs
  4. Test redirect loop detection

Here's a suggested implementation for additional test cases:

 describe('Redirections', () => {
   runTestsForEachFetchImpl((_, { fetchAPI }) => {
     const redirectionStatusCodes = [301, 302, 303, 307, 308];
     const nonRedirectionLocationStatusCodes = [200, 201, 204, 304];
+    const maxRedirects = 20; // Match the limit in fetchCurl.ts
     const requestListener = jest.fn((req: IncomingMessage, res: ServerResponse) => {
       if (req.url?.startsWith('/status-')) {
         const [_, statusCode] = req.url.split('-');
         res.writeHead(Number(statusCode), {
           Location: '/redirected',
         });
         res.end();
       } else if (req.url === '/redirected') {
         res.writeHead(200);
         res.end('redirected');
+      } else if (req.url === '/redirect-loop') {
+        res.writeHead(301, {
+          Location: '/redirect-loop',
+        });
+        res.end();
+      } else if (req.url === '/absolute-redirect') {
+        res.writeHead(301, {
+          Location: `http://localhost:${addressInfo.port}/redirected`,
+        });
+        res.end();
       }
     });

+    it('should handle redirect=manual option', async () => {
+      const res = await fetchAPI.fetch(
+        `http://localhost:${addressInfo.port}/status-301`,
+        { redirect: 'manual' }
+      );
+      expect(res.status).toBe(301);
+      expect(res.headers.get('Location')).toBe('/redirected');
+    });

+    it('should detect redirect loops', async () => {
+      await expect(
+        fetchAPI.fetch(`http://localhost:${addressInfo.port}/redirect-loop`)
+      ).rejects.toThrow(/maximum.*redirects/i);
+    });

+    it('should handle absolute redirect URLs', async () => {
+      const res = await fetchAPI.fetch(
+        `http://localhost:${addressInfo.port}/absolute-redirect`
+      );
+      expect(res.status).toBe(200);
+      expect(await res.text()).toBe('redirected');
+    });
packages/node-fetch/src/utils.ts (1)

102-104: Enhance the shouldRedirect utility function.

While the function correctly implements HTTP redirect status code checks, it could be improved for better maintainability and documentation.

Consider this enhanced implementation:

+/** HTTP redirect status codes as per RFC 7231 and RFC 7238 */
+export const REDIRECT_STATUS = {
+  MOVED_PERMANENTLY: 301,
+  FOUND: 302,
+  SEE_OTHER: 303,
+  TEMPORARY_REDIRECT: 307,
+  PERMANENT_REDIRECT: 308,
+} as const;
+
+/**
+ * Determines if the given HTTP status code indicates a redirect response
+ * @param {number} [status] - HTTP status code
+ * @returns {boolean} true if the status code indicates a redirect
+ */
 export function shouldRedirect(status?: number): boolean {
-  return status === 301 || status === 302 || status === 303 || status === 307 || status === 308;
+  if (typeof status !== 'number') return false;
+  return Object.values(REDIRECT_STATUS).includes(status);
 }
packages/node-fetch/src/fetchCurl.ts (1)

64-65: Consider exposing redirect count for consistency.

While libcurl handles redirect limits internally, consider exposing the redirect count to maintain consistency with the fetchNodeHttp implementation.

   curlHandle.setOpt('FOLLOWLOCATION', fetchRequest.redirect === 'follow');
   curlHandle.setOpt('MAXREDIRS', 20);
+  // Track redirect count for consistency with fetchNodeHttp
+  let redirectCount = 0;
+  curlHandle.setOpt('HEADERFUNCTION', (header: Buffer) => {
+    const headerStr = header.toString();
+    if (headerStr.startsWith('HTTP/')) {
+      redirectCount++;
+    }
+    return header.length;
+  });
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 11b893b and 26995d4.

📒 Files selected for processing (5)
  • .changeset/few-papayas-fry.md (1 hunks)
  • packages/node-fetch/src/fetchCurl.ts (2 hunks)
  • packages/node-fetch/src/fetchNodeHttp.ts (2 hunks)
  • packages/node-fetch/src/utils.ts (1 hunks)
  • packages/node-fetch/tests/redirect.spec.ts (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (21)
  • GitHub Check: unit / node 23
  • GitHub Check: unit / node 22
  • GitHub Check: unit / deno
  • GitHub Check: unit / node 20
  • GitHub Check: unit / bun
  • GitHub Check: alpha / snapshot
  • GitHub Check: server (undici)
  • GitHub Check: unit / node 18
  • GitHub Check: e2e / cloudflare-modules
  • GitHub Check: server (ponyfill)
  • GitHub Check: lint
  • GitHub Check: node-fetch (consumeBody)
  • GitHub Check: e2e / cloudflare-workers
  • GitHub Check: esm
  • GitHub Check: server (native)
  • GitHub Check: e2e / azure-function
  • GitHub Check: type check
  • GitHub Check: e2e / aws-lambda
  • GitHub Check: prettier
  • GitHub Check: node-fetch (noConsumeBody)
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (1)
.changeset/few-papayas-fry.md (1)

1-6: LGTM! The changeset is well-structured.

The changeset correctly specifies a patch version bump for the bug fix and includes a clear description that aligns with the PR objectives.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 13, 2025

@benchmarks/server results (native)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 206210      ✗ 0     
     data_received..................: 21 MB   691 kB/s
     data_sent......................: 8.2 MB  275 kB/s
     http_req_blocked...............: avg=1.39µs   min=882ns    med=1.18µs   max=270.3µs  p(90)=1.88µs   p(95)=2.06µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=117.81µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=227.97µs min=170.94µs med=216.62µs max=7.47ms   p(90)=245.38µs p(95)=256.78µs
       { expected_response:true }...: avg=227.97µs min=170.94µs med=216.62µs max=7.47ms   p(90)=245.38µs p(95)=256.78µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 103105
     http_req_receiving.............: avg=25.27µs  min=13.37µs  med=23.43µs  max=2.47ms   p(90)=30.64µs  p(95)=33.43µs 
     http_req_sending...............: avg=6.37µs   min=4.01µs   med=5.53µs   max=282.1µs  p(90)=8.23µs   p(95)=9.02µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=196.32µs min=150.38µs med=185.19µs max=7.4ms    p(90)=210.44µs p(95)=220.94µs
     http_reqs......................: 103105  3436.642516/s
     iteration_duration.............: avg=286.47µs min=216.79µs med=274.4µs  max=7.58ms   p(90)=306.42µs p(95)=320.34µs
     iterations.....................: 103105  3436.642516/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

@ardatan ardatan merged commit 7c95998 into master Feb 13, 2025
@ardatan ardatan deleted the redirect-with-correct-status-codes branch May 12, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

405 Method Not Allowed on OpenAPI POST requests but still successful in upstream system

1 participant