Skip to content

Update github actions dependencies to fix warnings - #308

Merged
jhamon merged 3 commits into
mainfrom
jhamon/node-action-warning-message
Feb 7, 2024
Merged

jhamon merged 3 commits into
mainfrom
jhamon/node-action-warning-message

Conversation

@jhamon

@jhamon jhamon commented Feb 7, 2024 •

Copy link
Copy Markdown
Collaborator

Problem

Our test runs produce a large number of warnings related to deprecated node16 usage.

Screenshot 2024-02-07 at 10 52 25 AM

Solution

Update the version of the shared tasks we are using.

Type of Change

  • Infrastructure change (CI configs, etc)

@jhamon
jhamon marked this pull request as ready for review February 7, 2024 18:54
@jhamon
jhamon merged commit 2c887bb into main Feb 7, 2024
@jhamon
jhamon deleted the jhamon/node-action-warning-message branch February 7, 2024 18:55
NishchayMahor pushed a commit to NishchayMahor/python-sdk-1 that referenced this pull request Sep 22, 2026
…ss (pinecone-io#308)

tests/integration/conftest.py resolved .env from the *current* tree's root,
so no git worktree ever loaded the repo's .env — every worktree run was a
fully credential-starved, ~94%-skipped suite that still exited 0. Resolve
from the main working tree via `git rev-parse --git-common-dir` instead, and
print a coverage summary at the end of every session so a skipped-out run
can no longer be read as coverage.

Release Readiness's integration job referenced `secrets.PINECONE_API_KEY`,
which exists at neither repo nor org level and therefore expanded to the
empty string. Added a preflight step that fails the (advisory, non-gating)
job loudly instead of reporting a meaningless success.
NishchayMahor pushed a commit to NishchayMahor/python-sdk-1 that referenced this pull request Sep 22, 2026
…-tests passing on an empty key (pinecone-io#340)

* fix(tooling): one .env resolver for the live suites, and stop install-tests passing on an empty key

`tests/smoke/conftest.py` resolved `.env` from the root of the *current*
working tree, so no run started in a git worktree ever found the root file
and all 17 collectible smoke tests skipped themselves. pinecone-io#295/pinecone-io#308 fixed the
identical line in `tests/integration/conftest.py`; the smoke copy survived
because it was a separate copy.

The resolution and the end-of-run coverage summary now live in
`tests/live_suite.py`, consumed by both suites. Roots are discovered via
`git rev-parse --show-toplevel --git-common-dir` rather than counted off in
`.parent` hops, so a caller's depth in the tree no longer matters, and
`tests/unit/test_live_suite_env.py` builds a real linked worktree and
asserts the behaviour that twice broke unasserted.

The smoke suite now prints the same `.env source:` / ran-vs-collected block
the integration suite got in pinecone-io#308, so a credential-starved run says so
instead of exiting 0 behind a wall of skips.

`secrets.PINECONE_API_KEY` still exists at neither repo nor org level. Two
more jobs consumed it silently: `install-tests` (release-readiness) and
`smoke-tests` (dev-publish, which has been printing "Smoke tests: PASSED"
on a fully-skipped suite every hour). Both now preflight and fail loudly.
Both workflows are schedule/dispatch-only with no `pull_request` trigger, so
no gate is made to depend on a live key. Creating the secret is a human
action and is documented in the workflow comments.

Refs pinecone-io#295

* fix(tooling): dev-publish smoke summary must not blame a missing key for an earlier failure

Bugbot: the preflight step is not `if: always()`, so a failed checkout,
wheel download, or install leaves its outcome as `skipped` — and the
`always()` summary read any non-success outcome as 'no credentials'. That
reintroduces the exact defect this PR removes, just with a different lie.
The summary now matches on the preflight/smoke outcome pair and claims
'no credentials' only when the preflight actually ran and failed.

* docs(tooling): the CI preflights collect 15 smoke tests, not 17

Both jobs pass --ignore for the two pod-collections modules, so the count
the operator reads in the error message should be the one that job would
actually have skipped. Measured: 15 PINECONE_API_KEY skips of 19 collected
with those ignores, 17 of 21 without.
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