Commit e01cdf5
chore(cli): drop dead retagging stub and unused .triggerdeploy.json fields
Two more cleanups identified during PR review:
1. Half-implemented "automatic image retagging" block in registerOnlyDeploy.
Was guarded by a TODO comment ("Implement automatic image retagging") and
only ever logged shell hints (aws ecr put-image / docker tag) for the
user to run by hand, then `await`ed an unconditional 5-second sleep.
Never useful: callers that need fixed image tags use DEPLOY_IMAGE_OVERRIDE
on the webapp side so deployData.imageTag and deployment.imageTag match.
Remove the entire block (~46 lines).
2. simulatedVersion + buildPath fields in the deployData object written to
.triggerdeploy.json. Both are written by buildOnlyDeploy but never read
by registerOnlyDeploy. simulatedVersion is still used elsewhere in
buildOnlyDeploy (deploymentVersion arg + saveLogs filename); we only
drop the dead deployData entry.
Net: -44 lines.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent daacf5d commit e01cdf5
1 file changed
Lines changed: 0 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1590 | 1590 | | |
1591 | 1591 | | |
1592 | 1592 | | |
1593 | | - | |
1594 | | - | |
1595 | 1593 | | |
1596 | 1594 | | |
1597 | 1595 | | |
| |||
1728 | 1726 | | |
1729 | 1727 | | |
1730 | 1728 | | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
1734 | | - | |
1735 | | - | |
1736 | | - | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
1750 | | - | |
1751 | | - | |
1752 | | - | |
1753 | | - | |
1754 | | - | |
1755 | | - | |
1756 | | - | |
1757 | | - | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
1761 | | - | |
1762 | | - | |
1763 | | - | |
1764 | | - | |
1765 | | - | |
1766 | | - | |
1767 | | - | |
1768 | | - | |
1769 | | - | |
1770 | | - | |
1771 | | - | |
1772 | | - | |
1773 | 1729 | | |
1774 | 1730 | | |
1775 | 1731 | | |
| |||
0 commit comments