Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: add Line in taskCheckResult (#4350)

rebelice74f84753242e
diff --git a/api/task_check_run.go b/api/task_check_run.go
index cbf441839b..ec42c121a2 100644
--- a/api/task_check_run.go
+++ b/api/task_check_run.go
@@ -124,6 +124,7 @@ type TaskCheckResult struct {
Status TaskCheckStatus `json:"status,omitempty"`
Title string `json:"title,omitempty"`
Content string `json:"content,omitempty"`
+ Line int `json:"line,omitempty"`
}
// TaskCheckRunResultPayload is the result payload of a task check run.
diff --git a/server/runner/taskcheck/statement_advisor_composite_executor.go b/server/runner/taskcheck/statement_advisor_composite_executor.go
index 10e345316b..f147f210e6 100644
--- a/server/runner/taskcheck/statement_advisor_composite_executor.go
+++ b/server/runner/taskcheck/statement_advisor_composite_executor.go
@@ -113,6 +113,7 @@ func (e *StatementAdvisorCompositeExecutor) Run(ctx context.Context, taskCheckRu
Code: advice.Code.Int(),
Title: advice.Title,
Content: advice.Content,
+ Line: advice.Line,
})
}
@@ -123,6 +124,7 @@ func (e *StatementAdvisorCompositeExecutor) Run(ctx context.Context, taskCheckRu
Code: common.Ok.Int(),
Title: "OK",
Content: "",
+ Line: 0,
})
}
diff --git a/tests/test-data/sql_review_mysql.yaml b/tests/test-data/sql_review_mysql.yaml
index c728d88020..96d31429ac 100644
--- a/tests/test-data/sql_review_mysql.yaml
+++ b/tests/test-data/sql_review_mysql.yaml
@@ -5,6 +5,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: false
- statement: CREATE TABLE user(id);
result:
@@ -13,6 +14,7 @@
status: ERROR
title: Syntax error
content: 'line 1 column 21 near ");" '
+ line: 0
run: false
- statement: CREATE TABLE userTable(id INT NOT NULL,name VARCHAR(255) CHARSET ascii,roomId INT,time_created TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT 'comment',time_updated TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT 'comment',content BLOB NOT NULL COMMENT 'comment',json_content JSON NOT NULL COMMENT 'comment',INDEX idx1(name),UNIQUE KEY uk1(id, name),FOREIGN KEY fk1(roomId) REFERENCES room(id),INDEX idx_userTable_content(content)) ENGINE = CSV COLLATE latin1_bin
result:
@@ -21,126 +23,151 @@
status: ERROR
title: engine.mysql.use-innodb
content: '"CREATE TABLE userTable(id INT NOT NULL,name VARCHAR(255) CHARSET ascii,roomId INT,time_created TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT ''comment'',time_updated TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT ''comment'',content BLOB NOT NULL COMMENT ''comment'',json_content JSON NOT NULL COMMENT ''comment'',INDEX idx1(name),UNIQUE KEY uk1(id, name),FOREIGN KEY fk1(roomId) REFERENCES room(id),INDEX idx_userTable_content(content)) ENGINE = CSV COLLATE latin1_bin" doesn''t use InnoDB engine'
+ line: 1
- namespace: bb.advisor
code: 301
status: WARN
title: naming.table
content: '`userTable` mismatches table naming convention, naming format should be "^[a-z]+(_[a-z]+)*$"'
+ line: 1
- namespace: bb.advisor
code: 302
status: WARN
title: naming.column
content: '`userTable`.`roomId` mismatches column naming convention, naming format should be "^[a-z]+(_[a-z]+)*$"'
+ line: 1
- namespace: bb.advisor
code: 303
status: WARN
title: naming.index.idx
content: Index in table `userTable` mismatches the naming convention, expect "^$|^idx_userTable_name$" but found `idx1`
+ line: 1
- namespace: bb.advisor
code: 304
status: WARN
title: naming.index.uk
content: Unique key in table `userTable` mismatches the naming convention, expect "^$|^uk_userTable_id_name$" but found `uk1`
+ line: 1
- namespace: bb.advisor
code: 305
status: WARN
title: naming.index.fk
content: Foreign key in table `userTable` mismatches the naming convention, expect "^$|^fk_userTable_roomId_room_id$" but found `fk1`
+ line: 1
- namespace: bb.advisor
code: 601
status: ERROR
title: table.require-pk
content: Table `userTable` requires PRIMARY KEY
+ line: 1
- namespace: bb.advisor
code: 602
status: ERROR
title: table.no-foreign-key
content: Foreign key is not allowed in the table `userTable`
+ line: 1
- namespace: bb.advisor
code: 605
status: WARN
title: table.comment
content: Table `userTable` requires comments
+ line: 1
- namespace: bb.advisor
code: 401
status: WARN
title: column.required
content: 'Table `userTable` requires columns: created_ts, creator_id, updated_ts, updater_id'
+ line: 1
- namespace: bb.advisor
code: 402
status: WARN
title: column.no-null
content: '`userTable`.`name` cannot have NULL value'
+ line: 1
- namespace: bb.advisor
code: 402
status: WARN
title: column.no-null
content: '`userTable`.`roomId` cannot have NULL value'
+ line: 1
- namespace: bb.advisor
code: 404
status: WARN
title: column.set-default-for-not-null
content: Column `userTable`.`id` is NOT NULL but doesn't have DEFAULT
+ line: 1
- namespace: bb.advisor
code: 408
status: WARN
title: column.comment
content: Column `userTable`.`id` requires comments
+ line: 1
- namespace: bb.advisor
code: 408
status: WARN
title: column.comment
content: Column `userTable`.`name` requires comments
+ line: 1
- namespace: bb.advisor
code: 408
status: WARN
title: column.comment
content: Column `userTable`.`roomId` requires comments
+ line: 1
- namespace: bb.advisor
code: 411
status: ERROR
title: column.type-disallow-list
content: Disallow column type JSON but column `userTable`.`json_content` is
+ line: 1
- namespace: bb.advisor
code: 414
status: WARN
title: column.disallow-set-charset
content: Disallow set column charset but "CREATE TABLE userTable(id INT NOT NULL,name VARCHAR(255) CHARSET ascii,roomId INT,time_created TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT 'comment',time_updated TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT 'comment',content BLOB NOT NULL COMMENT 'comment',json_content JSON NOT NULL COMMENT 'comment',INDEX idx1(name),UNIQUE KEY uk1(id, name),FOREIGN KEY fk1(roomId) REFERENCES room(id),INDEX idx_userTable_content(content)) ENGINE = CSV COLLATE latin1_bin" does
+ line: 1
- namespace: bb.advisor
code: 419
status: WARN
title: column.current-time-count-limit
content: Table `userTable` has 2 ON UPDATE CURRENT_TIMESTAMP() columns. The count greater than 1.
+ line: 1
- namespace: bb.advisor
code: 420
status: WARN
title: column.require-default
content: Column `userTable`.`id` doesn't have DEFAULT.
+ line: 1
- namespace: bb.advisor
code: 420
status: WARN
title: column.require-default
content: Column `userTable`.`name` doesn't have DEFAULT.
+ line: 1
- namespace: bb.advisor
code: 420
status: WARN
title: column.require-default
content: Column `userTable`.`roomId` doesn't have DEFAULT.
+ line: 1
- namespace: bb.advisor
code: 804
status: WARN
title: index.type-no-blob
content: Columns in index must not be BLOB but `userTable`.`content` is blob
+ line: 1
- namespace: bb.advisor
code: 1001
status: WARN
title: system.charset.allowlist
content: '"CREATE TABLE userTable(id INT NOT NULL,name VARCHAR(255) CHARSET ascii,roomId INT,time_created TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT ''comment'',time_updated TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT ''comment'',content BLOB NOT NULL COMMENT ''comment'',json_content JSON NOT NULL COMMENT ''comment'',INDEX idx1(name),UNIQUE KEY uk1(id, name),FOREIGN KEY fk1(roomId) REFERENCES room(id),INDEX idx_userTable_content(content)) ENGINE = CSV COLLATE latin1_bin" used disabled charset ''ascii'''
+ line: 1
- namespace: bb.advisor
code: 1201
status: WARN
title: system.collation.allowlist
content: '"CREATE TABLE userTable(id INT NOT NULL,name VARCHAR(255) CHARSET ascii,roomId INT,time_created TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT ''comment'',time_updated TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT ''comment'',content BLOB NOT NULL COMMENT ''comment'',json_content JSON NOT NULL COMMENT ''comment'',INDEX idx1(name),UNIQUE KEY uk1(id, name),FOREIGN KEY fk1(roomId) REFERENCES room(id),INDEX idx_userTable_content(content)) ENGINE = CSV COLLATE latin1_bin" used disabled collation ''latin1_bin'''
+ line: 1
run: false
- statement: CREATE TABLE t_auto(auto_id varchar(20) AUTO_INCREMENT PRIMARY KEY COMMENT 'COMMENT') auto_increment = 2 COMMENT 'comment'
result:
@@ -149,31 +176,37 @@
status: WARN
title: naming.column.auto-increment
content: '`t_auto`.`auto_id` mismatches auto_increment column naming convention, naming format should be "^id$"'
+ line: 1
- namespace: bb.advisor
code: 401
status: WARN
title: column.required
content: 'Table `t_auto` requires columns: created_ts, creator_id, id, updated_ts, updater_id'
+ line: 1
- namespace: bb.advisor
code: 410
status: ERROR
title: column.auto-increment-must-integer
content: Auto-increment column `t_auto`.`auto_id` requires integer type
+ line: 1
- namespace: bb.advisor
code: 416
status: WARN
title: column.auto-increment-initial-value
content: The initial auto-increment value in table `t_auto` is 2, which doesn't equal 20
+ line: 1
- namespace: bb.advisor
code: 417
status: WARN
title: column.auto-increment-must-unsigned
content: Auto-increment column `t_auto`.`auto_id` is not UNSIGNED type
+ line: 1
- namespace: bb.advisor
code: 803
status: WARN
title: index.pk-type-limit
content: Columns in primary key must be INT/BIGINT but `t_auto`.`auto_id` is varchar(20)
+ line: 1
run: false
- statement: ' DELETE FROM tech_book'
result:
@@ -182,16 +215,19 @@
status: ERROR
title: statement.where.require
content: '"DELETE FROM tech_book" requires WHERE clause'
+ line: 1
- namespace: bb.advisor
code: 209
status: WARN
title: statement.affected-row-limit
content: '"DELETE FROM tech_book" dry runs failed: Error 1146: Table ''testsqlreview.tech_book'' doesn''t exist'
+ line: 1
- namespace: bb.advisor
code: 208
status: ERROR
title: statement.dml-dry-run
content: '"DELETE FROM tech_book" dry runs failed: Error 1146: Table ''testsqlreview.tech_book'' doesn''t exist'
+ line: 1
run: false
- statement: DELETE FROM tech_book WHERE name like `%abc`
result:
@@ -200,16 +236,19 @@
status: ERROR
title: statement.where.no-leading-wildcard-like
content: '"DELETE FROM tech_book WHERE name like `%abc`" uses leading wildcard LIKE'
+ line: 1
- namespace: bb.advisor
code: 209
status: WARN
title: statement.affected-row-limit
content: '"DELETE FROM tech_book WHERE name like `%abc`" dry runs failed: Error 1146: Table ''testsqlreview.tech_book'' doesn''t exist'
+ line: 1
- namespace: bb.advisor
code: 208
status: ERROR
title: statement.dml-dry-run
content: '"DELETE FROM tech_book WHERE name like `%abc`" dry runs failed: Error 1146: Table ''testsqlreview.tech_book'' doesn''t exist'
+ line: 1
run: false
- statement: ' INSERT INTO t_copy SELECT * FROM t'
result:
@@ -218,26 +257,31 @@
status: ERROR
title: statement.select.no-select-all
content: '"INSERT INTO t_copy SELECT * FROM t" uses SELECT all'
+ line: 1
- namespace: bb.advisor
code: 202
status: ERROR
title: statement.where.require
content: '"INSERT INTO t_copy SELECT * FROM t" requires WHERE clause'
+ line: 1
- namespace: bb.advisor
code: 1101
status: WARN
title: statement.insert.row-limit
content: '"INSERT INTO t_copy SELECT * FROM t" dry runs failed: Error 1146: Table ''testsqlreview.t_copy'' doesn''t exist'
+ line: 1
- namespace: bb.advisor
code: 1107
status: WARN
title: statement.insert.must-specify-column
content: The INSERT statement must specify columns but "INSERT INTO t_copy SELECT * FROM t" does not
+ line: 1
- namespace: bb.advisor
code: 208
status: ERROR
title: statement.dml-dry-run
content: '"INSERT INTO t_copy SELECT * FROM t" dry runs failed: Error 1146: Table ''testsqlreview.t_copy'' doesn''t exist'
+ line: 1
run: false
- statement: ' INSERT INTO t VALUES (1, 1, now(), 1, now())'
result:
@@ -246,11 +290,13 @@
status: WARN
title: statement.insert.must-specify-column
content: The INSERT statement must specify columns but "INSERT INTO t VALUES (1, 1, now(), 1, now())" does not
+ line: 1
- namespace: bb.advisor
code: 208
status: ERROR
title: statement.dml-dry-run
content: '"INSERT INTO t VALUES (1, 1, now(), 1, now())" dry runs failed: Error 1146: Table ''testsqlreview.t'' doesn''t exist'
+ line: 1
run: false
- statement: DELETE FROM tech_book WHERE id = (SELECT max(id) FROM tech_book WHERE name = 'bytebase')
result:
@@ -259,11 +305,13 @@
status: WARN
title: statement.affected-row-limit
content: '"DELETE FROM tech_book WHERE id = (SELECT max(id) FROM tech_book WHERE name = ''bytebase'')" dry runs failed: Error 1146: Table ''testsqlreview.tech_book'' doesn''t exist'
+ line: 1
- namespace: bb.advisor
code: 208
status: ERROR
title: statement.dml-dry-run
content: '"DELETE FROM tech_book WHERE id = (SELECT max(id) FROM tech_book WHERE name = ''bytebase'')" dry runs failed: Error 1146: Table ''testsqlreview.tech_book'' doesn''t exist'
+ line: 1
run: false
- statement: COMMIT;
result:
@@ -272,6 +320,7 @@
status: ERROR
title: statement.disallow-commit
content: 'Commit is not allowed, related statement: "COMMIT;"'
+ line: 1
run: false
- statement: CREATE TABLE user(id INT PRIMARY KEY COMMENT 'comment',name VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'comment',room_id INT NOT NULL DEFAULT 0 COMMENT 'comment',creator_id INT NOT NULL DEFAULT 0 COMMENT 'comment',created_ts TIMESTAMP NOT NULL DEFAULT NOW() COMMENT 'comment',updater_id INT NOT NULL DEFAULT 0 COMMENT 'comment',updated_ts TIMESTAMP NOT NULL DEFAULT NOW() ON UPDATE NOW() COMMENT 'comment',INDEX idx_user_name(name),UNIQUE KEY uk_user_id_name(id, name)) ENGINE = INNODB COMMENT 'comment'
result:
@@ -280,6 +329,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: true
- statement: INSERT INTO user(id, name) values (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e')
result:
@@ -288,6 +338,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: true
- statement: DELETE FROM user WHERE id < 10
result:
@@ -296,6 +347,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: false
- statement: INSERT INTO user(id, name) values (6, 'f'), (7, 'g'), (8, 'h'), (9, 'i'), (10, 'j')
result:
@@ -304,6 +356,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: true
- statement: DELETE FROM user WHERE id <= 10
result:
@@ -312,6 +365,7 @@
status: WARN
title: statement.affected-row-limit
content: '"DELETE FROM user WHERE id <= 10" affected 10 rows. The count exceeds 5.'
+ line: 1
run: false
- statement: |-
INSERT INTO user(id, name) SELECT id, name FROM (SELECT 1 AS id, 'a' AS name WHERE 1=1 UNION ALL
@@ -340,6 +394,7 @@
SELECT 8 AS id, 'h' AS name WHERE 1=1 UNION ALL
SELECT 9 AS id, 'i' AS name WHERE 1=1 UNION ALL
SELECT 10 AS id, 'j' AS name WHERE 1=1) value_table WHERE 1=1" inserts 10 rows. The count exceeds 5.
+ line: 10
run: false
- statement: INSERT INTO user(id, name) SELECT id, name FROM user WHERE id=1 LIMIT 1
result:
@@ -348,6 +403,7 @@
status: WARN
title: statement.disallow-limit
content: LIMIT clause is forbidden in INSERT, UPDATE and DELETE statement, but "INSERT INTO user(id, name) SELECT id, name FROM user WHERE id=1 LIMIT 1" uses
+ line: 1
run: false
- statement: ' ALTER TABLE user PARTITION BY HASH(id) PARTITIONS 8;'
result:
@@ -356,36 +412,42 @@
status: WARN
title: table.disallow-partition
content: Table partition is forbidden, but "ALTER TABLE user PARTITION BY HASH(id) PARTITIONS 8;" creates
+ line: 1
run: false
- statement: |4-
- ALTER TABLE user CHANGE name name varchar(320) NOT NULL DEFAULT '' COMMENT 'COMMENT' FIRST;
- ALTER TABLE user ADD COLUMN c_column int NOT NULL DEFAULT 0 COMMENT 'comment';
+ ALTER TABLE user CHANGE name name varchar(320) NOT NULL DEFAULT '' COMMENT 'COMMENT' FIRST;
+ ALTER TABLE user ADD COLUMN c_column int NOT NULL DEFAULT 0 COMMENT 'comment';
result:
- namespace: bb.advisor
code: 207
status: WARN
title: statement.merge-alter-table
content: There are 2 statements to modify table `user`
+ line: 2
- namespace: bb.advisor
code: 403
status: WARN
title: column.disallow-change-type
content: '"ALTER TABLE user CHANGE name name varchar(320) NOT NULL DEFAULT '''' COMMENT ''COMMENT'' FIRST;" changes column type'
+ line: 1
- namespace: bb.advisor
code: 406
status: WARN
title: column.disallow-change
content: '"ALTER TABLE user CHANGE name name varchar(320) NOT NULL DEFAULT '''' COMMENT ''COMMENT'' FIRST;" contains CHANGE COLUMN statement'
+ line: 1
- namespace: bb.advisor
code: 407
status: WARN
title: column.disallow-changing-order
content: '"ALTER TABLE user CHANGE name name varchar(320) NOT NULL DEFAULT '''' COMMENT ''COMMENT'' FIRST;" changes column order'
+ line: 1
- namespace: bb.advisor
code: 111
status: WARN
title: schema.backward-compatibility
content: '"ALTER TABLE user CHANGE name name varchar(320) NOT NULL DEFAULT '''' COMMENT ''COMMENT'' FIRST;" may cause incompatibility with the existing data and code'
+ line: 1
run: false
- statement: ' DROP TABLE user;'
result:
@@ -394,9 +456,11 @@
status: ERROR
title: table.drop-naming-convention
content: '`user` mismatches drop table naming convention, naming format should be "_delete$"'
+ line: 1
- namespace: bb.advisor
code: 103
status: WARN
title: schema.backward-compatibility
content: '"DROP TABLE user;" may cause incompatibility with the existing data and code'
+ line: 1
run: false
diff --git a/tests/test-data/sql_review_pg.yaml b/tests/test-data/sql_review_pg.yaml
index 38286e70f2..1efde2fce4 100644
--- a/tests/test-data/sql_review_pg.yaml
+++ b/tests/test-data/sql_review_pg.yaml
@@ -16,6 +16,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: false
- statement: CREATE TABLE user(id);
result:
@@ -24,6 +25,7 @@
status: ERROR
title: Syntax error
content: syntax error at or near "user"
+ line: 0
run: false
- statement: |-
CREATE TABLE "userTable"(
@@ -39,26 +41,31 @@
status: WARN
title: naming.table
content: '"userTable" mismatches table naming convention, naming format should be "^[a-z]+(_[a-z]+)*$"'
+ line: 7
- namespace: bb.advisor
code: 302
status: WARN
title: naming.column
content: '"userTable"."roomId" mismatches column naming convention, naming format should be "^[a-z]+(_[a-z]+)*$"'
+ line: 4
- namespace: bb.advisor
code: 304
status: WARN
title: naming.index.uk
content: Unique key in table "userTable" mismatches the naming convention, expect "^$|^uk_userTable_id_name$" but found "uk1"
+ line: 5
- namespace: bb.advisor
code: 305
status: WARN
title: naming.index.fk
content: Foreign key in table "userTable" mismatches the naming convention, expect "^$|^fk_userTable_roomId_room_id$" but found "fk1"
+ line: 6
- namespace: bb.advisor
code: 601
status: ERROR
title: table.require-pk
content: 'Table "public"."userTable" requires PRIMARY KEY, related statement: "CREATE TABLE \"userTable\"(\n id INT,\n name VARCHAR(255),\n \"roomId\" INT,\n CONSTRAINT uk1 UNIQUE (id, name),\n CONSTRAINT fk1 FOREIGN KEY (\"roomId\") REFERENCES room(id)\n )"'
+ line: 7
- namespace: bb.advisor
code: 602
status: ERROR
@@ -71,26 +78,31 @@
CONSTRAINT uk1 UNIQUE (id, name),
CONSTRAINT fk1 FOREIGN KEY ("roomId") REFERENCES room(id)
)"
+ line: 7
- namespace: bb.advisor
code: 401
status: WARN
title: column.required
content: 'Table "userTable" requires columns: created_ts, creator_id, updated_ts, updater_id'
+ line: 7
- namespace: bb.advisor
code: 402
status: WARN
title: column.no-null
content: Column "id" in "public"."userTable" cannot have NULL value
+ line: 2
- namespace: bb.advisor
code: 402
status: WARN
title: column.no-null
content: Column "name" in "public"."userTable" cannot have NULL value
+ line: 3
- namespace: bb.advisor
code: 402
status: WARN
title: column.no-null
content: Column "roomId" in "public"."userTable" cannot have NULL value
+ line: 4
run: false
- statement: DELETE FROM t
result:
@@ -99,6 +111,7 @@
status: ERROR
title: statement.where.require
content: '"DELETE FROM t" requires WHERE clause'
+ line: 1
run: false
- statement: DELETE FROM t WHERE a like '%abc'
result:
@@ -107,6 +120,7 @@
status: ERROR
title: statement.where.no-leading-wildcard-like
content: '"DELETE FROM t WHERE a like ''%abc''" uses leading wildcard LIKE'
+ line: 1
run: false
- statement: DELETE FROM t WHERE a = (SELECT max(id) FROM "user" WHERE name = 'bytebase')
result:
@@ -115,6 +129,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: false
- statement: INSERT INTO t VALUES (1), (2)
result:
@@ -123,6 +138,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: false
- statement: |-
CREATE TABLE tech_book(
@@ -139,6 +155,7 @@
status: SUCCESS
title: OK
content: ""
+ line: 0
run: true
- statement: ALTER INDEX pk_tech_book_id RENAME TO pk1
result:
@@ -147,4 +164,5 @@
status: WARN
title: naming.index.pk
content: Primary key in table "tech_book" mismatches the naming convention, expect "^$|^pk_tech_book_id$" but found "pk1"
+ line: 1
run: false