Skip to content

Remove orphaned integration folders#813

Merged
edavidaja merged 3 commits into
mainfrom
remove-integration-folders
Jul 2, 2026
Merged

Remove orphaned integration folders#813
edavidaja merged 3 commits into
mainfrom
remove-integration-folders

Conversation

@edavidaja

@edavidaja edavidaja commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

What

Removes three top-level folders with defunct tests, and adds a small guard test for the bootstrap JWT constants.

  • Delete integration-testing/ — a docker-compose harness that built bats/cypress suites which were removed long ago. CI now runs the pytest suite via the posit-dev/with-connect action (ci: use with-connect for integration testing against many versions of Connect #739); nothing invokes this compose setup.
  • Delete integration/jwt_testbed.py — a manual, non-CI script that POSTed to a live server's bootstrap endpoint to check authorization responses. That is server-side behavior outside this CLI's scope. The client-side JWT signing this tool is responsible for remains covered by tests/test_json_web_token.py.
  • Drop the now-dead "integration" entry from ruff's extend-exclude in pyproject.toml.
  • Add TestBootstrapContract to tests/test_json_web_token.py, pinning DEFAULT_ISSUER / DEFAULT_AUDIENCE / BOOTSTRAP_SCOPE to their literal values so a change to these wire-contract constants can't slip through unnoticed.

Why

Neither folder is referenced by CI, the Justfile, docs, or scripts. They're dead scaffolding; keeping them invites confusion about what actually runs.

Verification

  • just lint — clean.
  • Full pytest suite runs with no collection errors referencing the removed folders. (Pre-existing test_quickstart.py failures are an unrelated local orjson/maturin build issue.)

edavidaja added 2 commits July 2, 2026 09:35
integration-testing/ was a docker-compose harness for bats/cypress suites
that were removed long ago; CI now runs the pytest suite via the
posit-dev/with-connect action (#739). integration/jwt_testbed.py was a
manual, non-CI script exercising a live server's bootstrap authorization
responses — server-side behavior outside this CLI's scope. The client-side
JWT signing this tool is responsible for stays covered by
tests/test_json_web_token.py. Drop the now-unused ruff exclude.
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-02 16:01 UTC

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
7601 6317 83% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 8668ce1 by action🐍

@nealrichardson nealrichardson left a comment

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.

Love it

@edavidaja edavidaja merged commit 75a68b5 into main Jul 2, 2026
23 checks passed
@edavidaja edavidaja deleted the remove-integration-folders branch July 2, 2026 16:00
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