Skip to content

PR-1327 followups: drop dead require, tighten percentile test, hoist expect_errors return, drop internal-abstraction spec - #1337

Merged
myronmarston merged 1 commit into
mainfrom
myron/PR-1327-followups
Aug 8, 2026
Merged

PR-1327 followups: drop dead require, tighten percentile test, hoist expect_errors return, drop internal-abstraction spec#1337
myronmarston merged 1 commit into
mainfrom
myron/PR-1327-followups

Conversation

@myronmarston

@myronmarston myronmarston commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

These are follow ups to #1327:

  • rm unused require "graphql" in query_adapter.rb (leftover from removed rescue)
  • percentile_of now brackets [floor,ceil] of nearest-rank instead of full [min,max]
  • move return response if expect_errors into the if-branch in 2 specs
  • delete function_adapter_spec.rb (tests internal abstraction, not public API); 100% coverage confirmed after removal

…expect_errors return, drop internal-abstraction spec

- rm unused `require "graphql"` in query_adapter.rb (leftover from removed rescue)
- percentile_of now brackets [floor,ceil] of nearest-rank instead of full [min,max]
- move `return response if expect_errors` into the if-branch in 2 specs
- delete function_adapter_spec.rb (tests internal abstraction, not public API);
  100% coverage confirmed after removal
@myronmarston myronmarston changed the title PR-1327 followups: drop dead require, tighten percentile test, hoist xpect_errors return, drop internal-abstraction spec PR-1327 followups: drop dead require, tighten percentile test, hoist expect_errors return, drop internal-abstraction spec Aug 8, 2026
@myronmarston
myronmarston enabled auto-merge (rebase) August 8, 2026 01:17
@myronmarston
myronmarston merged commit 3256b4c into main Aug 8, 2026
24 checks passed
@myronmarston
myronmarston deleted the myron/PR-1327-followups branch August 8, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants