Skip to content

Add lastDeployedAt timestamp to SqlJob status#229

Merged
jogrogan merged 1 commit into
mainfrom
jogrogan/sqljobsTimestamp
May 27, 2026
Merged

Add lastDeployedAt timestamp to SqlJob status#229
jogrogan merged 1 commit into
mainfrom
jogrogan/sqljobsTimestamp

Conversation

@jogrogan
Copy link
Copy Markdown
Collaborator

Summary

Adds an optional status.lastDeployedAt field (epoch millis, int64) to the SqlJob CRD. Operators that materialize SqlJobs can use this to track when they last issued a deploy for a given SqlJob — e.g., to drive a periodic re-deploy cycle.

The field is additive and optional; existing SqlJob objects and operators that don't read or write it are unaffected.

Changes

  • hoptimator-k8s/src/main/resources/sqljobs.crd.yaml: new status.lastDeployedAt property (integer, format int64).
  • V1alpha1SqlJobStatus.java regenerated via make generate-models.

Testing

  • make generate-models produces a clean diff with only lastDeployedAt
    additions on V1alpha1SqlJobStatus.
  • make build && make install succeeds.
  • ./gradlew publishToMavenLocal succeeds; downstream consumer compiles
    and tests pass against the snapshot.

@github-actions
Copy link
Copy Markdown

Code Coverage

Overall Project 84.45% 🟢

There is no coverage information present for the Files changed

@jogrogan jogrogan merged commit 120702a into main May 27, 2026
1 check passed
@jogrogan jogrogan deleted the jogrogan/sqljobsTimestamp branch May 27, 2026 14:11
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