Skip to content

[PROD-005] .NET PostgreSQL schema bootstrap and year-state runtime #621

Description

@ktalpay

Task ID: PROD-005
Lane: dotnet
Status: merged
Agent: dotnet-agent
Depends on: PROD-004

Goal:
Add the .NET PostgreSQL runtime foundation needed for production parity: safe schema bootstrap and source-family year-state behavior.

Scope:

  • Use the .NET production config boundary from PROD-004.
  • Add PostgreSQL connection/runtime boundary for the .NET service.
  • Bootstrap required shared/source-family schema additively and idempotently.
  • Read latest successful year per source family.
  • Return configured initial year when no data exists.
  • Record successful source-family year state after a future insert boundary.
  • Wire validation/status into service command surface without implementing ingestion.
  • Add opt-in Docker PostgreSQL tests where practical.

Non-goals:

  • No source download/parsing orchestration.
  • No source-specific master/detail insert implementation.
  • No Python runtime changes.
  • No production credentials.
  • No destructive DB operations.

Acceptance:

  • Missing/invalid DB config fails closed.
  • Bootstrap is additive/idempotent.
  • Year-state read/write behavior is tested.
  • Service command reports runtime readiness without claiming .NET production-ready.
  • No generated artifacts.

Task-ID: PROD-005

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:dotnetTask is assigned to dotnet-agentlane:dotnet.NET implementation lanestatus:mergedTask PR has been merged and the task is completetype:implementationProduct or platform implementation task

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions