Skip to content

refactor(test): move queue-2.test.ts's Batch A fields to manifest injection - #6531

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

refactor(test): move queue-2.test.ts's Batch A fields to manifest injection#6531
JSONbored merged 1 commit into
mainfrom
refactor/batch-a-queue2-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/regateSweepOrderMode off DB-backed `upsertRepositorySettings()` test fixture calls onto `upsertRepoFocusManifest()` manifest injection, in `test/unit/queue-2.test.ts` (69 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 in this file that #6493's root-cause fix made obsolete.

Scope

  • Test-only change, single file
  • No production code changed

Validation

  • `npx vitest run test/unit/queue-2.test.ts` -- 117/117 passed

…ection

Moves commentMode/checkRunMode/publicSurface/regateSweepOrderMode off
DB-backed upsertRepositorySettings() fixture calls onto
upsertRepoFocusManifest() manifest injection (69 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 (107c963).
⚠️ Report is 23 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6531      +/-   ##
==========================================
- Coverage   95.56%   95.56%   -0.01%     
==========================================
  Files         589      589              
  Lines       47121    47121              
  Branches    14989    14989              
==========================================
- Hits        45032    45031       -1     
  Misses       1297     1297              
- Partials      792      793       +1     
Flag Coverage Δ
shard-1 43.89% <ø> (-0.18%) ⬇️
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.
see 1 file with indirect coverage changes

@JSONbored JSONbored self-assigned this Jul 16, 2026
@JSONbored
JSONbored merged commit ee5a00f into main Jul 16, 2026
16 checks passed
@JSONbored
JSONbored deleted the refactor/batch-a-queue2-manifest-migration branch July 16, 2026 12:16
@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