Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
166232 stories
·
33 followers

TeamCity 2026.3: AI in Builds, Multinode Caches, Pipelines Enhancements, and More

1 Share

TeamCity 2026.3 is out! This release brings AI agents right into your builds, introduces distributed caches for multinode setups, and makes it easier to keep your server secure by installing security patches automatically.

Pipelines get new build steps, execution timeouts, and additional job tabs, while build chains now pick up pull request branches automatically.

We’ve also reworked the build Overview tab and the diff viewer, and added support for Maven 4. For the full list of what’s new in 2026.3, make sure to check out our documentation.

Let’s take a closer look at what’s new.

AI in builds

The new AI Agents plugin, available on JetBrains Marketplace, lets your build steps run Codex and Claude Code prompts. Use it as part of your regular build to let an AI agent analyze a failure, summarize changes, draft release notes, or perform any other task you’d normally hand to an agent.

The plugin adds two things:

  • The AI Provider connection, which securely stores your credentials for OpenAI, Anthropic, LiteLLM, or JetBrains Air.
  • The Codex and Claude Code build features that pass these credentials to the agent.

TeamCity also reports how many tokens each build consumes, so you always know how much your AI-powered builds cost.

Learn more about AI in builds in our documentation.

Read also: Run AI Builds in TeamCity

MCP brave mode is now the default

In previous releases, we introduced MCP tools that AI agents can use to interact with TeamCity. Since the teamcity_pipeline_post, teamcity_pipeline_delete, and teamcity_rest_post tools can edit and remove existing entities, they stayed disabled unless brave mode was explicitly enabled on your server.

Starting with 2026.3, brave mode is the default, so your AI agents can use every available MCP tool out of the box.

If you’d like to limit what your agents can do, you can switch back to safe mode. Even better, issue fine-grained access tokens that control exactly which operations are available to your agents – this is the approach we recommend.

Find more details in the Safety Concerns section of our documentation.

Pipelines enhancements

Pipelines introduce a powerful new way to configure builds in TeamCity. Built on YAML and designed with full branching support, they align seamlessly with modern software development lifecycle practices.

You can define Pipelines in YAML or Kotlin DSL, or configure them in the Visual Editor and seamlessly switch between visual and code-based configuration.

We’re continuing to improve Pipelines and expand what you can do with them. Here are some highlights of what we’ve added in 2026.3:

New build steps

Earlier releases brought .NET build steps and several build features to Pipelines. In 2026.3, the following build steps are available by default:

We make build steps and features public only after they pass manual testing and verification. However, the mechanism for bringing classic build configuration elements to Pipelines is already in place.

If you need a build step that Pipelines don’t officially support yet, such as Qodana or NAnt, contact us, and we’ll help you enable it on your TeamCity instance.

Execution timeouts

You can now cap how long a Pipeline run or an individual job may take. Use the new Execution timeout setting in the Optimizations group of Pipeline and job settings.

In addition, Pipelines now respect the default build execution timeout configured in the server’s global settings.

Additional tabs for jobs

The Pipeline run results page now shows additional tabs for a selected job:

  • Performance monitor
  • Qodana
  • Custom report tabs
  • Allure report
  • Maven build info
  • Container info

All tabs except Performance monitor are contextual: they only appear if the selected job performs the corresponding actions. For instance, the Container info tab is shown only for jobs whose steps run in Docker or Podman containers.

Maven user settings

You can now configure custom user settings for Maven build steps in Pipelines. Just like in build configurations, you can choose a file uploaded to a parent project’s Maven settings or specify a custom path to the required file.

You can find the full list of Pipelines improvements in our documentation.

Distributed caches for multinode setups

You can now configure Redis-compatible caches for multinode setups. Used alongside local node caches, they allow nodes to retrieve the values they need faster, without having to read them from the database.

Please note: Setting up a distributed cache will be a required step for all multinode setups starting with TeamCity 2027.2. We recommend planning for it in advance.

Learn more in our documentation.

Automatic security patch installation

TeamCity server administrators can now enable automatic security patch installation. This way, the most critical security vulnerabilities are addressed as soon as the corresponding patches become available – no need to wait for a maintenance window.

Keep in mind that fixes for minor and moderate vulnerabilities aren’t shipped as standalone security patches. Instead, they’re bundled with regular bug-fix updates, so you’ll still need to install those manually for maximum security.

This option also exists in 2026.2.2.

Automatic pull request branch propagation

Previously, to run a build chain on a pull request branch, you had to add this branch to the branch specification of every configuration in the chain. Otherwise, when an upstream build ran on a pull/N branch, downstream builds that didn’t track this branch fell back to the <default> branch.

Starting with 2026.3, TeamCity automatically propagates the pull request branch from upstream builds to downstream ones, so you no longer need to extend the branch specification of each configuration.

This improvement currently applies to GitHub VCS roots only. We’re planning to support other VCS hosting providers in future releases.

Maven 4 support

TeamCity now supports Maven 4, which introduces features like subprojects, declaration of multiple source directories in POM files, and more.

Learn more in our documentation.

UI improvements

Recent releases gave you plenty of ways to work with TeamCity without opening it at all – the MCP server, the TeamCity CLI, and browser-based PKCE authentication. An agent working on your behalf can now drive most CI/CD tasks end to end.

That makes TeamCity AI-ready, not AI-first. A lot of work still starts with a person opening a build page to read a failure, compare a diff, or decide what to rerun. That’s why we keep refining the UI with every release. Here’s what’s changed this time.

Reworked build Overview tab

We’ve reworked the Overview tab of finished Pipeline and build configuration runs to make it easier to navigate and read:

  • All contextual sections (Changes, Deployment, Code coverage, and so on) now appear as dedicated collapsible panes with unique icons.
  • The Tests pane has toggles to switch between a flat list and a tree view.
  • Each test row has a View test history icon that opens the full run history of this test.
  • Tests are now sorted by failure order by default, so the tests that failed first appear on top. Tests that have failed across multiple builds also display an “in N builds” label, highlighting recurring issues.

Improved diff viewer

We’ve also updated the diff viewer on the Changes tab:

  • A side navigation bar, a difference counter, and keyboard shortcuts make it easier to go through changes and inspect them.
  • A compact header and collapsible change details leave more room for the diff itself.
  • Ticking the Ignore whitespace option no longer reloads the page.

Small improvements worth mentioning

  • The Dependencies tab of the Build Results page now lets you search by configuration ID, not only by dependency name.
  • Matrix builds now accept the teamcity.matrix.excludedCombinations parameter, which lets you skip specific combinations.
  • The new Do not skip in build chains option in the general build configuration settings prevents a configuration from being skipped when only part of its build chain runs.

Upgrade to TeamCity 2026.3

Before upgrading, we highly recommend reading about the important changes in the upgrade notes. For the easiest and most reliable upgrade, use the automatic update.

As always, we’d love to hear your feedback. Let us know what you think about the new features in the comments below!

Read the whole story
alvinashcraft
just a second ago
reply
Pennsylvania, USA
Share this story
Delete

How to add license keys to an Electron app

1 Share

If you sell an Electron app, licensing needs two things: a way to activate a key once, and a check on every launch that still works offline. This post shows both with @keygrant/electron.

(Disclosure: we build KeyGrant. We made it because a new app usually has no customers yet, and licensing shouldn't cost you anything before you've sold a copy. It's free until your app takes off, with no hidden fees and no revenue share.)

What you need

  • A KeyGrant account (free up to 250 active licenses) and a product in the dashboard
  • A license key: issue one under Licenses > Issue a license, or create a test license
  • Node.js 20 or later. The SDK runs in Electron's main process, not in a renderer.

1. Install the SDK

npm install @keygrant/electron

2. Get your public key

Your app checks each license with your product's public key. Fetch it once and ship it with the app. The request needs no API key:

curl https://api.keygrant.dev/v1/products/my-product/pubkey
  • my-product is your product's API ID, the last part of its page's URL in the dashboard.
  • Keep the keys array from the response. You pass it to the SDK unchanged.
  • The dashboard's Signing key tab has a Copy key set button that copies the same thing.

3. Activate a key

Create one License for the process, and activate the key your customer enters:

import { License } from "@keygrant/electron";

const license = new License({
  product: "my-product",
  apiBaseUrl: "https://api.keygrant.dev",
  publicJwks: PUBLIC_KEYS, // the keys from step 2
  major: 1, // this build's major version
});

const result = await license.activate(userEnteredKey);
if (!result.ok) showActivationError(result.error);

activate checks the key with KeyGrant, takes one of the key's device seats for this machine, and stores a signed license (a JWT) on the device. When it fails, result.error says why, such as invalid-key or limit.

4. Check the license on every launch

async function checkLicense() {
  const status = await license.status();
  if (status.state === "licensed" || status.state === "trial") return; // run
  if (status.state === "unknown") {
    // The license file could not be read: keep running and check again shortly.
    setTimeout(checkLicense, 5_000);
    return;
  }
  // "expired" or "invalid": status.reason says why. "unlicensed": no key is stored yet.
  showActivationWindow(status);
}

checkLicense();

status() checks the stored license on the device and usually needs no network. When the license is close to its end, it renews it first, waiting at most 5 seconds for KeyGrant. If KeyGrant can't be reached, your app keeps working until the license runs out.

Selling it

Connect your Stripe account in the dashboard and pick the Stripe price for each license model. Each paid checkout then creates a key, with no code on your side. To have KeyGrant email the key to the buyer, choose KeyGrant sends them on the product's License delivery tab.

Your app's Buy button just opens your Stripe Payment Link:

import { shell } from "electron";

await shell.openExternal("https://buy.stripe.com/your-link");
// Once they have the key from the email:
const result = await license.activate(enteredKey);

Selling through Paddle instead? Its checkouts create keys the same way: https://keygrant.dev/docs/getting-started/paddle

Next

You can ship licensing on day one and pay nothing until you pass 250 active licenses. Questions welcome in the comments.

Read the whole story
alvinashcraft
5 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Building Your Own AI-First Design System

1 Share
Build an AI-first design system with an agent doing the legwork: inventory, tokens, components, voice, checks, and review, with a prompt for every step.
Read the whole story
alvinashcraft
5 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Microsoft names new comms chief: Chris Manzini, PepsiCo exec and Edelman vet

1 Share
Headshot of Chris Manzini, smiling, wearing clear-framed glasses and a navy sweater
Chris Manzini starts at Microsoft on Jan. 4, reporting to Vice Chair and President Brad Smith. (Microsoft Photo)

Microsoft named Chris Manzini, PepsiCo’s head of global communications, as its new chief communications officer, tapping an outsider but not a stranger to its business.

Before joining PepsiCo in December 2023, he spent about 20 years at the PR firm Edelman. By the end of that run he was president of Assembly, the agency Edelman built to work exclusively for Microsoft, and he led Edelman’s Microsoft business worldwide.

Manzini succeeds Frank X. Shaw, who took a similar path to the role. Shaw ran the Microsoft account at the agency now known as We. Communications before joining the company in 2009. He announced in September that he would leave after 17 years in-house.

The hiring of Manzini was announced internally Wednesday morning in an email from Brad Smith, Microsoft’s vice chair and president, who said the pick followed an extensive search. Smith credited Manzini with turning PepsiCo’s communications into a more integrated global team, and with pushing it forward in AI, data, digital and social media.

“Chris brings the exact mix of judgment, creativity, and experience that this moment requires, and I can’t wait for all of you to get to know him,” Smith wrote.

In a statement, Manzini said the AI era gives communicators a chance to earn trust and help shape business strategy, and that he “cannot imagine a more compelling place to pursue that ambition than Microsoft in this moment.”

One of his first challenges will be the ongoing aftermath from a global Microsoft 365 outage, which cut off Outlook email in more than 70 countries. CEO Satya Nadella opened Microsoft Ignite days later with an apology, telling customers, “We have work to do.”

Judson Althoff, CEO of Microsoft’s commercial business, told an investor conference Tuesday that the outage could cut year-over-year revenue growth for Microsoft 365 Commercial Cloud by 1 to 2 percentage points. CNBC put that at nearly $500 million in lost revenue.

“Our brand trades on trust, in fact, and not to mince words — we let the world down,” Althoff said.

Manzini starts Jan. 4 and will report to Smith. Microsoft restructured the function in September, after Shaw announced his plan to leave the company, moving communications out of its marketing group and into the corporate, external and legal affairs organization led by Smith.

In an internal memo at the time, Nadella described a media environment that is “increasingly fragmented and noisier than ever.”

He said he wants engineers, sellers, partners and others closest to Microsoft’s products and customers to become a bigger part of how the company tells its story.

In his memo Wednesday, Smith wrote that AI raises the bar on trust for Microsoft, which is why the company is bringing communications “closer to the heart of our strategy and business decisions.”

He thanked Shaw for his 17 years as CCO and nearly three decades of service to the company. Brent Colburn, Microsoft’s VP of global public affairs, has been interim communications chief since late September. Smith also thanked him for delaying a planned move to California to take on the role.

Read the whole story
alvinashcraft
5 hours ago
reply
Pennsylvania, USA
Share this story
Delete

How do you build securely when AI is writing more of the code?

1 Share

Your agent has finished making a change. The tests pass, and the code looks plausible, but you don't have the time to closely review every line. How do you know what you're shipping is secure?

AI agents are accelerating software development, but they can also unintentionally introduce vulnerable code, expose secrets, or suggest nonexistent dependencies. As AI-generated code scales across repositories and languages, security becomes increasingly critical. From January to October 2026, GitHub detected over 200 million vulnerabilities, based on internal data. This represents a 100% increase year over year, underscoring the growing need to secure code at scale.

Keeping your application secure means checking code as you build, reviewing changes before they merge, and looking for risks across the wider project. That's why GitHub combines built-in security checks with different kinds of analysis and gives you ways to investigate findings and apply fixes where you're already coding.

Let's follow a change from the agent session to the pull request and the wider codebase. Along the way, you'll see how to build security into your own development workflow on GitHub. These aren't one-time checks or growing backlogs of findings. Instead, it's an ongoing process of finding vulnerabilities followed by evaluating and applying suggested fixes, without switching between disconnected tools.

The agent says it's done. What did it miss?

Just because an agent says it's finished the work doesn't mean it's safe. Your change can pass every test and still carry a security risk.

Consider an example where your agent updates a PHP search endpoint and builds the database query by inserting the search text directly into the SQL. Ordinary searches still work, so you'd only catch the problem by reading the code closely and asking why the agent built the query that way. But that search text could change the SQL itself and give attackers a way to access your data.

Reading every line to find a problem like this is slow, and these kinds of errors are easy to miss. A local security review can do that first pass for you. Before you open a pull request, run /security-review in the Copilot app, Copilot CLI, or Copilot Chat in VS Code on your active changes.

The review returns prioritized findings and remediation suggestions. It's focused on your local changes, not a full repository audit, and the review itself doesn't edit your code. You can ask Copilot to explain a finding or try a fix in your working copy.

For your PHP endpoint, the review could flag SQL injection. As a fix, it might suggest a parameterized query, which keeps the SQL instructions separate from the user's search value. You can then apply the fix and test that ordinary searches still work and crafted input can no longer alter the query.

Your pull request is open. What could still slip through?

While a local review is valuable, the pull request is the next checkpoint, and it has its own weak spot: reviewers can suggest and commit changes of their own, and any one of them could introduce a new risk. Your team still needs a check that runs on every pull request before code gets merged.

CodeQL is the foundation of GitHub Code Security's pull request checks. Complementary AI-powered scanning builds on that base, extending coverage to additional languages and vulnerability patterns.

These two kinds of analysis work in different ways:

  • CodeQL builds a database representing the code, then runs queries over that representation to identify potential problems. Its default query suite is designed for high precision and few false positives.
  • AI Scanning uses agents to explore the repository and reason about how the code works. Rather than relying only on predefined queries, it can investigate unfamiliar attack patterns and vulnerabilities in business logic, including in additional languages outside CodeQL's coverage.

In our example, PHP is one of those additional languages outside of CodeQL's coverage. AI Scanning checks the endpoint on the pull request and any findings come with suggested fixes for you or your reviewers to evaluate.

What about the code you didn't touch?

Pull request checks examine code that's new or changing, but they don't scan what's already there. Older code can go unchecked for months or years, and even code that appeared to be safe when it shipped may not hold up as attackers find new techniques.

In our example, an older part of the application builds database queries too, and nobody has changed it in months. It may carry the same kind of risk as the endpoint you just fixed, and no pull request will ever bring it up for review.

To look at code like that, if you have write access to a repository, you can run Standard AI Scan on its default branch.

The scan uses a proprietary harness with multiple models when available. Rather than reading every file in full, its agent searches the project and selects files and functions to examine within a time budget. It can examine languages CodeQL supports as well as those outside its coverage.

When the scan finishes, findings from the repository AI Scan appear alongside CodeQL alerts in the code scanning backlog. When CodeQL alerts already cover the same issue, AI Scan suppresses the duplicate findings.

From there, you can assign these alerts, link issues, include them in security campaigns, and use supported autofix workflows.

If you're working in the Copilot app, the GitHub security extension brings all code scanning alerts into a security canvas. You can find alerts, ask Copilot to explain them, and work on fixes without leaving the app. The same canvas supports the local security review we used earlier, so you can check new changes and act on existing alerts in one place.

The security canvas in the GitHub Copilot app showing local security review and code scanning findings

Your critical project warrants another look

For most work, the checks you've seen so far are enough. But regular scanning is built to work within practical limits, such as time and scope. In some situations, such as a major release or an audit, you can't afford to leave any stone unturned.

Suppose the example application is approaching a critical release. You've checked the endpoint and scanned the wider codebase, but the stakes of this release call for the most thorough investigation possible before shipping.

Deep Scan, which is powered by Microsoft's Codename MDASH and currently in private preview, is intended for higher-attention situations such as release testing and audits. Like Standard AI Scan, you run it on a repository with a click.

CodeQL, Standard AI Scan, and Deep Scan alerts all share the same backlog and come with fix suggestions. Agentic autofix works across all three, as well as partner tools, helping you turn findings into fixes within a shared workflow.

Build with security in the loop

Whether you're writing code yourself or working with an agent, these security checks help you evaluate what you're building from your first local change through to the codebase you maintain. You can use focused, local reviews while you build, complementary CodeQL and AI-powered analysis on pull requests, and broader, hybrid scans to look beyond what's recently changed, all within the same GitHub workflow.

No single green check certifies the whole codebase, but together, these approaches give you more chances to find issues and provide a clearer path from a finding to a fix you have reviewed.

FeatureWhen to use it
Local security review (/security-review)Review your active changes for vulnerabilities before opening a pull request.
CodeQL and AI ScanningCheck pull requests for vulnerabilities in new or changed code before merging.
Standard AI ScanScan your repository's default branch for risks in code that hasn't changed recently.
Deep ScanRun a more thorough scan for higher-attention situations, such as release testing or an audit.

Put security into your next change

Next time you work with an agent, run /security-review in the Copilot app, Copilot CLI, or Copilot Chat in VS Code to check your changes for vulnerabilities before opening a pull request.

The post How do you build securely when AI is writing more of the code? appeared first on The GitHub Blog.

Read the whole story
alvinashcraft
5 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Staff Engineers in the Age of AI: Rethinking Technical Leadership

1 Share

Artificial intelligence is transforming software engineering by accelerating code generation, testing, documentation, and architectural exploration. However, faster code delivery does not guarantee better software. As AI becomes integral to development, technical leaders must ensure that productivity gains do not compromise quality, critical thinking, or engineering ownership. Ultimately, when an AI-generated solution fails in production, responsibility remains with the engineers and the organization.

For Staff Engineers, this shift extends beyond adopting new tools. They must not only use AI effectively but also guide teams to question its outputs, understand trade-offs, recognize limitations, and make informed decisions. How can leaders scale teams without introducing new dependencies? How can they promote AI adoption while maintaining engineering judgment? This article examines the challenges, opportunities, and common pitfalls of technical leadership in the age of AI, focusing on how Staff Engineers can turn individual productivity gains into lasting team capabilities.

Read the whole story
alvinashcraft
5 hours ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories