Skip to content

GH4656: Change GitLab CI ID properties from int to long#4748

Merged
devlead merged 1 commit intocake-build:developfrom
devlead:feature/gh-4656
Feb 25, 2026
Merged

GH4656: Change GitLab CI ID properties from int to long#4748
devlead merged 1 commit intocake-build:developfrom
devlead:feature/gh-4656

Conversation

@devlead
Copy link
Copy Markdown
Member

@devlead devlead commented Feb 25, 2026

- GitLab CI IDs (e.g. CI_PIPELINE_ID, CI_JOB_ID) can exceed int max on gitlab.com
- Use long and GetEnvironmentLong for Id, PipelineId, PipelineIId, UserId in GitLabCIBuildInfo
- Use long and GetEnvironmentLong for Id in GitLabCIProjectInfo and GitLabCIRunnerInfo
- Use long and GetEnvironmentLong for Id and IId in GitLabCIPullRequestInfo
- Add GetEnvironmentLong(string) and GetEnvironmentLong(string, string) to GitLabCIInfo
- fixes cake-build#4656
@devlead devlead merged commit 4381736 into cake-build:develop Feb 25, 2026
16 of 17 checks passed
This was referenced Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gitlab CI_PIPELINE_ID has exceeded the int limits on gitlab.com and the variable should be changed to a long

1 participant