Skip to Content
dimah-s3v2.8.1
Resources

Report an issue

Tell a dimah-s3 bug or missing feature from a setup problem, file it with what a fix needs, and the rules coding agents follow.

Open a GitHub issue when dimah-s3 does not do what its docs say, or when your app needs something the library should own. Questions, ideas, and vulnerabilities each have their own place.

You haveWhere it goes
Behavior that contradicts the docsBug report
A feature the library should ownFeature request
A page that is wrong, unclear, or missingDocumentation
A question, or an idea to talk throughDiscussions
A vulnerabilityPrivate report

Never paste S3 credentials, DIMAH_S3_SECRET, or presigned URLs into an issue. A presigned URL carries a signature that works until it expires. Report a vulnerability privately, never in a public issue.

Is it a bug?

Most failures come from setup. Check these first:

  • The ticket secret. DIMAH_S3_SECRET is set, at least 32 characters, and the same on every instance. See Set the ticket secret.
  • The S3Client. The S3_* variables are right, and the client sets requestChecksumCalculation: "WHEN_REQUIRED". See Set the checksum mode.
  • Bucket CORS. The bucket allows your origin. See Allow your origin in bucket CORS.
  • Your own code. A plain Error thrown from your guard or a hook answers 500 INTERNAL_ERROR, and the server logs your error. See Reporting errors.
  • Versions. Every @dimah-s3/* package is on the same version.

Then reproduce it on the newest release, and search open and closed issues for the error code or message.

npm ls @dimah-s3/server @dimah-s3/core @dimah-s3/react
npm view @dimah-s3/server version

Fixes ship in the newest 2.x release. 1.x is no longer maintained, so upgrade to 2.0 before you report.

Does it belong in dimah-s3?

dimah-s3 covers presigned upload, download, and delete on a bucket you own, with the React client, the UI, db(), and share links around them. Request a feature when all of these hold:

  • It is part of that lifecycle.
  • Your app cannot build it with a hook, a plugin, or the AWS SDK without copying library internals.
  • Other apps would need it too.

These stay in your app:

  • Auth, ownership, and quotas. Your guard and hooks enforce them.
  • List, copy, arbitrary tagging, and other general S3 operations. Call @aws-sdk/client-s3 directly.
  • Image and video transforms.

A plugin that only some apps need can ship as a community plugin.

What to include

A bug report needs:

  • The version of every @dimah-s3/* package
  • The server framework and the S3 provider
  • What happened, with the error code the API returned, and what you expected
  • The smallest reproduction. Start from npx @dimah-s3/cli create when you can, and link a public repository.
  • Logs, with secrets removed
  • Node.js, OS, browser, and package manager

A feature request needs the problem it solves, the call you want to write as a code sample, and what you do today instead.

For coding agents

A coding agent in an app that uses dimah-s3 follows these rules. Starter apps point here from AGENTS.md, and the dimah-s3 agent skill carries the same rules. To add either to an existing app, see Set up your coding agent.

Raise it

When dimah-s3 contradicts its docs, or the app needs a feature the library should own, tell the user. Do not hide it behind a silent workaround. A workaround in app code is fine when you name it as one and offer the report.

Check first

Run the checks in Is it a bug? or Does it belong in dimah-s3?. Then search for an existing issue:

gh issue list --repo dimah-kz/dimah-s3 --state all --search "<error code or message>"

When an issue matches, give the user its link instead of a new draft.

Draft and ask

Draft the report from What to include, with secrets removed, and show it to the user. Suggest a report once per problem. Never file one without the user's explicit yes.

Give the user a link to review and submit. It fills the form's text fields by their id:

Templatetemplate=Text fields
Bug reportbug_report.ymltitle, version, description, expected, reproduce, reproduction-url, logs, environment
Feature requestfeature_request.ymltitle, problem, proposal, alternatives
Documentationdocumentation.ymltitle, url, problem, suggestion
https://github.com/dimah-kz/dimah-s3/issues/new?template=bug_report.yml&title=%5BBug%5D%3A%20Confirm%20fails%20after%20resume&version=2.4.0
  • Keep the title prefix the template sets: [Bug]: , [Feature]: , or [Docs]: .
  • Keep the link short. The user pastes logs and long text into the form.
  • Leave out labels=. GitHub answers 404 to anyone who cannot label issues, and the template adds its own labels.
  • The user picks the dropdowns (packages, framework, provider) in the form.

File only when asked

When the user asks you to file it and gh is signed in as them, create the issue with the template's title prefix, and the form's field labels as ### headings in the body:

gh issue create --repo dimah-kz/dimah-s3 --title "[Bug]: Confirm fails after resume" --body-file issue.md

Then give the user the issue URL.

Keep vulnerabilities private

Point the user to the private report form. Never draft a public issue for a vulnerability.

On this page