Skip to content

feat(aft): Retry prePublish for 20min - #7295

Merged
cadivus merged 1 commit into
mainfrom
fix/aft
Aug 19, 2026
Merged

feat(aft): Retry prePublish for 20min#7295
cadivus merged 1 commit into
mainfrom
fix/aft

Conversation

@cadivus

@cadivus cadivus commented Aug 19, 2026

Copy link
Copy Markdown
Member

Transitive dependencies caused this:

  Proceed with publish (y/N)? y                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                     
  Publish queue (ready to publish):                                                                                                                                                                                                                                                                                  
  - amplify_storage_s3_dart (0.4.23)                                                                                                                                                                                                                                                                                 
  - amplify_db_common (0.4.21)                                                                                                                                                                                                                                                                                       
  - amplify_push_notifications (2.15.0)                                                                                                                                                                                                                                                                              
  - amplify_flutter (2.15.0)                                                                                                                                                                                                                                                                                         
  - amplify_analytics_pinpoint_dart (0.4.21)                                                                                                                                                                                                                                                                         
  - amplify_kinesis_dart (0.1.6)                                                                                                                                                                                                                                                                                     
  - amplify_firehose_dart (0.1.5)                                                                                                                                                                                                                                                                                    
  - amplify_api_dart (0.5.22)                                                                                                                                                                                                                                                                                        
  - amplify_datastore_plugin_interface (2.15.0)                                                                                                                                                                                                                                                                      
  Running pre-publish checks for amplify_storage_s3_dart...                                                                                                                                                                                                                                                          
  Resolving dependencies...                                                                                                                                                                                                                                                                                          
  Because amplify_db_common_dart >=0.4.20 <0.4.21 depends on amplify_core >=2.12.1 <2.13.0 and amplify_db_common_dart >=0.4.21 <0.4.22 depends on amplify_core >=2.13.0 <2.14.0, amplify_db_common_dart >=0.4.20 <0.4.22 requires amplify_core >=2.12.1 <2.13.0 or >=2.13.0 <2.14.0.                                 
  And because amplify_db_common_dart >=0.4.22 depends on amplify_core >=2.14.0 <2.15.0, amplify_db_common_dart >=0.4.20 requires amplify_core >=2.12.1 <2.13.0 or >=2.13.0 <2.14.0 or >=2.14.0 <2.15.0.                                                                                                              
  So, because amplify_storage_s3_dart depends on both amplify_core >=2.15.0 <2.16.0 and amplify_db_common_dart ^0.4.20, version solving failed.                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                     
  You can try the following suggestion to make the pubspec resolve:                                                                                                                                                                                                                                                  
  - Consider downgrading your constraint on amplify_core: dart pub add amplify_core:^2.14.0  

This PR fixes it.

Some packages might not be available on first attempt
@cadivus
cadivus requested a review from a team as a code owner August 19, 2026 13:02
@cadivus
cadivus enabled auto-merge (squash) August 19, 2026 13:04
@cadivus
cadivus merged commit a6ec724 into main Aug 19, 2026
7 checks passed
@cadivus
cadivus deleted the fix/aft branch August 19, 2026 13:05
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.98%. Comparing base (299045d) to head (e2ef92c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7295   +/-   ##
=======================================
  Coverage   40.98%   40.98%           
=======================================
  Files         121      121           
  Lines        8273     8273           
  Branches     3598     3598           
=======================================
  Hits         3391     3391           
  Misses       4882     4882           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants