Skip to content

fix(oauth2): mark device session as rejected when device flow consent is denied #2947

fix(oauth2): mark device session as rejected when device flow consent is denied

fix(oauth2): mark device session as rejected when device flow consent is denied #2947

Triggered via pull request August 20, 2026 20:48
Status Failure
Total duration 3m 11s
Artifacts

ci.yaml

on: pull_request
Run tests and lints
2m 15s
Run tests and lints
Matrix: Run end-to-end tests
Run OIDC conformity tests
2m 16s
Run OIDC conformity tests
Run HSM tests
3m 7s
Run HSM tests
Build CLI docs
0s
Build CLI docs
Generate release
0s
Generate release
Draft newsletter
0s
Draft newsletter
Pending approval Slack notification
0s
Pending approval Slack notification
Send newsletter
0s
Send newsletter
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 11 warnings
Run end-to-end tests (cockroach)
Process completed with exit code 1.
Run end-to-end tests (cockroach): oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (postgres, --jwt)
The strategy configuration was canceled because "test-e2e.cockroach" failed
Run end-to-end tests (postgres, --jwt)
Process completed with exit code 1.
Run end-to-end tests (postgres, --jwt): oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (memory, --jwt)
The strategy configuration was canceled because "test-e2e.cockroach" failed
Run end-to-end tests (memory, --jwt)
The operation was canceled.
Run end-to-end tests (memory, --jwt): oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (memory)
The strategy configuration was canceled because "test-e2e.cockroach" failed
Run end-to-end tests (memory)
The operation was canceled.
Run end-to-end tests (memory): oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (cockroach, --jwt)
The strategy configuration was canceled because "test-e2e.cockroach" failed
Run end-to-end tests (cockroach, --jwt)
The operation was canceled.
Run end-to-end tests (cockroach, --jwt): oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (postgres)
The strategy configuration was canceled because "test-e2e.cockroach" failed
Run end-to-end tests (postgres)
The operation was canceled.
Run end-to-end tests (postgres): oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (mysql)
The strategy configuration was canceled because "test-e2e.cockroach" failed
Run end-to-end tests (mysql)
The operation was canceled.
Run end-to-end tests (mysql): oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run tests and lints
issues found
Run tests and lints: oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)) (typecheck)
Run tests and lints: consent/test/manager_test_helpers.go#L23
could not import github.com/ory/hydra/v2/oauth2 (-: # github.com/ory/hydra/v2/oauth2
Run OIDC conformity tests
Process completed with exit code 1.
Run OIDC conformity tests
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run OIDC conformity tests
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (mysql, --jwt)
The strategy configuration was canceled because "test-e2e.cockroach" failed
Run end-to-end tests (mysql, --jwt)
The operation was canceled.
Run HSM tests
Process completed with exit code 1.
Run HSM tests: oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run HSM tests: oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run HSM tests: oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run HSM tests: oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run HSM tests: oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run HSM tests: oauth2/handler.go#L775
f.DeviceCodeRequestID.Valid undefined (type sqlxx.NullString has no field or method Valid)
Run end-to-end tests (cockroach)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run end-to-end tests (postgres, --jwt)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run end-to-end tests (memory, --jwt)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run end-to-end tests (memory)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run end-to-end tests (cockroach, --jwt)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run end-to-end tests (postgres)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run end-to-end tests (mysql)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run tests and lints
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run OIDC conformity tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run end-to-end tests (mysql, --jwt)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run HSM tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/