Commit graph

6 commits

Author SHA1 Message Date
sabril
c14d5e6eef
Add shard and log heap usage in Jest (#34656)
* add shard and log heap usage in jest

* separate each type of tests

* fix code coverage and indicate heap usage to all tests

* exercise each 10 times, change channels shard to 4

* revert to single run, fix npm cache and merge/report code coverage with nyc
2025-12-11 10:54:12 +08:00
Jesse Hallam
99190bdcb7
Fix CI concurrency group evaluation error for master builds (#33756)
Replace empty string fallback with github.run_id to prevent workflow
evaluation errors when concurrency group evaluates to empty string on
non-pull-request events.
2025-08-20 18:09:13 +02:00
Jesse Hallam
a214ff63f4
narrow paths to trigger (server|webapp)-ci (#33678)
* Consolidate server and webapp CI workflows into single templates

- Merge server-ci-master.yml and server-ci-pr.yml into server-ci-template.yml
- Merge webapp-ci-master.yml and webapp-ci-pr.yml into webapp-ci-template.yml
- Add conditional concurrency control for PRs only
- Maintain all existing behavior while eliminating duplication

* narrow paths to trigger (server|webapp)-ci
2025-08-20 00:39:38 +00:00
Jesse Hallam
95a9bcec28
Consolidate server and webapp CI workflows into single templates (#33675)
* Consolidate server and webapp CI workflows into single templates

- Merge server-ci-master.yml and server-ci-pr.yml into server-ci-template.yml
- Merge webapp-ci-master.yml and webapp-ci-pr.yml into webapp-ci-template.yml
- Add conditional concurrency control for PRs only
- Maintain all existing behavior while eliminating duplication

* Fix concurrency control to preserve master build behavior

Address feedback about master builds being queued. Make concurrency
group conditional so master builds have no concurrency control at all,
maintaining identical behavior to before consolidation.

- Master builds: No concurrency (multiple builds can run simultaneously)
- PR builds: Concurrency with cancellation (one build per PR)
2025-08-18 13:32:15 +02:00
Agniva De Sarker
77a24f96d6
MM-52712: Prevent CI cancellation in master (round 2) (#23293)
We discovered that cancel-in-progress only controls
in-progress jobs. Which means that pending jobs will _always_
be cancelled regardless. There is an open discussion:
https://github.com/orgs/community/discussions/5435
which was closed saying this is how the feature is designed.

We try to work around this by refactoring into separate reusable
workflows and having concurrency only for PR workflows.

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-09 23:49:06 +05:30
Agniva De Sarker
c140f43e74
Rename workflows to make it clearer (#23316)
Mattermost build was a confusingly named workflow. Changed it
to Server CI to make it consistent with Webapp CI.

Also changed the filenames.

```release-note
NONE
```
2023-05-08 13:13:39 +05:30
Renamed from .github/workflows/channels-ci.yml (Browse further)