Skip to content

Update docs for maintainers #499

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

Merged
merged 6 commits into from
May 21, 2025
Merged

Update docs for maintainers #499

merged 6 commits into from
May 21, 2025

Conversation

jhamon
Copy link
Collaborator

@jhamon jhamon commented May 21, 2025

Problem

We need better docs on how to work in this repository.

Solution

Add information about testing and debugging.

Type of Change

  • Non-code change (docs, etc)

@jhamon jhamon force-pushed the jhamon/document-dotenv branch from 1300269 to bd5d5a0 Compare May 21, 2025 17:45
@jhamon jhamon marked this pull request as ready for review May 21, 2025 17:50
Copy link
Contributor

@austin-denoble austin-denoble left a comment

Choose a reason for hiding this comment

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

LGTM, big thank you for being so thorough here.

└── upgrade
```

- `dependency`: These tests are a set of very minimal end-to-end integration tests that ensure basic functionality works to upsert and query vectors from an index. These are rarely run locally; we use them in CI to confirm the client can be used when installed wtih a large matrix of different python versions and versions of key dependencies. See [`.github/workflows/testing-dependency.yaml`](https://github.com/pinecone-io/pinecone-python-client/blob/main/.github/workflows/testing-dependency.yamll) for more details on how these are run.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: installed wtih -> installed with

└── upgrade
```

- `dependency`: These tests are a set of very minimal end-to-end integration tests that ensure basic functionality works to upsert and query vectors from an index. These are rarely run locally; we use them in CI to confirm the client can be used when installed wtih a large matrix of different python versions and versions of key dependencies. See [`.github/workflows/testing-dependency.yaml`](https://github.com/pinecone-io/pinecone-python-client/blob/main/.github/workflows/testing-dependency.yamll) for more details on how these are run.
Copy link
Contributor

Choose a reason for hiding this comment

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

There's an extra "l" on the end of testing-dependency.yamll here that needs to be dropped or this 404s, I think.

- Run the tests in a single file: `poetry run pytest tests/integration/control/resources/index/test_create.py`
- Run a single test `poetry run pytest tests/integration/control/resources/index/test_list.py::TestListIndexes::test_list_indexes_includes_ready_indexes`

### Fixtures and other test configuration
Copy link
Contributor

Choose a reason for hiding this comment

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

Really appreciate the depth and detail here, thank you!

@jhamon jhamon merged commit 96d6045 into main May 21, 2025
74 of 75 checks passed
@jhamon jhamon deleted the jhamon/document-dotenv branch May 21, 2025 21:05
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.

2 participants