Skip to content

[codex] fix wallet rewards and Lexi sessions#305

Open
InfinityZero3000 wants to merge 3 commits into
devfrom
codex/fix-wallet-lexi-session
Open

[codex] fix wallet rewards and Lexi sessions#305
InfinityZero3000 wants to merge 3 commits into
devfrom
codex/fix-wallet-lexi-session

Conversation

@InfinityZero3000

@InfinityZero3000 InfinityZero3000 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • invalidate wallet cache after gem grants/spends, including starter rewards and referral rewards
  • stop treating email registration as an authenticated login state
  • surface Lexi session 403/404 access errors so stale or cross-account sessions are removed locally
  • repair CI fallout: admin lockfile sync, backend/AI dependency constraints, game result provider tests, and case-safe logo asset paths

Tests

  • DATABASE_URL=sqlite+aiosqlite:///./test.db SECRET_KEY=test-secret APP_ENV=testing ... pytest tests/services/test_starter_reward_service.py tests/test_gamification_routes.py::TestWallet::test_pending_starter_reward_can_be_acknowledged tests/test_referral_routes.py::TestClaimCode::test_successful_claim_awards_gems
  • flutter test test/features/lexi_chat/data/repositories/lexi_chat_repository_impl_metadata_test.dart test/features/lexi_chat/presentation/providers/lexi_chat_provider_test.dart
  • flutter test test/features/games/presentation/screens/game_completion_test.dart test/features/games/presentation/screens/game_accessibility_test.dart
  • flutter test test/features/admin/auth/login_screen_layout_test.dart
  • flutter analyze on changed Flutter files
  • npm ci && npm run build:check && npm test in admin-service
  • python3 -m pytest tests/test_dependency_constraints.py -q in ai-service

CI

  • Code checks pass: Backend, AI Lint/STT, Admin Build & Tests, Flutter Analyze & Test, MCP smoke, Gitleaks, AI Code Review.
  • mirror still fails because the GitLab mirror token/user is not allowed to push to that GitLab project (HTTP 403), not because of repo code.

@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
lexilingo-admin Ignored Ignored Jul 6, 2026 11:56am
lexilingo-app Ignored Ignored Jul 6, 2026 11:56am

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

PR-Agent failed to apply 'local' repo settings

The configuration file needs to be a valid TOML, please fix it.


Error message:
Cannot declare ('config',) twice (at line 61, column 8)

Configuration content:
[config]
# Use Google Gemini API
model = "google/gemini-2.5-pro"
fallback_models = ["google/gemini-2.5-flash"]

[pr_reviewer]
# Enable/disable features
require_focused_review = true
require_score_review = true
require_tests_review = true
require_security_review = true
require_estimate_effort_to_review = true

# Review settings
num_code_suggestions = 5
inline_code_comments = true
auto_review = true
remove_previous_review_comment = true

# Language and tone
extra_instructions = """
- Focus on code quality, security, and best practices
- Check for proper error handling
- Verify Clean Architecture principles
- Ensure proper test coverage
- Review API design and RESTful conventions
- Check for potential performance issues
- Verify proper logging and monitoring
"""

[pr_code_suggestions]
# Code improvement suggestions
num_code_suggestions = 5
extra_instructions = """
- Suggest improvements for code readability
- Recommend better naming conventions
- Propose performance optimizations
- Suggest security enhancements
"""

[pr_description]
# Auto-generate PR description
publish_description = true
add_original_user_description = true
extra_instructions = """
- Summarize main changes
- List affected components
- Note breaking changes
- Include testing notes
"""

[pr_questions]
# Auto-generate clarifying questions
num_questions = 3
extra_instructions = """
- Ask about design decisions
- Question potential edge cases
- Clarify implementation choices
"""

[config]
# Model configuration (uncomment to customize)
# model = "gpt-4-turbo-preview"
# model = "anthropic/claude-3-5-sonnet-20241022"
# fallback_models = ["gpt-3.5-turbo"]

# Git provider
git_provider = "github"

# Review triggers
pr_commands = [
    "/review",
    "/describe",
    "/improve",
    "/ask",
    "/update_changelog",
]

@InfinityZero3000 InfinityZero3000 marked this pull request as ready for review July 5, 2026 19:37
@InfinityZero3000 InfinityZero3000 force-pushed the codex/fix-wallet-lexi-session branch from f8e8574 to d17a33a Compare July 6, 2026 11:56
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.

1 participant