Skip to content

VS-197: Fix Vectorize List MetadataIndex Http Method#6502

Merged
CarmenPopoviciu merged 2 commits intocloudflare:mainfrom
garvit-gupta:garvit/VS-197/fix-list-md
Aug 16, 2024
Merged

VS-197: Fix Vectorize List MetadataIndex Http Method#6502
CarmenPopoviciu merged 2 commits intocloudflare:mainfrom
garvit-gupta:garvit/VS-197/fix-list-md

Conversation

@garvit-gupta
Copy link
Copy Markdown
Contributor

@garvit-gupta garvit-gupta commented Aug 15, 2024

What this PR solves / how to test

Fixes VS-197. Fix Vectorize List MetadataIndex Http Method. Currently POST, changed it to GET.

Author has addressed the following

  • Tests
    • TODO (before merge)
    • Included
    • Not necessary because:
  • E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
    • I don't know
    • Required / Maybe required
    • Not required because: vectorize does not currently have any e2e tests
  • Changeset (Changeset guidelines)
    • TODO (before merge)
    • Included
    • Not necessary because:
  • Public documentation

@garvit-gupta garvit-gupta requested a review from a team as a code owner August 15, 2024 14:16
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Aug 15, 2024

🦋 Changeset detected

Latest commit: 1e5df29

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
wrangler Patch
@cloudflare/vitest-pool-workers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@garvit-gupta garvit-gupta force-pushed the garvit/VS-197/fix-list-md branch from e352b32 to 1837932 Compare August 15, 2024 15:57
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 16, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-wrangler-6502

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6502/npm-package-wrangler-6502

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-wrangler-6502 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-create-cloudflare-6502 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-cloudflare-kv-asset-handler-6502
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-miniflare-6502
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-cloudflare-pages-shared-6502
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-cloudflare-vitest-pool-workers-6502
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-cloudflare-workers-editor-shared-6502
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10421446175/npm-package-cloudflare-workers-shared-6502

Note that these links will no longer work once the GitHub Actions artifact expires.


wrangler@3.72.0 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240806.1
workerd 1.20240806.0 1.20240806.0
workerd --version 1.20240806.0 2024-08-06

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

demandOption: true,
describe:
"Vector to query the Vectorize Index. Example: `--vector 1 2 3 0.5 1.25 6`",
"Vector to query the Vectorize Index. Example: `--vector 1 2 3 0.5 1.25 6`. To read from a json file that contains data in the format [1, 2, 3], you could use a command like `--vector $(jq -r '.[]' data.json | xargs)`",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: I'm a little worried about the verbosity here. The scope of the added copy feels more like docs scope rather than CLI help scope. Looking at the wrangler vectorize query help output, it's looking like 👇 , which feels a bit difficult to read IMHO. Was this considered, and are we sure this is what we want here?

Screenshot 2024-08-16 at 08 37 51

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Well the idea was to provide some additional guidance to the customers and make it easier for them to use the query operation. But it is unrelated to the fix in this PR, and I can remove it to unblock the fix if the verbosity is a cause for concern.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have an idea how we can fix this! Stay tuned...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

addressed here: #6513

@CarmenPopoviciu CarmenPopoviciu added the awaiting reporter response Needs clarification or followup from OP label Aug 16, 2024
@CarmenPopoviciu CarmenPopoviciu merged commit a9b4f25 into cloudflare:main Aug 16, 2024
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes an open-source contribution, big or small label Aug 16, 2024
@holopin-bot
Copy link
Copy Markdown

holopin-bot bot commented Aug 16, 2024

Congratulations @garvit-gupta, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/clzwwscsk37410djuyg2jtgi0

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reporter response Needs clarification or followup from OP contribution [Holopin] Recognizes an open-source contribution, big or small

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants