Skip to content

fix: forward Telegram access code to production - #171

Merged
QueryPlanner merged 1 commit into
mainfrom
codex/forward-telegram-access-code
Aug 20, 2026
Merged

fix: forward Telegram access code to production#171
QueryPlanner merged 1 commit into
mainfrom
codex/forward-telegram-access-code

Conversation

@QueryPlanner

Copy link
Copy Markdown
Owner

What

Forward the configured Telegram access code through the production deployment.

Why

The secret exists in GitHub Actions production configuration, but the deployment did not pass it to the container, so access gating and identity capture stayed disabled.

How

  • Map TELEGRAM_ACCESS_CODE from production secrets in the deploy step.
  • Include it in the write_compose_env.py serialization arguments.
  • Add a deployment contract test covering both wiring points.

Tests

  • uv run pytest tests/test_deployment_contract.py -q
  • uv run ruff format
  • uv run ruff check
  • uv run mypy .
  • uv run pytest --cov=src (1607 passed, 1 skipped, 100% coverage)

Related Issues

- Forward TELEGRAM_ACCESS_CODE to the production deployment
- Serialize the access code in the remote Compose environment
- Add a contract test for workflow secret propagation
@QueryPlanner
QueryPlanner merged commit c345db4 into main Aug 20, 2026
3 checks passed
@QueryPlanner
QueryPlanner deleted the codex/forward-telegram-access-code branch August 20, 2026 12:30
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