Conversation
…sionsTest RequiredPermissionsTest used factory.manufacturePojo() directly which generates random projectId/projectName values. Since OPIK-4931 added project resolution that returns 404 for non-existent projects, these tests fail at dataset/prompt creation before reaching permission checks. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TS SDK E2E Tests - Node 18236 tests 234 ✅ 15m 33s ⏱️ Results for commit c947ea2. |
Python SDK E2E Tests Results (Python 3.10)244 tests ±0 242 ✅ ±0 8m 5s ⏱️ -11s Results for commit c947ea2. ± Comparison against base commit 9009203. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both. |
Python SDK E2E Tests Results (Python 3.13)244 tests ±0 242 ✅ ±0 8m 29s ⏱️ +18s Results for commit c947ea2. ± Comparison against base commit 9009203. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both. |
Python SDK E2E Tests Results (Python 3.14)244 tests ±0 242 ✅ ±0 8m 14s ⏱️ -4s Results for commit c947ea2. ± Comparison against base commit 9009203. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both. |
Python SDK E2E Tests Results (Python 3.11)244 tests ±0 242 ✅ ±0 8m 5s ⏱️ -2s Results for commit c947ea2. ± Comparison against base commit 9009203. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both. |
Python SDK E2E Tests Results (Python 3.12)244 tests ±0 242 ✅ ±0 8m 11s ⏱️ +4s Results for commit c947ea2. ± Comparison against base commit 9009203. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both. |
Details
Fix failing
RequiredPermissionsTesttests inDatasetsResourceTestandPromptResourceTest.How this broke: Semantic merge conflict between two PRs that touched different lines but had conflicting semantics:
projectId/projectNamefields to Dataset/Prompt and returns 404 for non-existent projectsRequiredPermissionsTestusingfactory.manufacturePojo()which now generates randomprojectIdvaluesNeither PR was broken individually. Git merged them cleanly (no textual conflicts), but
manufacturePojo()now generates a randomprojectIdthat doesn't exist, causing 404 at entity creation before reaching the permission check.Fix: Use
buildDataset()/buildPrompt().build()helpers that null outprojectId/projectName.Change checklist
Issues
Testing
DatasetsResourceTest$RequiredPermissionsTest— 4 tests (3 previously failing)PromptResourceTest$RequiredPermissionsTest— 2 tests (2 previously failing)Documentation
N/A