Skip to content

feat(fact-smoke-003): add buildBucketUrl with optional key param - #1

Open
gurdasnijor wants to merge 2 commits into
mainfrom
factory/fact-smoke-003
Open

feat(fact-smoke-003): add buildBucketUrl with optional key param#1
gurdasnijor wants to merge 2 commits into
mainfrom
factory/fact-smoke-003

Conversation

@gurdasnijor

Copy link
Copy Markdown

Ticket

FACT-SMOKE-003 — smoke test post-fix, verifying optional bucket URL.

Summary

  • Adds src/bucket-url.js with buildBucketUrl({ bucket, key, base }). The key argument is optional — when omitted, the URL points at the bucket root.
  • Adds test/bucket-url.test.js with four node:test cases covering: bucket-only URL, bucket+key URL, custom base, and the missing-bucket error path.
  • Adds a minimal GitHub Actions workflow that runs npm test on PRs.

Proof of work

```
$ npm test

tests 4

pass 4

fail 0

```

Trace zip uploaded to the factory artifact URL.

Smithery Factory added 2 commits May 1, 2026 00:31
Adds a small helper that constructs an R2-style bucket URL where the
object key is optional, exercised by node:test cases. Wires up a CI
workflow so the suite runs on PRs.
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.

1 participant