@@ -167,6 +167,10 @@ func printSuccessRate(success, failed int) {
167167 }
168168}
169169
170+ // archeraSignupURL is the Archera signup link with CUDly attribution, shared
171+ // with the web interface (frontend ARCHERA_SIGNUP_URL).
172+ const archeraSignupURL = "https://www.archera.ai/cudly"
173+
170174// printFinalMessage prints the final message based on mode and results
171175func printFinalMessage (isDryRun bool , riSuccess int ) {
172176 if isDryRun {
@@ -175,9 +179,32 @@ func printFinalMessage(isDryRun bool, riSuccess int) {
175179 } else if riSuccess > 0 {
176180 AppLogger .Println ("\n 🎉 Purchase operations completed!" )
177181 AppLogger .Println ("⏰ Allow up to 15 minutes for RIs to appear in your account" )
182+ printArcheraPitch ()
178183 }
179184}
180185
186+ // printArcheraPitch prints a soft, non-blocking suggestion to insure the
187+ // just-purchased commitments through Archera, followed by the two Archera
188+ // partnership disclosures CUDly commits to keeping visible everywhere the
189+ // integration is surfaced (see project_archera_partnership memory):
190+ // 1. Non-gating: CUDly works fully without Archera.
191+ // 2. Sponsorship: Archera funds part of CUDly's development.
192+ //
193+ // Shown only after a successful real purchase. Archera is a third-party
194+ // service independent of CUDly.
195+ func printArcheraPitch () {
196+ AppLogger .Println ("\n 🛡️ Want to push your coverage to 100% without the risk that a future" )
197+ AppLogger .Println (" capacity decrease leaves you paying for commitments you no longer use?" )
198+ AppLogger .Println (" You can buy underutilization insurance for Reserved Instances and" )
199+ AppLogger .Println (" Savings Plans from Archera by signing up at:" )
200+ AppLogger .Printf (" %s\n " , archeraSignupURL )
201+ AppLogger .Println (" within the first 7 days of the purchase." )
202+ AppLogger .Println ("\n This is entirely optional. CUDly's purchase and management features" )
203+ AppLogger .Println (" work fully without Archera." )
204+ AppLogger .Println ("\n For full disclosure, Archera sponsors CUDly's Open Source development" )
205+ AppLogger .Println (" from a fraction of their insurance premiums." )
206+ }
207+
181208// printSavingsPlansSection prints the Savings Plans summary section
182209func printSavingsPlansSection (allRecommendations []common.Recommendation , spStats ServiceProcessingStats ) {
183210 AppLogger .Println ("\n 📊 SAVINGS PLANS:" )
0 commit comments