Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inlined.web frameworks label #5176

Merged
merged 4 commits into from Oct 27, 2022
Merged

Inlined.web frameworks label #5176

merged 4 commits into from Oct 27, 2022

Conversation

inlined
Copy link
Member

@inlined inlined commented Oct 26, 2022

Add a label to hosting versions with the type of web framework being used. This uses the same id as the google analytics metric, so I moved that track code to the deploy function as well.

Separately, I moved HostingResolved to src/hosting so that I don't feel guilty adding new fields for the sake of communication between web frameworks and hosting.

@inlined inlined requested a review from bkendall October 26, 2022 01:56
@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2022

Codecov Report

Base: 56.13% // Head: 56.20% // Increases project coverage by +0.07% 🎉

Coverage data is based on head (cecd95f) compared to base (d67881d).
Patch coverage: 80.95% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5176      +/-   ##
==========================================
+ Coverage   56.13%   56.20%   +0.07%     
==========================================
  Files         308      308              
  Lines       20734    20737       +3     
  Branches     4198     4199       +1     
==========================================
+ Hits        11638    11655      +17     
+ Misses       8086     8069      -17     
- Partials     1010     1013       +3     
Impacted Files Coverage Δ
src/deploy/index.ts 29.11% <0.00%> (+1.40%) ⬆️
src/frameworks/index.ts 16.20% <0.00%> (+0.18%) ⬆️
src/hosting/config.ts 67.18% <ø> (+0.78%) ⬆️
src/extensions/provisioningHelper.ts 90.90% <85.71%> (-1.16%) ⬇️
src/database/remove.ts 92.30% <100.00%> (ø)
src/database/removeRemote.ts 100.00% <100.00%> (ø)
src/deploy/hosting/prepare.ts 76.00% <100.00%> (+44.42%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

const versions = await Promise.all(
configs.map((config) => api.createVersion(config.site, version))
configs.map(async (config) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add tests for this change

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@inlined inlined merged commit 74c1b19 into master Oct 27, 2022
@inlined inlined deleted the inlined.web-frameworks-label branch October 27, 2022 21:29
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.

None yet

3 participants