estuary / flow

🌊 Continuously synchronize the systems where your data lives, to the systems where you _want_ it to live, with Estuary Flow. 🌊
https://estuary.dev
Other
638 stars 56 forks source link

agent: use touch publications for expanded draft specs #1645

Closed psFried closed 1 month ago

psFried commented 1 month ago

Description:

Touch publications are kind of a perfect fit for expanded specs in user-initiated publications. Expanded specs are never modified by the publication, and it's annoying to add publication specs for things that users haven't intended to publish. Using is_touch: true on expanded specs prevents the creation of unnecessary publication specs. It also avoids unnecessary modification of last_pub_id, so there will be less chance of ExpectPubIdMismatch errors. The touched specs are still validated, which serves the original purpose of spec expansion.

Resolves #1643

Workflow steps:

Notes for reviewers:

This is a follow up change from #1629 , which added the "touch" capability. I wanted to break this out as a separate PR just to limit the scope of changes in any one deployment.


This change is Reviewable