Skip to content

Weekly CI with Telegram alert, Sharesight cache warming, merge-when-green skill - #17

Merged
robdevops merged 7 commits into
mainfrom
claude/kind-newton-ad0z2q
Oct 8, 2026
Merged

robdevops merged 7 commits into
mainfrom
claude/kind-newton-ad0z2q

Conversation

@robdevops

Copy link
Copy Markdown
Owner
  • CI: weekly scheduled run (Sunday 19:23 UTC) plus manual workflow_dispatch; a notify job sends a Telegram message when the weekly run fails (needs repository secrets TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID)
  • Background job (sharesight.keep_warm, started from bot.py) keeps the portfolio list and each portfolio's holdings report (days=0) cached, refreshing at 90% of their lifetime; failures keep serving the old cache and retry after 5 minutes
  • New performance_cache_seconds setting (default 1800) for Sharesight performance report caching
  • requirements.txt: cap matplotlib below 4
  • .claude/skills/merge-when-green: open PR, wait for CI, merge with a merge commit, reset the branch
  • Tests for the cache warming (105 tests pass locally on Python 3.13.5)

🤖 Generated with Claude Code

https://claude.ai/code/session_01JVEkZofdPjQ4jtXFKipeUX


Generated by Claude Code

claude added 7 commits October 7, 2026 06:27
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JVEkZofdPjQ4jtXFKipeUX
…t, reset branch

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JVEkZofdPjQ4jtXFKipeUX
…t cached ahead of their TTLs

- sharesight.warm_once/keep_warm refresh at 90% of the cache lifetime (portfolios: cache_seconds, holdings report days=0: 15 min)
- get_portfolios/get_performance gain refresh=True; failures keep serving the old cache and retry after 5 minutes
- started from bot.py when caching and Sharesight are configured; tests and README

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JVEkZofdPjQ4jtXFKipeUX
…(performance_cache_seconds)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JVEkZofdPjQ4jtXFKipeUX
@robdevops
robdevops merged commit bf62537 into main Oct 8, 2026
3 checks passed
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.

2 participants