Skip to content

build: use the commit date in UTC for the package version, client build id and image tag - #26348

Merged
antobinary merged 1 commit into
bigbluebutton:v4.1.x-developfrom
tibroc:build/commit-date-utc
Oct 30, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v4.1.x-developfrom
tibroc:build/commit-date-utc

Conversation

@tibroc

@tibroc tibroc commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

The commit date that the builds use as a version component is now taken in UTC instead of the
committer's time zone, in the two places that compute it, with the same command:

TZ=UTC0 git log -n1 --pretty=format:%cd --date=format-local:%Y%m%dT%H%M%S

The format stays the same (no Z), so package versions, the ?v= cache-busting values and the
About dialog look as before.

Closes Issue(s)

None

Motivation

Follow-up to #26267, where @antobinary pointed out that the date is the committer's local time: a
later commit can get an earlier date. On the last 400 first-parent commits of v4.1.x-develop that
happens 5 times in local time and 0 times in UTC. For the image tags that only breaks sorting; for
the packages it means a newer build can get a lower version than the build before, which apt does
not offer as an upgrade.

The switch is safe: the last 400 commits are all at -0300, -0400 or -0500, so UTC moves their dates
3 to 5 hours forward and the first UTC build is newer than every build before it. Only a commit from
a committer east of UTC could, once, get a date up to 2 hours before an earlier local-time build;
there is none in the last 400.

How to test

…ld id and image tag

The date was in the committer's time zone, so a later commit could get an
earlier date. That also made the package version (+<date>-git.<rev>) of a newer
build compare lower than the previous one.
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 4
  • v3.0.x-release
  • v3.0.x-develop
  • v4.0.x-release
  • v4.0.x-develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 18dd4d3e-6a15-4e1a-be04-c29c36426327

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@antobinary antobinary added this to the Release 4.1 milestone Oct 30, 2026
@antobinary
antobinary merged commit a1991b9 into bigbluebutton:v4.1.x-develop Oct 30, 2026
37 checks passed
antobinary added a commit to antobinary/bigbluebutton that referenced this pull request Nov 3, 2026
v4.1.x-develop gained bigbluebutton#26219, bigbluebutton#26267, bigbluebutton#26217, bigbluebutton#26248, bigbluebutton#26348 and three
Dependabot image bumps since 9fffe59. They merge cleanly; the merge
is here so that the two commits that follow can change
bigbluebutton-web/Dockerfile and build-all-images.yml as those files
now are on 4.1.
@tibroc
tibroc deleted the build/commit-date-utc branch November 26, 2026 10:25
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.

2 participants