Upgrading bootstrap-vue in gitlab-ui
Blog post from GitLab
The process of upgrading bootstrap-vue in GitLab's UI from version 2.0.0-rc.27 to the latest stable version encountered several challenges due to backward compatibility issues throughout GitLab's codebase. GitLab CI proved instrumental in managing these changes, allowing the team to use innovative strategies like creating downloadable package artifacts to test development builds without releasing them publicly. This approach facilitated collaboration across the company and leveraged GitLab's extensive CI pipeline to identify and fix issues iteratively. Key challenges included adapting to new import statements and syntax changes, such as those affecting BTable and BTabs components, and managing the significant refactoring of tooltip and popover components. The team faced issues like the tooltip directive's requirement to be attached to the DOM document, which led to failures in existing test suites. They addressed these by migrating tests from Karma to Jest, rewriting them with vue-test-utils, and using Jest's manual mock feature to decouple tests from the tooltip's implementation. The upgrade highlighted the impact of technical debt on dependency updates, emphasizing the need for modern testing practices and clear distinctions between unit and integration tests.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.