Skip to content

refactor: migrate to uv#4

Merged
luk-kop merged 3 commits intomainfrom
refactor/migrate-to-uv
Jan 18, 2026
Merged

refactor: migrate to uv#4
luk-kop merged 3 commits intomainfrom
refactor/migrate-to-uv

Conversation

@luk-kop
Copy link
Owner

@luk-kop luk-kop commented Jan 18, 2026

Project Structure

  • Migrated to uv workspaces - moved Lambda to lambdas/certbot/
  • Replaced pip with uv across CI and Terraform
  • Consolidated dependencies: removed requirements.txt, requirements-dev.txt

Lambda Code

  • Added botocore.exceptions.ClientError to exception handling
  • Fixed empty secret handling (first run no longer errors)
  • Added type hints (TypedDict, Callable) and improved docstrings

Terraform

  • Scoped CloudWatch Logs IAM policy to specific log group
  • Fixed Lambda layer architecture mismatch (dynamic platform build)
  • Removed unused null provider
  • Updated paths for new lambdas/certbot/ structure

CI/CD

  • Switched to uv sync / uv run for faster builds
  • Removed stale --cov=new_stake_script reference

Docs

  • Added "View Lambda logs" CLI examples
  • Added "Adding a New Lambda" guide
  • Updated all paths and instructions for uv/workspace

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@luk-kop luk-kop merged commit 5009677 into main Jan 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants