Skip to content

Fix deploy-prod condition. Just make sure integration-tests ran. #14

Fix deploy-prod condition. Just make sure integration-tests ran.

Fix deploy-prod condition. Just make sure integration-tests ran. #14

Triggered via push November 20, 2023 14:40
Status Failure
Total duration 11h 24m 1s
Artifacts 3
Set Version
0s
Set Version
Build hgweb  /  publish-hgweb
36s
Build hgweb / publish-hgweb
build-hgweb  /  ...  /  deploy
build-hgweb / deploy-hgweb / deploy
Matrix: build-hgweb / deploy-hgweb / verify-published
Waiting for pending jobs
Deploy Staging  /  deploy
11s
Deploy Staging / deploy
Matrix: Deploy Staging / verify-published
Matrix: Integration tests / test
Deploy Production  /  deploy
12s
Deploy Production / deploy
Matrix: Deploy Production / verify-published
Fit to window
Zoom out
Zoom in

Deployment protection rules

Reviewers, timers, and other rules protecting deployments in this run
Event Environments Comment
hahn-kev
approved Nov 21, 2023
production

Annotations

1 error and 42 warnings
Integration tests / Test ubuntu-latest on staging.languagedepot.org
Process completed with exit code 1.
Integration tests / Test ubuntu-latest on staging.languagedepot.org
The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672
Integration tests / Test ubuntu-latest on staging.languagedepot.org
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexBoxApi/Auth/LexboxAuthAttribute.cs#L15
Nullability of reference types in type of parameter 'value' of 'void LexboxAuthAttribute.Policy.set' doesn't match implicitly implemented member 'void IAuthorizeData.Policy.set' (possibly because of nullability attributes).
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L44
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L45
Converting null literal or possible null value to non-nullable type.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L45
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<User, string?>' (possibly because of nullability attributes).
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L58
Argument of type 'Dictionary<string?, User>' cannot be used for parameter 'existingUsersByLogin' of type 'Dictionary<string, User>' in 'User? MySqlMigrationService.MigrateUser(RmUser rmUser, Dictionary<int, Guid> projectIdToGuid, DateTimeOffset now, Dictionary<string, User> existingUsersByEmail, Dictionary<string, User> existingUsersByLogin)' due to differences in the nullability of reference types.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexBoxApi/Services/HgService.cs#L195
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/FixFwData/Program.cs#L1
The variable 'doNothing' is assigned but its value is never used
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/ProjectUsers.cs#L8
Non-nullable property 'User' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/ProjectUsers.cs#L9
Non-nullable property 'Project' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L72
Non-nullable property 'Node' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L73
Non-nullable property 'Date' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L74
Non-nullable property 'Desc' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L76
Non-nullable property 'Branch' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L80
Non-nullable property 'Tags' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L81
Non-nullable property 'User' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test ubuntu-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L82
Non-nullable property 'Phase' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/FixFwData/Program.cs#L1
The variable 'doNothing' is assigned but its value is never used
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L72
Non-nullable property 'Node' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L73
Non-nullable property 'Date' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L74
Non-nullable property 'Desc' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L76
Non-nullable property 'Branch' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L80
Non-nullable property 'Tags' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L81
Non-nullable property 'User' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L82
Non-nullable property 'Phase' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/Project.cs#L83
Non-nullable property 'Parents' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexCore/Entities/ProjectUsers.cs#L8
Non-nullable property 'User' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integration tests / Test windows-latest on staging.languagedepot.org
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexBoxApi/Auth/LexboxAuthAttribute.cs#L15
Nullability of reference types in type of parameter 'value' of 'void LexboxAuthAttribute.Policy.set' doesn't match implicitly implemented member 'void IAuthorizeData.Policy.set' (possibly because of nullability attributes).
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L44
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L45
Converting null literal or possible null value to non-nullable type.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L45
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<User, string?>' (possibly because of nullability attributes).
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexBoxApi/Services/MySqlMigrationService.cs#L58
Argument of type 'Dictionary<string?, User>' cannot be used for parameter 'existingUsersByLogin' of type 'Dictionary<string, User>' in 'User? MySqlMigrationService.MigrateUser(RmUser rmUser, Dictionary<int, Guid> projectIdToGuid, DateTimeOffset now, Dictionary<string, User> existingUsersByEmail, Dictionary<string, User> existingUsersByLogin)' due to differences in the nullability of reference types.
Integration tests / Test windows-latest on staging.languagedepot.org: backend/LexBoxApi/Services/HgService.cs#L195
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Artifacts

Produced during runtime
Name Size
dotnet-unit-test-results Expired
12 KB
playwright-traces-ubuntu-latest Expired
28.2 MB
playwright-traces-windows-latest Expired
28.6 MB