[codex] Link wallet list GitHub accounts#593
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR makes wallet GitHub logins clickable links to ChangesGitHub account linking
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 84ab2512-3cdc-47a3-8e5f-173856eede32
📒 Files selected for processing (2)
app/templates/wallets.htmltests/test_wallet_api.py
eliasx45
left a comment
There was a problem hiding this comment.
Reviewed current head d2ba612c84c257b78c878029d8ab135c8a159ca1.
Verdict: approve with one non-blocking test hardening suggestion.
Evidence:
- Inspected
app/templates/wallets.htmlandtests/test_wallet_api.py. - The registered-wallets table now links populated
wallet.github_loginvalues to/accounts/github:<login>and preserves the-fallback for wallets without a linked GitHub login. - The regression test checks both the full wallet list and a GitHub-filtered search render the account link for
alice-smoke. - CodeRabbit's extra assertion request for the unlinked-wallet
-fallback is a useful follow-up, but the template branch is simple and the existing rendered page still covers an unlinked wallet row in the fixture. PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe -m pytest tests\test_wallet_api.py::test_wallet_pages_expose_transfer_and_github_claim_flows -q-> 1 passed.PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe -m pytest tests\test_wallet_api.py -q-> 33 passed..\.venv\Scripts\python.exe -m ruff check tests\test_wallet_api.py-> passed..\.venv\Scripts\python.exe -m ruff format --check tests\test_wallet_api.py-> 1 file already formatted..\.venv\Scripts\python.exe -m mypy app\wallet_api.py app\accounts.py-> success.PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe scripts\docs_smoke.py-> docs smoke ok.git diff --check origin/main...HEAD-> clean.git merge-tree --write-tree origin/main HEAD-> clean merge tree.- Hosted quality check is green; CodeRabbit status has one trivial/nitpick test suggestion.
I do not see a merge blocker in the scoped wallet-list account-link change.
eliasx45
left a comment
There was a problem hiding this comment.
Re-reviewed latest head 29ea600fa65febfbbde49be6e0996ba885045d6a after the test-hardening follow-up.
Verdict: approve.
Evidence:
- Inspected
app/templates/wallets.htmlandtests/test_wallet_api.py. - The wallet list still links populated GitHub logins to
/accounts/github:<login>and preserves the existing-fallback for unlinked wallets. - The latest commit addresses CodeRabbit's fallback-test request by extracting the
Funded smoke wallettable row and asserting it renders the dash fallback without any/accounts/github:link. PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe -m pytest tests\test_wallet_api.py::test_wallet_pages_expose_transfer_and_github_claim_flows -q-> 1 passed.PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe -m pytest tests\test_wallet_api.py -q-> 33 passed..\.venv\Scripts\python.exe -m ruff check tests\test_wallet_api.py-> passed..\.venv\Scripts\python.exe -m ruff format --check tests\test_wallet_api.py-> 1 file already formatted..\.venv\Scripts\python.exe -m mypy app\wallet_api.py app\accounts.py-> success.PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe scripts\docs_smoke.py-> docs smoke ok.git diff --check origin/main...HEAD-> clean.git merge-tree --write-tree origin/main HEAD-> clean merge tree.- Hosted quality check is green.
I do not see a merge blocker in the scoped wallet-list GitHub account-link change.
|
Actionable comments posted: 0 |
Summary
/walletsinto account-page links-Refs #580.
Before / After
Before: the registered-wallets table showed linked GitHub logins as plain text, so contributors and maintainers had to manually compose
/accounts/github:<login>to inspect the account balance, accepted work, and ledger rows.After: the GitHub column links directly to the matching public account page while preserving the existing wallet search behavior.
Distinctness
This targets the registered-wallets list table. It is distinct from wallet-detail shortcuts (#492), account-detail shortcuts (#483), contributor
/meshortcuts (#543), and the activity JSON link (#591), because it starts from/walletssearch/list results and improves the linked-wallet-to-account inspection path.Validation
.venv/bin/python -m pytest tests/test_wallet_api.py::test_wallet_pages_expose_transfer_and_github_claim_flows -q-> 1 passed.venv/bin/python -m pytest tests/test_wallet_api.py -q-> 33 passed.venv/bin/python -m pytest -q-> 454 passed.venv/bin/python -m ruff check .-> passed.venv/bin/python -m ruff format --check .-> 83 files already formatted.venv/bin/python -m mypy app-> success.venv/bin/python scripts/docs_smoke.py-> docs smoke okgit diff --check-> cleanNotes
No wallet material, private keys, cookies, OAuth state, access tokens, signatures, private data, price/liquidity/exchange/off-ramp claims, bridge promises, or fabricated payout claims are included. No screenshot attached because this is a rendered-link behavior change, not a visual layout redesign.
Summary by CodeRabbit
New Features
Tests