question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create a --preview flag for disruptive changes between major updates

See original GitHub issue

As discussed in #2394, we’d like to shove disruptive style changes between major updates behind a --preview flag. And I think it should be created and available even if such changes have not been implemented yet, so that our CLI is consistent.

Perhaps:

  • add the CLI option
  • create a separate style docs section for describing the style
  • from now on announce these kinds of changes under a “preview” header in our changelog
  • document a consistent way of writing preview tests without disrupting stable (I think just duplicating might be fine)

Thoughts, suggestions?


@ichard26 shall we add this to the “stable” project?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
JelleZijlstracommented, Jan 10, 2022

Yes, that sounds like a good approach. We could also just use the existing Mode object, and when we create that we set whatever flags we want to True based on the value of the --preview flag.

0reactions
felix-hildencommented, Jan 14, 2022

Yeah that could work! Or we could even have it as a (private?) attribute of Mode. I’ll have to test things.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Progressive experimentation with feature flags
Learn how to use feature flags to progressively experiment with new features using the production environment.
Read more >
Feature flags
Using feature flags, a team can modify a system's behavior without making disruptive code changes to the live code. Thus, one major benefit...
Read more >
Product Manager's Guide to Using Feature Flags in ...
For developers, using feature flags allows them to work in a continuous delivery process, one that produces a steady stream of releases and ......
Read more >
Feature Flags
Feature flags is a software technique that enables teams to make changes without additional code. Read about benefits, use cases and more.
Read more >
New features & announcements - Google Ads Help
To build on those efforts, we announced design changes to our search ... Top consumer product announcements included: Google Translate is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found