<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/say-goodbye-to-it-works-on-my-machine-a-look-at-teamcity-s-pretested-commits-l67hrsomc" -->

---
title: Say Goodbye to "It Works on My Machine": A Look at...
description: TeamCity's pretested commits feature validates code changes on CI servers before they reach the main branch, preventing broken builds from disrupting team...
canonical: https://daily.dev/posts/say-goodbye-to-it-works-on-my-machine-a-look-at-teamcity-s-pretested-commits-l67hrsomc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Say Goodbye to "It Works on My Machine": A Look at TeamCity's Pretested Commits | daily.dev
og:description: TeamCity's pretested commits feature validates code changes on CI servers before they reach the main branch, preventing broken builds from disrupting team...
og:url: https://daily.dev/posts/say-goodbye-to-it-works-on-my-machine-a-look-at-teamcity-s-pretested-commits-l67hrsomc
og:image: https://api.daily.dev/og/posts/L67HRsoMc.png
og:image:alt: Say Goodbye to "It Works on My Machine": A Look at TeamCity's Pretested Commits
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Say Goodbye to "It Works on My Machine": A Look at TeamCity's Pretested Commits

**[JetBrains](https://daily.dev/sources/jetbrains)** · 12 min read · 0 upvotes · 0 comments

## Summary

TeamCity's pretested commits feature validates code changes on CI servers before they reach the main branch, preventing broken builds from disrupting team workflows. The workflow reverses the traditional commit-then-build process: developers push changes to validation branches (like remote-run/* in Git), TeamCity runs full build and test cycles, and only passing code gets merged. This approach catches environment-specific issues early, maintains stable main branches, and reduces time wasted debugging others' broken commits. The feature works differently for distributed systems (Git uses branch remote runs) versus centralized VCS (SVN/Perforce use IDE patches). Best suited for teams prioritizing stability with solid automated tests, though effectiveness depends entirely on test suite quality.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jetbrains.com/teamcity/2026/02/say-goodbye-to-works-on-my-machine/>

## Similar posts on daily.dev

- [How to Tame Your Flaky Tests in TeamCity](https://daily.dev/posts/how-to-tame-your-flaky-tests-in-teamcity-srhpeck9w) · JetBrains · 0 upvotes · 0 comments
- [Build Wide, Ship Narrow](https://daily.dev/posts/build-wide-ship-narrow-ubltyfimm) · Hacker News · 1 upvotes · 0 comments
- [Automated Testing Strategies for Trunk-Based Development: How to Build a 10-Minute Pipeline](https://daily.dev/posts/automated-testing-strategies-for-trunk-based-development-how-to-build-a-10-minute-pipeline-k3qqnr8ak) · CodeCraft Diary · 0 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#testing](https://daily.dev/tags/testing), [#cicd](https://daily.dev/tags/cicd), [#git](https://daily.dev/tags/git)

[View this post on daily.dev](https://daily.dev/posts/say-goodbye-to-it-works-on-my-machine-a-look-at-teamcity-s-pretested-commits-l67hrsomc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Say Goodbye to \"It Works on My Machine\": A Look at TeamCity's Pretested Commits","url":"https://daily.dev/posts/say-goodbye-to-it-works-on-my-machine-a-look-at-teamcity-s-pretested-commits-l67hrsomc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/say-goodbye-to-it-works-on-my-machine-a-look-at-teamcity-s-pretested-commits-l67hrsomc"},"datePublished":"2026-02-13T13:51:18.031Z","dateModified":"2026-02-13T13:51:42.032Z","description":"TeamCity's pretested commits feature validates code changes on CI servers before they reach the main branch, preventing broken builds from disrupting team...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cd8e3341a502b1f4ba3e5195664b44c1?_a=AQAEunF","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cd8e3341a502b1f4ba3e5195664b44c1?_a=AQAEunF","isAccessibleForFree":true,"articleSection":"JetBrains","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"JetBrains","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/53ecf0c676f34b3896ee109609d91efa","url":"https://daily.dev/sources/jetbrains"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/say-goodbye-to-it-works-on-my-machine-a-look-at-teamcity-s-pretested-commits-l67hrsomc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,testing,cicd,git","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"JetBrains","item":"https://daily.dev/sources/jetbrains"},{"@type":"ListItem","position":3,"name":"Say Goodbye to \"It Works on My Machine\": A Look at TeamCity's Pretested Commits"}]}
```

