auth
FreeAuthentication and authorization patterns for Rossoctl services
The English summary is being prepared. Showing the original description.
Review tests for quality - assertive checks, no hidden skips, proper coverage
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Review test quality to ensure tests actually catch failures.
| Anti-Pattern | Problem | Fix |
|---|---|---|
assert True | Always passes, tests nothing | Assert specific values |
@pytest.mark.skip without reason | Hides failures silently | Add reason or remove |
@pytest.mark.xfail without ticket | Accepted failures without tracking | Link to issue |
try/except: pass in test | Swallows errors | Let exceptions propagate |
assert response is not None | Only checks existence, not correctness | Assert status code + content |
assert len(items) > 0 | Doesn't verify content | Assert specific items or properties |
| Empty test body | Test exists but does nothing | Implement or delete |
Hardcoded timeouts sleep(30) | Flaky, slow | Use wait_for / retry pattern |
@skip has a reason and linked issue@xfail references a ticketSearch for anti-patterns in test files:
grep -rn "assert True\|assert False\|@pytest.mark.skip\|@pytest.mark.xfail\|pass$" rossoctl/tests/
Search for weak assertions:
grep -rn "is not None\|!= None\|assert .*>" rossoctl/tests/ | grep -v "# ok"
test:write - Write new tests following standardstest:run-kind - Run tests on Kindtest:run-hypershift - Run tests on HyperShifttdd:ci - TDD workflow that includes test reviewNo reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Authentication and authorization patterns for Rossoctl services
The English summary is being prepared. Showing the original description.
Create confidential OAuth2 clients in Keycloak for server-to-service authentication
The English summary is being prepared. Showing the original description.
Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication
The English summary is being prepared. Showing the original description.
Configure OpenTelemetry Collector with OAuth2 authentication for trace export
The English summary is being prepared. Showing the original description.
CI pipeline monitoring, status checks, and PR validation workflows
The English summary is being prepared. Showing the original description.
Monitor running CI jobs, wait for completion, create tasks for results
The English summary is being prepared. Showing the original description.