Skip to content

[DRAFT] feature flags#1854

Draft
bolekk wants to merge 1 commit intomainfrom
feature_flags
Draft

[DRAFT] feature flags#1854
bolekk wants to merge 1 commit intomainfrom
feature_flags

Conversation

@bolekk
Copy link
Contributor

@bolekk bolekk commented Feb 26, 2026

[DRAFT] feature flags

@bolekk bolekk requested a review from a team as a code owner February 26, 2026 07:06
@github-actions
Copy link

👋 bolekk, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link

✅ API Diff Results - No breaking changes


📄 View full apidiff report

PerWorkflow Workflows `scope:"workflow"`
}
type Orgs struct {
FeatureFlags FeatureFlags
Copy link
Contributor

Choose a reason for hiding this comment

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

A simpler approach would be to just use Setting[time.Time] or similar (e.g. unix ts as int).

Suggested change
FeatureFlags FeatureFlags
FooBarEffectiveDate Setting[time.Time]

This will essentially work without any other code changes. We could additionally add a new limiter data structure, maybe FeatureLimiter, which behaves like a Gate that understands the effective dates. This would be a little more intuitive to use since everything currently behaves as an upper bound, but these are effectively lower bounds. However, it is not strictly necessary, since you can get the value and do the basic enforcement of date comparison yourself.

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