Skip to content

Gate.psm1

Source file factory2/lib/Gate.psm1. This page is generated from the file’s own help comment when the site is built.

The gate job's logic: build the plugin the way the plugin repo's CI does on a runner without Flare's DLL (it builds
against the ref/ stubs), run dotnet test only for the test projects the diff touches, run the e2e scenario linter when
tests/e2e changes, and write a short plain-text failure summary. This is the only job that runs agent-written code, so it
  • Get-PatchPath
  • Get-ProjectGraph
  • Get-TestPlan
  • Get-TestClass
  • Get-AffectedTest
  • Get-ChangeReach
  • Add-TrxLogger
  • Write-TrxEvent
  • Get-TestArgument
  • Invoke-Native
  • Get-FailureExcerpt
  • Format-GateFailure
  • Invoke-Gate