test(python): add a pytest lane, bugsink R2 adapter as first suite - #504
Merged
Conversation
Add @vers/bugsink (package.json + turbo.json app tag) and a pytest suite for the R2 storage adapter, moto-mocking S3 and stubbing Bugsink's ObjectStorage base. The Python sits outside the Bun test graph, so a test:adapter script runs it under uv and a path-filtered bugsink-adapter-test workflow runs it in CI. Ignore uv in knip and add python cache to gitignore.
Rename the workflow to python-tests, add a one-line Python convention to project.md, and scope the bun-test rule to JS/TS packages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Establish the monorepo's Python test lane and land its first suite. Python packages sit outside the Bun test graph, so a
python-testsworkflow runs their pytest underuvon change;apps/bugsink(the Bugsink R2 storage adapter) is the first and only one.@vers/bugsinkpackage (turbo.jsonapp tag) with atest:adapterscript running pytest underuv.ObjectStoragebase stubbed so it runs without installing Bugsink.agents/project.md;bun testrule scoped to JS/TS;uvadded to knipignoreBinaries; python cache gitignored.Testing
bun run format:check,deadcode,boundariespasspython-testsjob green;bun run test:adapter— 5 passed (moto-mocked)