Skip to content

feat(application): add deployed_commit computed attribute#327

Draft
TheCrabe wants to merge 1 commit into
masterfrom
fix/update-deploy-commit-on-read
Draft

feat(application): add deployed_commit computed attribute#327
TheCrabe wants to merge 1 commit into
masterfrom
fix/update-deploy-commit-on-read

Conversation

@TheCrabe

Copy link
Copy Markdown
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 TheCrabe marked this pull request as draft December 24, 2025 09:57
@miton18

miton18 commented Jan 2, 2026

Copy link
Copy Markdown
Collaborator

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

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 force-pushed the fix/update-deploy-commit-on-read branch from 0fcb4c3 to ee32b77 Compare April 29, 2026 08:27
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