Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

reinstate kv buckets #1125

Merged

Conversation

ashleymichal
Copy link
Contributor

@ashleymichal ashleymichal commented Mar 5, 2020

Overview

in #1115 i removed this feature to clean up the logic around site deploys, however regression testing revealed that there's a slight possibility that some users might be using this functionality in production and we don't want to introduce that kind of breaking change. This PR re-instates the feature, and smooths it out a little, but also introduces a deprecation warning, as this feature is not well thought out and was not intended to be released in the first place. we will monitor for responses to the warning to decide next steps.

Also happened

to get the "feature" header in to see who uses this crazy side effect, i refactored upload::script to take a client as an argument. i actually think this will be beneficial for future unit testing efforts.

Still TODO

  • add a deprecation warning when the edge case is hit
  • add a "feature" header for instances of kv namespace uploads / publishes in service of this edge case.
  • use message::billboard for deprecation warning
  • create and link issue for deprecation feedback

@ashleymichal ashleymichal added this to the sites clean up milestone Mar 5, 2020
@ashleymichal ashleymichal requested a review from a team March 5, 2020 20:56
@ashleymichal ashleymichal self-assigned this Mar 5, 2020
@ashleymichal ashleymichal force-pushed the alewis/re-instate-kv-buckets branch 2 times, most recently from 0d1987e to 4d51b54 Compare March 6, 2020 20:20
@ashleymichal ashleymichal changed the title [WIP] - reinstate kv buckets reinstate kv buckets Mar 6, 2020
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good - no blocking comments

src/terminal/message.rs Outdated Show resolved Hide resolved
src/commands/publish.rs Outdated Show resolved Hide resolved
@ashleymichal ashleymichal force-pushed the alewis/re-instate-kv-buckets branch 2 times, most recently from 34cf19b to aaa14d9 Compare March 6, 2020 21:07
src/commands/publish.rs Outdated Show resolved Hide resolved
@ashleymichal ashleymichal merged commit 26b4653 into alewis/delay-kv-bulk-delete Mar 11, 2020
@ashleymichal ashleymichal deleted the alewis/re-instate-kv-buckets branch March 11, 2020 15:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants