Skip to content

feat(db): make PostgreSQL sequences resync more robust #69385

feat(db): make PostgreSQL sequences resync more robust

feat(db): make PostgreSQL sequences resync more robust #69385

Triggered via pull request November 25, 2025 20:16
Status Failure
Total duration 6m 11s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
2m 50s
static-code-analysis
static-code-analysis-security
6m 7s
static-code-analysis-security
static-code-analysis-ocp
1m 41s
static-code-analysis-ocp
static-code-analysis-ncu
32s
static-code-analysis-ncu
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
static-code-analysis
Process completed with exit code 2.
RedundantCast: lib/private/DB/PgSqlTools.php#L326
lib/private/DB/PgSqlTools.php:326:70: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
LessSpecificReturnStatement: lib/private/DB/PgSqlTools.php#L219
lib/private/DB/PgSqlTools.php:219:10: LessSpecificReturnStatement: The type 'list<array<string, mixed>>' is more general than the declared return type 'array<int, array{column_name: string, seq_name?: string, seq_schema?: string, table_name: string, table_schema: string}>' for OC\DB\PgSqlTools::findSequenceOwner (see https://psalm.dev/129)
LessSpecificReturnStatement: lib/private/DB/PgSqlTools.php#L204
lib/private/DB/PgSqlTools.php:204:11: LessSpecificReturnStatement: The type 'non-empty-list<array<string, mixed>>' is more general than the declared return type 'array<int, array{column_name: string, seq_name?: string, seq_schema?: string, table_name: string, table_schema: string}>' for OC\DB\PgSqlTools::findSequenceOwner (see https://psalm.dev/129)
MoreSpecificReturnType: lib/private/DB/PgSqlTools.php#L162
lib/private/DB/PgSqlTools.php:162:13: MoreSpecificReturnType: The declared return type 'array<int, array{column_name: string, seq_name?: string, seq_schema?: string, table_name: string, table_schema: string}>' for OC\DB\PgSqlTools::findSequenceOwner is more specific than the inferred return type 'list<array<string, mixed>>' (see https://psalm.dev/070)
TaintedCallable: lib/private/ServerContainer.php#L89
lib/private/ServerContainer.php:89:17: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: lib/private/AppFramework/Utility/SimpleContainer.php#L129
lib/private/AppFramework/Utility/SimpleContainer.php:129:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
static-code-analysis-security
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest