Skip to content

Conversation

@TheCrabe
Copy link
Collaborator

Summary

  • Add a new computed attribute deployed_commit to all application resources
  • Shows the commit hash of the most recent successful deployment
  • Read-only attribute that doesn't cause drift on deployment.commit

Motivation

Closes #100

Users wanted to know what commit is actually deployed on their application. Previously, deployment.commit only showed what was requested to deploy (e.g., refs/heads/main), not the actual deployed commit hash.

TheCrabe and others added 2 commits December 24, 2025 10:38
Add a new computed attribute `deployed_commit` that shows the commit hash
of the most recent successful deployment. This allows users to see what
is actually deployed without causing drift on the `deployment.commit` input.
@TheCrabe TheCrabe marked this pull request as draft December 24, 2025 09:57
@miton18
Copy link
Collaborator

miton18 commented Jan 2, 2026

We can to merge deployed_commit and deployment.commit. This 2 attributes are the same thing.

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.

Update deploy commit on read

2 participants