Skip to content

Refactor scheduler.py to use storage and credentials abstractions #5

Closed

Description

@OkiriGabriel

Part of #1 (open-core architecture).

Depends on: StorageProtocol (#2), CredentialsProtocol (#3).

Goal

Make scheduler.py use the same storage/credentials interfaces as tools so a managed worker in the paid layer can reuse publish logic.

Scope

  • Update scheduler.py to read scheduled posts via storage abstraction
  • Use credentials protocol when publishing due posts
  • Keep CLI flags: --once, --interval, --dry-run

Acceptance criteria

  • python scheduler.py --dry-run works as before
  • Cron/--once flow unchanged for OSS users
  • No direct JSON file reads in scheduler (go through storage layer)

Activity

  1. added
    enhancement
    on Jul 21, 2026
  2. OkiriGabriel commented on Jul 30, 2026

    @OkiriGabriel
    CollaboratorAuthor

    Fixed in PR #19 — scheduler uses storage layer for queue summary and credentials protocol for integration status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions