Page MenuHomePhabricator

TLepage-WMF (Thibaut Le Page)
Staff Software Engineer @Tools Platform

Today

  • No visible events.

Tomorrow

  • No visible events.

Wednesday

  • No visible events.

User Details

User Since
Jul 1 2026, 4:39 PM (5 w, 4 d)
Availability
Available
IRC Nick
thilp
LDAP User
Thibaut Le Page
MediaWiki User
TLepage-WMF [ Global Accounts ]

Recent Activity

Wed, Aug 5

TLepage-WMF added a comment to T432969: [loki,alloy,logs-api] reconfigure the labels and add metadata.

Update: I am reconsidering the idea of doing the Alloy schema change all at once along with two logs-api deployments, because that requires adding non-trivial stream-reconciliation code to logs-api, especially in the case of follow=True (tailing). From the point of view of (even temporary) code complexity, it is instead much simpler to:

  1. Update Alloy’s schema to label all new log entries with _both_ job (as today) and source (desired state).
  2. Do not change logs-api, which continues serving logs based on the job label. Wait 14 days (Loki’s retention window).
  3. Update logs-api to only serve logs based on the new source label and job_name metadata. This can be a one-line change.
  4. (Eventually) update again Alloy’s schema to drop the now-unused job label.
Wed, Aug 5, 5:08 PM · OKR-Work, Toolforge, tools-platform-team

Tue, Aug 4

TLepage-WMF added a comment to T432969: [loki,alloy,logs-api] reconfigure the labels and add metadata.

Proposed checklist:

  • With our new approach of having a single label (source = run-logs) for all logs (still split by tool tenant), Loki will scan all run-logs of that tool over the requested time range to filter by job_name. This allows for a very chatty job to affect log retrieval latency for all other jobs of that tool. Confirm whether we don’t want to keep job_name as a label.
  • Notify users that they may observe duplicated logs (on pod restart, Alloy will re-read log files from their beginning). After the Alloy changes described below are deployed, Loki will not deduplicate these already-ingested logs because they will have different labels and metadata.
  • Set allow_structured_metadata: true (docs) explicitly in loki/common.yaml. That setting is true by default in our version of Loki, but it doesn’t hurt to be explicit given the layers of indirection (Helm). Deploy to production.
  • Update the Alloy config as below.
  • Test in lima-kilo: locally deploy the updated Alloy config, and run queries against the Loki API from a kind pod.
  • In logs-api, duplicate Loki queries: keep the current job-selector query, and concurrently add the equivalent query with selector source = run-logs and metadata filters. Deploy logs-api to production.
  • Deploy the Alloy changes to production.
  • Keep the logs-api backward-compatibility code (duplicated queries) for at least 14 days (Loki’s log retention window).
  • Remove the query duplication from logs-api, deploy to production.
Tue, Aug 4, 3:34 PM · OKR-Work, Toolforge, tools-platform-team
TLepage-WMF closed T432832: [jobs-api] replace class mocks with magicmocks as Resolved.

Thank you for your contribution @Mahveotm!

Tue, Aug 4, 10:27 AM · Patch-For-Review, Toolforge, tools-platform-team

Fri, Jul 31

TLepage-WMF closed T419863: [logs-api] Using --latest N gives the first N lines since the last hour, not the last as Resolved.

Fixed via T428253.

Fri, Jul 31, 12:37 PM · tools-platform-team, Toolforge
TLepage-WMF added a comment to T428253: [logs-cli] `since` + `until` limited by `last`.

@DamianZaremba thank you for reporting this, please let us know if you notice anything wrong! Changelog updated as well.

Fri, Jul 31, 12:36 PM · Patch-For-Review, tools-platform-team, Toolforge
TLepage-WMF closed T428253: [logs-cli] `since` + `until` limited by `last` as Resolved.

All MRs merged, and verified that toolforge jobs logs is working as expected on toolforge.org and returning more than 500 entries.

Fri, Jul 31, 12:33 PM · Patch-For-Review, tools-platform-team, Toolforge

Tue, Jul 28

TLepage-WMF changed the status of T432969: [loki,alloy,logs-api] reconfigure the labels and add metadata, a subtask of T432565: [logs-api,loki] Implement a system-level logging endpoint (write), from Open to In Progress.
Tue, Jul 28, 1:49 PM · User-dcaro, OKR-Work, Toolforge, tools-platform-team
TLepage-WMF changed the status of T432969: [loki,alloy,logs-api] reconfigure the labels and add metadata from Open to In Progress.
Tue, Jul 28, 1:49 PM · OKR-Work, Toolforge, tools-platform-team
TLepage-WMF moved T428253: [logs-cli] `since` + `until` limited by `last` from In progress to In review on the tools-platform-team board.
Tue, Jul 28, 1:05 PM · Patch-For-Review, tools-platform-team, Toolforge

Tue, Jul 14

TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Tue, Jul 14, 10:07 AM · tools-platform-team

Mon, Jul 13

TLepage-WMF claimed T428253: [logs-cli] `since` + `until` limited by `last`.
Mon, Jul 13, 2:47 PM · Patch-For-Review, tools-platform-team, Toolforge

Jul 9 2026

TLepage-WMF claimed T431727: [jobs-api] Centralize test env config in pyproject.toml.
Jul 9 2026, 3:00 PM · Toolforge, tools-platform-team
TLepage-WMF created T431727: [jobs-api] Centralize test env config in pyproject.toml.
Jul 9 2026, 3:00 PM · Toolforge, tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 9 2026, 12:39 PM · tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 9 2026, 12:10 PM · tools-platform-team

Jul 8 2026

TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 8 2026, 9:18 AM · tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 8 2026, 9:17 AM · tools-platform-team
TLepage-WMF closed T430872: Account recovery help needed for Developer account TLepage-WMF as Resolved.

Thank you, I have regained access to my SUL account!

Jul 8 2026, 9:15 AM · Trust-and-Safety
TLepage-WMF closed T430872: Account recovery help needed for Developer account TLepage-WMF, a subtask of T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform, as Resolved.
Jul 8 2026, 9:15 AM · tools-platform-team

Jul 7 2026

TLepage-WMF closed T431305: [jobs-api] Replace black with ruff as Resolved.
Jul 7 2026, 4:03 PM · Toolforge, tools-platform-team

Jul 6 2026

TLepage-WMF claimed T431305: [jobs-api] Replace black with ruff.
Jul 6 2026, 2:09 PM · Toolforge, tools-platform-team
TLepage-WMF created T431305: [jobs-api] Replace black with ruff.
Jul 6 2026, 2:09 PM · Toolforge, tools-platform-team

Jul 3 2026

TLepage-WMF added a comment to T430550: [jobs-api] flaky unit test test_get_one_off_job_status.

I believe this is caused by calling datetime.now on two separate occasions (1, 2), computing the difference at the precision of a second, and asserting it should always be 0. Computers are fast, but we’re bound to have the same encoding 2026-06-29T14:48:34Z for the first "now" sometimes mean …34.002 and sometimes …34.997. When it’s the latter, the second "now" is likely to fall on something like …35.001 and _get_duration will return 1.

Jul 3 2026, 6:47 PM · Toolforge, tools-platform-team

Jul 2 2026

TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 5:55 PM · tools-platform-team
TLepage-WMF added a parent task for T431010: Requesting access to cloudcontrol servers for tlepage: T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 5:48 PM · SRE-Access-Requests
TLepage-WMF added a subtask for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform: T431010: Requesting access to cloudcontrol servers for tlepage.
Jul 2 2026, 5:48 PM · tools-platform-team
TLepage-WMF added a parent task for T430872: Account recovery help needed for Developer account TLepage-WMF: T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 5:47 PM · Trust-and-Safety
TLepage-WMF added subtasks for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform: T430872: Account recovery help needed for Developer account TLepage-WMF, T431006: New joiner request to access #wmf-nda.
Jul 2 2026, 5:47 PM · tools-platform-team
TLepage-WMF added a parent task for T431006: New joiner request to access #wmf-nda: T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 5:47 PM · Release-Engineering-Team (Doing 😎), WMF-NDA-Requests
TLepage-WMF added a subtask for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform: T431014: Request membership in toollabs-trusted & wmcs-trusted groups for tlepage.
Jul 2 2026, 5:46 PM · tools-platform-team
TLepage-WMF added a parent task for T431014: Request membership in toollabs-trusted & wmcs-trusted groups for tlepage: T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 5:46 PM · Gerrit-Privilege-Requests
TLepage-WMF created T431014: Request membership in toollabs-trusted & wmcs-trusted groups for tlepage.
Jul 2 2026, 5:45 PM · Gerrit-Privilege-Requests
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 5:35 PM · tools-platform-team
TLepage-WMF created T431010: Requesting access to cloudcontrol servers for tlepage.
Jul 2 2026, 5:28 PM · SRE-Access-Requests
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 5:08 PM · tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 4:56 PM · tools-platform-team
TLepage-WMF created T431006: New joiner request to access #wmf-nda.
Jul 2 2026, 4:55 PM · Release-Engineering-Team (Doing 😎), WMF-NDA-Requests
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 4:37 PM · tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 2:58 PM · tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 1:59 PM · tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 12:45 PM · tools-platform-team
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 2 2026, 11:29 AM · tools-platform-team

Jul 1 2026

TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 1 2026, 7:19 PM · tools-platform-team
TLepage-WMF added a member for cloud-services-team: TLepage-WMF.
Jul 1 2026, 7:18 PM
TLepage-WMF updated the task description for T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 1 2026, 6:46 PM · tools-platform-team
TLepage-WMF added a comment to T430872: Account recovery help needed for Developer account TLepage-WMF.

Thank you! I have followed your suggestion and sent an email, subject line "Account recovery help needed for SUL: TLepage-WMF". Happy to close this, and sorry for the noise here!

Jul 1 2026, 6:36 PM · Trust-and-Safety
TLepage-WMF added a comment to T430872: Account recovery help needed for Developer account TLepage-WMF.

I believe you are right, apologies for the lack of precision, still getting my footing among the various account types! I indeed have the same problem when trying to log in to mediawiki.org.

Jul 1 2026, 6:20 PM · Trust-and-Safety
TLepage-WMF created T430872: Account recovery help needed for Developer account TLepage-WMF.
Jul 1 2026, 6:13 PM · Trust-and-Safety
TLepage-WMF claimed T427914: Onboard Thibaut Le Page to Wikimedia Foundation as Staff SWE in Tools Platform.
Jul 1 2026, 4:52 PM · tools-platform-team
TLepage-WMF updated TLepage-WMF.
Jul 1 2026, 4:43 PM