Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitUntilObjectNotExists hangs when Bucket is missing. #6469

Open
3 of 4 tasks
cpyle0819 opened this issue Sep 13, 2024 · 0 comments
Open
3 of 4 tasks

waitUntilObjectNotExists hangs when Bucket is missing. #6469

cpyle0819 opened this issue Sep 13, 2024 · 0 comments
Assignees
Labels
bug This issue is a bug. investigating Issue is being investigated and/or work is in progress to resolve the issue.

Comments

@cpyle0819
Copy link

cpyle0819 commented Sep 13, 2024

Checkboxes for prior research

Describe the bug

When waitUntilObjectNotExists is called without providing a Bucket, it hangs indefinitely.

Regression Issue

  • Select this option if this issue appears to be a regression.

SDK version number

@aws-sdk/client-s3@3.651.0

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

v20.17.0

Reproduction Steps

import { waitUntilObjectNotExists, S3Client } from "@aws-sdk/client-s3";

const main = async () => {
  await waitUntilObjectNotExists(
    { client: new S3Client({}) },
    { Key: "some-key" }
  );
};

// Call function if run directly
import { fileURLToPath } from "url";
if (process.argv[1] === fileURLToPath(import.meta.url)) {
  main();
}

Observed Behavior

Waiter should fail immediately due to missing param.

Expected Behavior

Waiter hangs forever.

Possible Solution

No response

Additional Information/Context

No response

@cpyle0819 cpyle0819 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 13, 2024
@aBurmeseDev aBurmeseDev self-assigned this Sep 16, 2024
@aBurmeseDev aBurmeseDev added investigating Issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. investigating Issue is being investigated and/or work is in progress to resolve the issue.
Projects
None yet
Development

No branches or pull requests

2 participants