Skip to main content

webops - Release Notes

View all product releases

Optimized WebOps build time

· 2 min read

We updated the WebOps infrastructure to improve building times by using cache of previous builds and reducing the amount of necessary files needed for serving a store.

What has changed?​

WebOps Unified Build​

WebOps Unified Build is a new unified system for WebOps builds that reduces data and improves the building time. This system reduces build and deployment overhead, as shown in the table below:

StoreBeforeAfter
gatsby.store13m5m
nextjs.store6m5m

Framework cache for Next.JS projects​

Next.JS projects now have infrastructure for caching which improves response times and reduces the number of requests to external services.

After the implementation of caching next build times were decreased from 63s to only 34s nextjs.store.

Why did we make these changes?​

The goal of these improvements is to reduce WebOps overhead by enhancing the generation, saving, and deploying of compilation artifacts while also decreasing build time.

What needs to be done?​

  • WebOps Unified Build: Nothing. This improvement is already available for all WebOps users.

  • Framework cache for Next.JS projects: Go to the vtex.env of your project and check the configuration for WebOps build caching:

USE_NODE_MODULES_CACHE=true
USE_FRAMEWORK_CACHE=true

Lighthouse reports now available for deploy previews

· One min read

Now every deploy preview will have a new Lighthouse Reports box with quick-access links to reports for all pages you have listed in the Lighthouse CI section of the store.config.js file. That way, you can easily track how each pull request impacts the performance, SEO, and accessibility of your store.

What has changed?​

The Lighthouse CI now makes generated Lighthouse Reports available for developers via Google Lighthouse Viewer for each deploy preview and uploads them to AWS S3. WebOps, then, adds comments on new PRs with links to those reports.

Links to these reports are also shared in the logs of the WebOps pipeline for Lighthouse.

Why did we make these changes?​

These changes aim to make it simpler for you to track how each deploy affects your website's performance.

What needs to be done?​

Nothing. This improvement is already available for all WebOps users. Enjoy!


WebOps upgraded to use Lighthouse 9

· One min read

The WebOps pipeline has been updated to use the newest Lighthouse version. In November 2021, Google published Lighthouse version 9.0. Among its main changes, highlights include the upgrade of Lighthouse APIs, the introduction of new user flows, the redesign of Lighthouse reports, and the addition of new accessibility features.

What has changed?​

Before, the WebOps pipeline was using Lighthouse version 8. Now, we are using Lighthouse 9. As a result, newer audit reports may slightly differ from those previously issued. For more information, please refer to this announcement.

Why did we make these changes?​

We understood that getting different results from WebOps and Lighthouse could lead to misunderstandings, so we made this modification to match both results.

What needs to be done?​

These changes are already available for everyone. Thus no further action is required to use WebOps with Lighthouse 9.


Improved WebOps build time

· One min read

Hello WebOps users,

With the increased number of concurrent users of the WebOps platform, we noticed WebOps pipelines were taking longer to execute. Under high loads, workflows that used to take from 2 to 10 minutes started to span between 20 and 50 minutes. This caused CMS publications to take longer than they should, harming the developer experience.

Earlier this week, we began an investigation into it, and we managed to improve the situation drastically. Our pipelines runtime is now back to the 2-10 minutes range, depending on the workload type and size of the store.

We are working hard to deliver improvements to our platform such as this. Expect further improvements during the closed beta as we work on our platform's stability and performance!