Skip to content

refactor(test): move queue-3/queue-lifecycle-guards Batch A fields to manifest injection - #6534

Merged
JSONbored merged 1 commit into
mainfrom
refactor/batch-a-queue3-lifecycle-manifest-migration
Jul 16, 2026
Merged

refactor(test): move queue-3/queue-lifecycle-guards Batch A fields to manifest injection#6534
JSONbored merged 1 commit into
mainfrom
refactor/batch-a-queue3-lifecycle-manifest-migration

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

Part of the Batch A config-as-code migration (#6442, epic #6440): moves commentMode/checkRunMode/publicSurface off DB-backed `upsertRepositorySettings()` test fixture calls onto `upsertRepoFocusManifest()` manifest injection in `test/unit/queue-3.test.ts` (46 call sites) and `test/unit/queue-lifecycle-guards.test.ts` (9 call sites). `resolveEffectiveSettings` already overlays manifest settings over DB settings unconditionally, so this is a pure plumbing move -- identical resolved test behavior, verified per-test.

Also removes now-redundant `LOOPOVER_DRIFT_ISSUE_REPO` overrides that #6493's root-cause fix made obsolete.

Scope

  • Test-only change, two files
  • No production code changed

Validation

  • `npx vitest run test/unit/queue-3.test.ts test/unit/queue-lifecycle-guards.test.ts` -- 341/341 passed

… manifest injection

Moves commentMode/checkRunMode/publicSurface off DB-backed
upsertRepositorySettings() fixture calls onto upsertRepoFocusManifest()
manifest injection in test/unit/queue-3.test.ts (46 call sites) and
test/unit/queue-lifecycle-guards.test.ts (9 call sites) -- a pure plumbing
move with identical resolved test behavior, ahead of these fields moving
off repository_settings entirely. Also removes now-redundant
LOOPOVER_DRIFT_ISSUE_REPO overrides that #6493 made obsolete.

Part of #6440, part of #6442
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.56%. Comparing base (c76ece3) to head (026386f).
⚠️ Report is 23 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6534   +/-   ##
=======================================
  Coverage   95.56%   95.56%           
=======================================
  Files         589      589           
  Lines       47121    47121           
  Branches    14989    14989           
=======================================
  Hits        45032    45032           
  Misses       1297     1297           
  Partials      792      792           
Flag Coverage Δ
shard-1 43.89% <ø> (-0.19%) ⬇️
shard-2 37.10% <ø> (+0.39%) ⬆️
shard-3 32.31% <ø> (-0.04%) ⬇️
shard-4 34.41% <ø> (-0.83%) ⬇️
shard-5 31.40% <ø> (+0.42%) ⬆️
shard-6 45.66% <ø> (+0.28%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@JSONbored JSONbored self-assigned this Jul 16, 2026
@JSONbored
JSONbored merged commit aab18e9 into main Jul 16, 2026
16 checks passed
@JSONbored
JSONbored deleted the refactor/batch-a-queue3-lifecycle-manifest-migration branch July 16, 2026 12:17
@loopover-orb loopover-orb Bot added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant