Fix master branch breakage #103

Merged
brent.edwards merged 2 commits from test/fix-failing-tests into master 2026-02-18 16:01:51 +00:00
Member
No description provided.
CoreRasurae added 2 commits 2026-02-18 11:52:28 +00:00
test(bench): fix session commits, duplicate type guard, ULID uniqueness
CI / lint (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 18s
CI / security (pull_request) Successful in 38s
CI / typecheck (pull_request) Successful in 41s
CI / build (pull_request) Successful in 18s
CI / integration_tests (pull_request) Successful in 4m5s
CI / unit_tests (pull_request) Successful in 18m23s
CI / docker (pull_request) Successful in 1m4s
CI / coverage (pull_request) Successful in 2h17m56s
69c88d301a
CoreRasurae requested review from brent.edwards 2026-02-18 11:52:34 +00:00
brent.edwards merged commit 257c9d6503 into master 2026-02-18 16:01:51 +00:00
brent.edwards deleted branch test/fix-failing-tests 2026-02-18 16:01:51 +00:00
freemo added this to the v3.0.0 milestone 2026-02-23 17:25:51 +00:00
Owner

Implementation Notes — Unit Test and Benchmark Failures After Master Merge

2026-02-17: Bugfix - Unit Test and Benchmark Failures After Master Merge [Brent]

  • Unit test failure — Session mismatch in project repository steps. The NamespacedProjectRepository creates a new SQLAlchemy session per method call. Fix: Changed session factory to always return the same session instance.
  • Benchmark failures — 5 distinct issues across 7 files: missing parameterized setup params, renamed PlanPhase.APPLIED -> APPLY, per-iteration plan creation, batch counters for unique IDs across ASV iterations, simplified action reuse.

(Migrated from docs/implementation-notes.md)

## Implementation Notes — Unit Test and Benchmark Failures After Master Merge **2026-02-17**: Bugfix - Unit Test and Benchmark Failures After Master Merge [Brent] - **Unit test failure** — Session mismatch in project repository steps. The `NamespacedProjectRepository` creates a new SQLAlchemy session per method call. Fix: Changed session factory to always return the same session instance. - **Benchmark failures** — 5 distinct issues across 7 files: missing parameterized setup params, renamed `PlanPhase.APPLIED` -> `APPLY`, per-iteration plan creation, batch counters for unique IDs across ASV iterations, simplified action reuse. *(Migrated from `docs/implementation-notes.md`)*
freemo added the
State
Completed
label 2026-03-04 00:59:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
State
Completed
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#103