Skip to content

Revert "engine: if we fail to inject the synclet into a resource, try to recover gracefully (#3050)"#3055

Merged
maiamcc merged 1 commit into
masterfrom
maiamcc/revert-synclet-recovery
Mar 9, 2020
Merged

Revert "engine: if we fail to inject the synclet into a resource, try to recover gracefully (#3050)"#3055
maiamcc merged 1 commit into
masterfrom
maiamcc/revert-synclet-recovery

Conversation

@maiamcc

@maiamcc maiamcc commented Mar 9, 2020

Copy link
Copy Markdown
Contributor

a user in #tilt reported consistent "ExecUpdater does not support restart_container() step" errors
even tho they expected tilt to use the Synclet.

the reverted commit is the cause: as a prerequiste to using the synclet, we check
the last result for the k8s target to see if it has the HasEligibleSynclet flag.
However, this didn't work in practice because, when we construct a buildEntry,
we don't add k8s results to the buildStateSet;
no k8s result ever made it to the new code that checks the synclet eligibility flag.

will revisit this PR soon to make it do the right thing; for now, just revert to
fix the break.

@maiamcc
maiamcc requested review from landism and nicks March 9, 2020 21:31
@maiamcc
maiamcc merged commit 79b3728 into master Mar 9, 2020
@maiamcc
maiamcc deleted the maiamcc/revert-synclet-recovery branch March 9, 2020 22:05
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.

2 participants