Skip to content

Commit 1206942

Browse files
authored
Deploy Nov 12, 2025 (#5676)
Changes: [Nazım Can Altınova] Use getEmptySourceTable instead of constructing the table manually (#5641) [Florian Quèze] Source view for marker stacks (#5633) [Nazım Can Altınova] Add fallback to funcTable.lineNumber when computing line timings (#5644) [Florian Quèze] Show the marker keys instead of the labels in marker tooltips when alt is pressed. (#5625) [Francesco Lodolo] Add GitHub workflow to check Fluent reference files (#5647) [Nazım Can Altınova] Switch from Gitpod to GitHub Codespaces (#5653) [Nazım Can Altınova] Migrate from CircleCI to GitHub Actions (#5654) [Nazım Can Altınova] Run the CI in the production branch and on every pull request (#5661) [Nazım Can Altınova] Convert l10n-sync.js from Flow comment types to JSDoc comments for Typescript (#5659) [Florian Quèze] Display correct unit in Stack Chart tooltips for size profiles. (#5658) [Florian Quèze] Hide track management UI in single track profiles. (#5656) [Florian Quèze] Rename hiddenTrackCount to trackCount. (#5665) [Florian Quèze] Cleanup the profile info panel for size profiles (show file size and name, hide empty sections). (#5657) [Markus Stange] Use valibot for symbolication API response validation (#5666) [Nazım Can Altınova] Make sure to fetch the full git history for l10n-sync job in CI (#5667) [Nazım Can Altınova] Do not switch to call tree when clicking the activity graph while on sample based panels (#5672) And thanks to our localizers: be: Mikalai Udodau de: Michael Köhler el: Jim Spentzos en-GB: Ian Neal es-CL: ravmn fr: Théo Chevalier fy-NL: Fjoerfoks ia: Melo46 it: Francesco Lodolo [:flod] nl: Mark Heijl pt-BR: Marcelo Ghelman ru: berry, Valery Ledovskoy sv-SE: Andreas Pettersson tr: Grk zh-CN: Olvcpr423, wxie zh-TW: Pin-guang Chen
2 parents 619ce5e + 147cecb commit 1206942

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2006
-1200
lines changed

.circleci/config.yml

Lines changed: 0 additions & 132 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "Firefox Profiler",
3+
"image": "mcr.microsoft.com/devcontainers/javascript-node:22",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": {
6+
"version": "22"
7+
}
8+
},
9+
"forwardPorts": [4242],
10+
"portsAttributes": {
11+
"4242": {
12+
"label": "Firefox Profiler",
13+
"onAutoForward": "openBrowser"
14+
}
15+
},
16+
"postCreateCommand": "yarn install",
17+
"postStartCommand": "FX_PROFILER_HOST=\"0.0.0.0\" yarn start",
18+
"customizations": {
19+
"vscode": {
20+
"extensions": [
21+
"dbaeumer.vscode-eslint",
22+
"esbenp.prettier-vscode",
23+
"stylelint.vscode-stylelint"
24+
],
25+
"settings": {
26+
"editor.formatOnSave": true,
27+
"editor.defaultFormatter": "esbenp.prettier-vscode"
28+
}
29+
}
30+
}
31+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'Setup Node.js and Install Dependencies'
2+
description: 'Setup Node.js with caching and install dependencies'
3+
runs:
4+
using: 'composite'
5+
steps:
6+
- name: Setup Node.js
7+
uses: actions/setup-node@v6
8+
with:
9+
node-version: '22.14'
10+
cache: 'yarn'
11+
12+
- name: Install dependencies
13+
shell: bash
14+
run: yarn install --frozen-lockfile

.github/fluent/linter-config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
5+
# See https://github.com/mozilla-l10n/moz-fluent-linter/blob/main/src/fluent_linter/config.yml
6+
# for details
7+
8+
---
9+
# Check brand names
10+
CO01:
11+
enabled: true
12+
brands:
13+
- Firefox
14+
- Mozilla
15+
- Profiler
16+
exclusions:
17+
files: []
18+
messages: []
19+
# Enforce variable comments
20+
VC:
21+
disabled: false
22+
# Enforce placeholder style, e.g. { $variable }
23+
PS01:
24+
disabled: false

.github/fluent/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moz-fluent-linter~=0.4.9

.github/workflows/ci.yml

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- production
8+
pull_request:
9+
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v5
16+
17+
- name: Setup Node.js and install dependencies
18+
uses: ./.github/actions/setup-node-and-install
19+
20+
- name: Run lint
21+
run: yarn lint
22+
23+
tests:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v5
28+
29+
- name: Setup Node.js and install dependencies
30+
uses: ./.github/actions/setup-node-and-install
31+
32+
- name: Run tests
33+
# We use workerIdleMemoryLimit to work around a memory issue with node.
34+
# See https://github.com/facebook/jest/issues/11956
35+
run: yarn test --coverage --logHeapUsage -w=4 --workerIdleMemoryLimit=1.5G
36+
37+
- name: Upload coverage to Codecov
38+
uses: codecov/codecov-action@v5
39+
with:
40+
fail_ci_if_error: false
41+
42+
build-prod:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Checkout code
46+
uses: actions/checkout@v5
47+
48+
- name: Setup Node.js and install dependencies
49+
uses: ./.github/actions/setup-node-and-install
50+
51+
- name: Build production
52+
run: yarn build-prod:quiet
53+
54+
- name: Build symbolicator CLI
55+
run: yarn build-symbolicator-cli:quiet
56+
57+
licence-check:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: Checkout code
61+
uses: actions/checkout@v5
62+
63+
- name: Setup Node.js and install dependencies
64+
uses: ./.github/actions/setup-node-and-install
65+
66+
- name: Run license check
67+
run: yarn license-check
68+
69+
typecheck:
70+
runs-on: ubuntu-latest
71+
steps:
72+
- name: Checkout code
73+
uses: actions/checkout@v5
74+
75+
- name: Setup Node.js and install dependencies
76+
uses: ./.github/actions/setup-node-and-install
77+
78+
- name: Run TypeScript check
79+
run: yarn ts
80+
81+
alex:
82+
runs-on: ubuntu-latest
83+
steps:
84+
- name: Checkout code
85+
uses: actions/checkout@v5
86+
87+
- name: Setup Node.js and install dependencies
88+
uses: ./.github/actions/setup-node-and-install
89+
90+
- name: Run alex
91+
run: yarn test-alex
92+
93+
yarn-lock:
94+
runs-on: ubuntu-latest
95+
steps:
96+
- name: Checkout code
97+
uses: actions/checkout@v5
98+
99+
- name: Setup Node.js and install dependencies
100+
uses: ./.github/actions/setup-node-and-install
101+
102+
- name: Check yarn.lock
103+
run: yarn test-lockfile
104+
105+
shellcheck:
106+
runs-on: ubuntu-latest
107+
steps:
108+
- name: Checkout code
109+
uses: actions/checkout@v5
110+
111+
- name: Run ShellCheck
112+
uses: ludeeus/action-shellcheck@master
113+
with:
114+
scandir: './bin'
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Lint Reference Files
2+
on:
3+
push:
4+
paths:
5+
- 'locales/en-US/*.ftl'
6+
- '.github/workflows/fluent-linter.yml'
7+
- '.github/fluent/*'
8+
branches:
9+
- main
10+
pull_request:
11+
paths:
12+
- 'locales/en-US/*.ftl'
13+
- '.github/workflows/fluent_linter.yml'
14+
- '.github/fluent/*'
15+
branches:
16+
- main
17+
workflow_dispatch:
18+
jobs:
19+
linter:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Clone repository
23+
uses: actions/checkout@v5
24+
- name: Set up Python 3
25+
uses: actions/setup-python@v6
26+
with:
27+
python-version: '3.11'
28+
cache: 'pip'
29+
cache-dependency-path: '.github/fluent/requirements.txt'
30+
- name: Install Python dependencies
31+
run: |
32+
pip install -r .github/fluent/requirements.txt
33+
- name: Lint reference
34+
run: |
35+
moz-fluent-lint ./locales/en-US --config .github/fluent/linter-config.yml

0 commit comments

Comments
 (0)