Skip to content

Attribute unscoped consume throughput failures in main Performance run 41520774653 #320

Closed

Description

@thomhurst

Summary

Main Performance run 41520774653 reports throughput failures for unscoped composed consumers and direct scoped dispatch. Both candidate confidence intervals are slower than both bracketed baselines under the existing 5% rule. The comparison inputs changed, so earlier identical-input and historical replay investigations do not attribute this run.

Reproduction

Download artifact performance-41520774653-1 from run 41520774653, attempt 1. Replay its reports with .github/scripts/benchmark_gate.py compare, supplying baseline, candidate, baseline-after and the retained input manifest. The failing step is Performance regression gate / Compare bracketed throughput, allocations and startup.

Baseline: c8e5ee5e5b17d39fd6c33b3aa07f96568a3bca9f. Candidate: aa1368ea0f68d9913b69450fa5a53567922d26f4, GitHub-hosted Linux x64.

  • ConsumePipelineBenchmarks.ComposedConsumer(ScopedHandler: False): -12.54% throughput; baseline intervals [149.336, 149.995] and [149.376, 150.54] ns, candidate [170.372, 171.866] ns. All three allocation totals are 128 B/op.
  • ConsumePipelineBenchmarks.DirectScopedDispatch(ScopedHandler: False): -7.90%; baseline intervals [60.7092, 60.9532] and [58.0012, 58.272] ns, candidate [64.9689, 67.1339] ns. All allocation totals are 128 B/op.
  • Other reported losses and concurrent round-trip allocations are inconclusive, not confirmed regressions.

Changed inputs include package/project wiring, the shared outbox header codec and the new SQL Server store. Unchanged benchmark call-path source does not establish identical containing assemblies or execution. Closed #303 documents controlled replay of a different changed-input run; closed #155 concerns verified identical inputs. Neither establishes this run's cause. No workflow was rerun and no threshold changed.

Acceptance criteria

  • Independently retain and verify raw reports, manifests, logs and frozen executable inputs.
  • Use the existing frozen-driver/control tooling to distinguish execution variation from a repeatable change-dependent effect.
  • Fix any demonstrated production or detector defect with focused validation. Preserve strict changed-input detection and all thresholds.
  • Document uncertainty without claiming the raw-native 5% budget.

This advisory failure is separate from the Kafka allocation failure in required CI run 41520775082, tracked by #319 and draft #322. Required main CI has since passed in run 41524260684 at 9a5c09d. Neither #319 nor #322 is a prerequisite for this attribution investigation. No production fix or attribution is claimed here.

The independent local archive is C:/git/Relayer-evidence/issue-320/run-41520774653-1/. All 562 downloaded artifact files were SHA-256 compared with their copied originals; inventory-sha256.json records their lengths and hashes. The failed-step log is retained alongside them. This archive survives main-ci cleanup while #320 remains open. The completed controlled investigation is in draft #325. Independent original and controlled archives are retained in the unpublished draft release https://github.com/thomhurst/Relayer/releases/tag/untagged-62c1a74d394fefa76bdc; both uploads were downloaded and SHA-256 verified. No historical causal attribution is claimed.

Activity

  1. added
    bug
    area: performance
    P2
    on Nov 2, 2026
  2. thomhurst commented on Nov 2, 2026

    @thomhurst
    OwnerAuthor

    Triage against fresh origin/main 9a5c09d: the attribution remains open; no closing PR, native parent/children or blocked-by dependency exists. The regression benchmark and gate remain present, and the original changed-input comparison has no demonstrated attribution. Updated the body to remove the stale claim that required main CI is blocked: run 41524260684 passed. #319/#322 address a separate test-host allocation counter issue and do not block this work. Acceptance criteria and thresholds are unchanged; this issue remains claimable.

  3. added
    in-progress
    on Nov 2, 2026
  4. thomhurst commented on Nov 2, 2026

    @thomhurst
    OwnerAuthor

    Rechecked and claimed #320. All 562 original artifact files and the three retained build inventories verify against their SHA-256 hashes. Strict replay with the recorded differing input manifests reproduces both original throughput failures. No threshold or input-identity rule changes.

    The predeclared control uses the original frozen Linux generated driver and dependencies under SDK 10.0.403 / runtime 10.0.14 on WSL Ubuntu/i7-12700K. For each unscoped case, DirectScopedDispatch (ID 2) then ComposedConsumer (ID 3), run baseline/candidate/candidate/baseline, three fresh processes per block, with the compiled original DefaultJob settings. Retain every launch, operation count, allocation total and image hash. If pilots differ, add a separately labelled common-driver control with fixed invocation counts, six warmups and twelve measurements. This host differs from the historical hosted AMD EPYC runner; results here cannot assign that historical run's cause or establish the raw-native budget.

  5. thomhurst commented on Nov 2, 2026

    @thomhurst
    OwnerAuthor

    The original generated driver source and Microsoft.Extensions.DependencyInjection DLL are byte-identical across baseline/candidate, while the containing Relayer/benchmark assemblies and SQL Server dependency closure differ. This does not establish identical execution.

    Predeclaring the supplemental fixed-count control now: the same per-case ABBA order and three fresh launches per block, 8,388,608 invocations, six warmups and twelve workload measurements. Compile the common original generated source once, changing only these Job.Run settings before Freeze; place that identical diagnostic driver in separate copies of the original dependency images. This is a newly compiled diagnostic experiment, not an original-driver replay. Retain and verify every other image unchanged. No production or detector change is justified by results so far.

  6. thomhurst commented on Nov 2, 2026

    @thomhurst
    OwnerAuthor

    Completed the controlled investigation in draft #325. Strict replay still reproduces both original changed-input throughput failures. All 562 original artifact files and the retained executable inventories verify. Two predeclared per-case ABBA experiments complete 48 fresh processes in total; every launch allocates exactly 128 B/op, and original/fixed image hashes verify unchanged apart from the explicitly replaced common diagnostic driver.

    The controls demonstrate execution variation on WSL/i7-12700K, including with fixed invocation counts. Frozen composed block means are 91.263 / 91.050 / 101.102 / 88.254 ns; fixed composed block means are 101.876 / 109.908 / 109.920 / 111.887 ns. The slower frozen candidate aggregate remains recorded. No repeatable production or detector defect is demonstrated. These experiments do not identify the historical AMD EPYC runner's cause, rule out change-dependent JIT/layout effects or prove the raw-native budgets. No thresholds, input-identity rules, production behavior or workflow reruns change.

    Independent evidence survives issue/PR cleanup in the unpublished draft release performance-evidence-320, requiring authenticated maintainer access. Both uploads were downloaded and SHA-256 verified: original f2d5a121afa3894a6dec6562d332e9cb8173289eb2c15b636e1d514369e712f0, controlled 1e7c5f8e1c6c8879dcb36061eb307f16f8b8a9a22ce6d7ff6a49c9c1317ea9b6. Archives retain reports/logs/manifests, frozen images/source overlays, all plans and launch results, common driver source/binaries, IL maps, local host/framework files and validation logs. Historical hosted framework binaries were not supplied.

    #325 documents strict report-only replay, the output-only input-manifest option and separate analysis of failing cases. npm installation/docs build, detector/retention suites, the Linux symlink cases and detector self-test pass. The PR remains a draft pending head-bound reviews; the Codex request targets 5a5d69874c6959427b2c17772cfb5ff417303c5a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2area: performancebugin-progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions