Skip to content

Conversation

@lukasholzer
Copy link
Contributor

🎉 Thanks for submitting a pull request! 🎉

Summary

This is needed to rollout the next runtime version in the CLI through the feature flags as well
Fixes https://linear.app/netlify/issue/FRA-139/rollout-the-new-runtime


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@lukasholzer lukasholzer requested a review from a team as a code owner January 9, 2024 14:58
@github-actions
Copy link

github-actions bot commented Jan 9, 2024

📊 Benchmark results

Comparing with 605ba2c

  • Dependency count: 1,410 (no change)
  • Package size: 422 MB ⬆️ 0.00% increase vs. 605ba2c
  • Number of ts-expect-error directives: 1,182 ⬇️ 0.08% decrease vs. 605ba2c

Comment on lines -101 to -106
const getFeatureFlagsFromSiteInfo = (siteInfo) => ({
...siteInfo.feature_flags,
// see https://github.com/netlify/pod-dev-foundations/issues/581#issuecomment-1731022753
zisi_golang_use_al2: isFeatureFlagEnabled('cli_golang_use_al2', siteInfo),
})

Copy link
Contributor Author

@lukasholzer lukasholzer Jan 9, 2024

Choose a reason for hiding this comment

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

just moved to the feature-flag.ts file and fixed the object destruction as feature_flags is undefined on sites that are not linked

@lukasholzer
Copy link
Contributor Author

CleanShot 2024-01-09 at 16 10 48

@lukasholzer lukasholzer requested review from MarcL and Skn0tt January 9, 2024 15:12
@lukasholzer lukasholzer merged commit 37ac46e into main Jan 9, 2024
@lukasholzer lukasholzer deleted the feat/pass-feature-flags-to-netlify-build-on-dev branch January 9, 2024 15:25
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.

3 participants