Rebasely Beta: data may be purged

justintsus-experiment Public

Text · 164 lines · 9.5 KiB · at 8e57616

tsus-web: 7 file(s), unchanged▶ dates: absolute  ✔ a bare day is that UTC day, both ends exact (2.139209ms)  ✔ > a day starts the next day; >= a day includes the day (0.76025ms)  ✔ < a day ends before it; <= a day includes all of it (0.338209ms)  ✔ a range includes both days whole (0.45375ms)  ✔ open-ended ranges with * (0.276542ms)  ✔ a leap day exists in 2024 (0.202208ms)  ✔ two date terms are ANDed (0.178083ms)  ✔ pulls filter on created_at and updated_at too (0.334083ms)✔ dates: absolute (5.320209ms)▶ dates: relative ages  ✔ <7d: younger than 7 days (exactly 7 days old is not); <=7d: at most 7 days old (0.30175ms)  ✔ >7d: older than 7 days; >=7d: at least 7 days old (0.22125ms)  ✔ 1w and 168h are 7d (0.204959ms)  ✔ hours: <2h and <1h (exactly an hour old is not younger than 1h) (0.12975ms)  ✔ relative dates use ctx.now, not the clock (0.152ms)  ✔ relative and absolute on created: together (0.096208ms)✔ dates: relative ages (1.253416ms)▶ dates: validation  ✔ impossible or malformed days are bad_date (0.459042ms)  ✔ operators: = is not one, and an operator needs a date (0.556792ms)  ✔ ranges: reversed, *..*, missing sides and relative sides are bad_date (0.16275ms)  ✔ relative values: an operator is required, N is 1 to 9999, units are h, d, w (0.21125ms)✔ dates: validation (1.481167ms)▶ parse: basics  ✔ the empty input and whitespace-only input are valid, empty queries (0.746375ms)  ✔ every supported qualifier parses for issues (1.531833ms)  ✔ every supported qualifier parses for pulls (0.515541ms)  ✔ parseQuery never throws on odd strings (0.471458ms)✔ parse: basics (3.842375ms)▶ parse: kinds of terms  ✔ text that is not a qualifier stays free text: 12:30, a1:b, :x (0.157667ms)  ✔ #n with 1 to 9 digits and no leading zero is a number; anything else is text (0.08325ms)  ✔ a lone - is the free-text word - (0.081833ms)  ✔ a quoted qualifier is a phrase, not a qualifier (0.101ms)  ✔ OR is a word, not an operator (0.118292ms)  ✔ qualifier keys are case-insensitive (0.132208ms)  ✔ negation applies to qualifiers and to free text (0.115167ms)✔ parse: kinds of terms (0.986917ms)▶ parse: quotes  ✔ a qualifier takes a quoted value (0.190542ms)  ✔ \" and \\ are escapes inside quotes; another backslash stays (0.085792ms)  ✔ an unterminated quote is one error from the term to the end, and parsing stops (0.549834ms)  ✔ an unterminated qualifier quote spans the whole term (0.114709ms)  ✔ text right after a closing quote is unexpected_quote (0.078375ms)  ✔ a quote inside bare text is unexpected_quote, spanning to the next whitespace (0.07725ms)  ✔ an empty phrase is empty_value: "" and "   " (0.065792ms)✔ parse: quotes (1.290041ms)▶ parse: errors  ✔ unknown qualifiers are errors, assignee: included (0.6205ms)  ✔ qualifiers of the other target are unsupported_qualifier (0.07375ms)  ✔ an unknown key is reported before an empty value, and unsupported before empty (0.039458ms)  ✔ empty values: label:, label:"", author:, is: (0.104083ms)  ✔ negation is not allowed on no:, sort:, created:, updated: and #n (an empty value is reported first) (0.0825ms)  ✔ negation_not_allowed comes before bad_value (0.029292ms)  ✔ is: values depend on the target (0.121542ms)  ✔ sort: values depend on the target (0.103583ms)  ✔ labels follow the label rules: characters and 32 at most (0.118708ms)  ✔ user references: @me, a UUID or an agent slug (0.089625ms)  ✔ a second sort: with another value is a conflict on the second term (0.080959ms)  ✔ error spans cover the whole term, the - included (0.079958ms)  ✔ spans are UTF-16 offsets: an emoji before the term counts two (0.045042ms)  ✔ every invalid term gets one error, in input order (0.044625ms)  ✔ a label value cannot carry SQL: it is a bad_value (0.034291ms)✔ parse: errors (1.802417ms)▶ parse: unicode and whitespace  ✔ no-break and ideographic spaces separate terms (0.062584ms)  ✔ unicode free text and emoji are kept exactly (0.037083ms)✔ parse: unicode and whitespace (0.132459ms)▶ parse: limits  ✔ 1024 code units are allowed (0.082959ms)  ✔ 1025 code units are too_long, alone, spanning the input (0.047666ms)  ✔ an emoji counts as two code units against the limit (0.067666ms)  ✔ a very long input is rejected quickly (0.686959ms)  ✔ 32 terms are allowed; the 33rd is too_many_terms from its start to the end (0.163292ms)  ✔ terms are counted as written: 33 copies of one term are too many, invalid ones included (0.070792ms)  ✔ many terms of every kind parse fast (9.556792ms)✔ parse: limits (10.814792ms)▶ scope  ✔ no issues query returns a row of another repository or organization (5.055209ms)  ✔ no pulls query returns a row of another repository or organization (2.41325ms)  ✔ text that only the other repositories' rows match finds nothing (0.622208ms)  ✔ #1 is this repository's #1 (0.147625ms)  ✔ the scope follows ctx: another repository of the org sees its own rows only (0.124084ms)  ✔ the organization is part of the scope: the right repo id under another org matches nothing (0.100209ms)  ✔ the empty query is still scoped, with repoId and orgId as params (0.079917ms)  ✔ repo:, org: and is:public cannot widen the scope: they are errors (0.352167ms)  ✔ an agent slug resolves in the repository's organization only (0.345333ms)  ✔ generated inputs: whatever parses stays in scope and round-trips (40.440209ms)✔ scope (50.502875ms)▶ issues: state, labels, order  ✔ the empty query lists every issue in scope, newest created first (1.550625ms)  ✔ is:open, is:closed and -is:open (1.334542ms)  ✔ label:bug, and label:bug -label:wontfix (0.555041ms)  ✔ label:"needs review" matches the whole label, and label:BUG equals label:bug (0.543041ms)  ✔ no:label (0.223458ms)  ✔ sort:comments-desc and -asc, ties broken by number in the same direction (0.251292ms)  ✔ sort:created-asc, sort:updated-asc and sort:updated-desc (0.202459ms)  ✔ #n picks one issue; two numbers match nothing; a missing number matches nothing (0.249916ms)✔ issues: state, labels, order (5.575792ms)▶ issues: people  ✔ author:@me is the viewer (0.252083ms)  ✔ author:@me with no viewer matches nothing; -author:@me then matches everything (0.22525ms)  ✔ author:<uuid>, in any case (0.286459ms)  ✔ author:<slug> is the agent of the repository's organization only (0.215792ms)✔ issues: people (1.136458ms)▶ issues: free text  ✔ a word matches the title or the body, ASCII case-insensitively (0.268875ms)  ✔ a phrase is one substring; bare words are separate terms (0.230084ms)  ✔ OR is an ordinary word (0.1775ms)  ✔ % and _ are matched literally (0.14ms)  ✔ a backslash is matched literally (0.252167ms)  ✔ a double quote inside a phrase matches (0.243375ms)  ✔ -word excludes issues whose title or body has it (0.159042ms)  ✔ text and qualifiers combine (0.294875ms)✔ issues: free text (2.3325ms)▶ pulls  ✔ the empty query lists every pull request in scope, newest created first (0.138375ms)  ✔ is:open includes drafts; is:closed includes merged (as on GitHub) (0.19175ms)  ✔ is:merged and -is:merged (0.150042ms)  ✔ is:draft in any state, -is:draft, and is:open -is:draft (0.162208ms)  ✔ author: matches the author or the agent's owner (0.288792ms)  ✔ -author: keeps pull requests whose owner_id is NULL (0.121875ms)  ✔ review-requested: looks at this repository's requests only (0.261875ms)  ✔ review-requested:@me with no viewer matches nothing; its negation matches everything (0.112417ms)  ✔ free text matches the title, with % and _ literal (0.159375ms)  ✔ sort:updated-desc and #n (0.092041ms)✔ pulls (1.804ms)▶ serialize: canonical form  ✔ normalization, quoting and duplicates follow the canonical rules (2.56325ms)  ✔ pull request qualifiers serialize the same way (0.206541ms)  ✔ the canonical form of the empty query is the empty string (0.083084ms)✔ serialize: canonical form (3.396042ms)▶ serialize: round trips  ✔ serialize is idempotent: the canonical form parses back to itself (0.99025ms)  ✔ the canonical form evaluates to the same SQL and params as the input (2.450583ms)  ✔ pulls: idempotent and the same SQL (0.544417ms)  ✔ the canonical form survives a URL's query string (1.02475ms)  ✔ terms keep their order (the canonical form is not sorted) (0.139167ms)  ✔ differently written equal terms collapse into the first (0.094417ms)✔ serialize: round trips (5.483041ms)▶ sql: injection attempts are bound, never interpolated  ✔ free text and phrases carrying SQL (3.669083ms)  ✔ qualifier values and numbers carrying markers (1.411416ms)  ✔ pull request queries carrying SQL (0.511458ms)✔ sql: injection attempts are bound, never interpolated (6.181959ms)▶ sql: shape  ✔ no date or number from the input appears in the SQL text (0.943375ms)  ✔ ctx values are bound too, even when they contain quotes (0.869375ms)  ✔ where keeps its meaning when the caller ANDs more conditions after it (0.79025ms)  ✔ every query of a mixed corpus has as many placeholders as params, and a fixed orderBy (1.262042ms)  ✔ toSql does not throw for odd but valid queries (0.730834ms)  ✔ a ? or :name in the text is a value, not a placeholder (0.2115ms)✔ sql: shape (5.105209ms)ℹ tests 118ℹ suites 18ℹ pass 118ℹ fail 0ℹ cancelled 0ℹ skipped 0ℹ todo 0ℹ duration_ms 664.461042hidden tests: pass 118 / total 118 (worktree <rebasely checkout>/.claude/worktrees/agent-a66151373793240e4)