Skip to content

decouple harvester app from harvesting #6027

Closed

Description

@rshewitt

User Story

In order to process jobs for catalog when harvester app is down, datagov wants to decouple harvesting from the harvester admin app

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN the harvester admin app is coupled with harvesting
    WHEN the harvesting app and harvesting admin app are separated
    THEN the harvester app doesn't impact the harvesting process
    [AND optionally another verifiable outcome]

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

Activity

  1. moved this from 📥 Queue (up next) to 📟 Sprint Backlog (Top Priority) in data.gov team boardon Sep 8, 2026
  2. self-assigned this
    on Sep 22, 2026
  3. moved this from 📟 Sprint Backlog (Top Priority) to 🏗 In Progress in data.gov team boardon Sep 22, 2026
  4. FuhuXia commented on Sep 22, 2026

    @FuhuXia
    Member

    We should not use instance 0 of the web app to call LoadManager.start() to start harvest jobs. Doing so creates a dependency on the web app being up and running.

    Instead, I’m going to invoke LoadManager.start() only from apps launched via cf run-task. This decouples harvest processing from the web app, allowing harvest jobs to continue even when the web app is scaled down to zero instances.

    Further improvement:
    GitHub cron is not reliable. If we start to miss too many schedules, we can explore cloud.gov's Run periodic scheduled tasks.

  5. moved this from 🏗 In Progress to ✔ Done in data.gov team boardon Sep 23, 2026
  6. FuhuXia commented on Sep 23, 2026

    @FuhuXia
    Member

    harvest is running on all spaces.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions