instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
actions__actions-sync__173 | actions/actions-sync | 173 | defect | b87b406210bd43609717c6a0dbb44c7f3b7c772a | cd1a3b1e7621adde6499d3bfe341a2a503f14035 | feat: add --batch-size flag to push refs in batches | ## Summary
This PR adds a `--batch-size` flag to the `push` and `sync` commands that allows pushing refs in smaller batches instead of all at once. This helps avoid server-side limits when syncing large repositories with many branches and tags.
## Problem
When syncing repositories with a large number of refs (... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7a9526e5..982b129f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,8 +9,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Lint
- run: docker-compose run --rm lint
+ run: docker compos... | 4 | 3 | 1 | [{"id": "G0", "claim": "TestPushRefsInBatches_PartialUpToDate is incomplete and doesn't test the partial up-to-date scenario its comments describe, leaving pushCount and originalPush unused; it should be completed properly or removed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
actions__ai-inference__85 | actions/ai-inference | 85 | defect | c37f296c9870f114b99afa32ae087c98b877ab48 | 15868b88f49d532e3b69b0517597ae04e671edaa | Allow templating variables from files | Support templating variables by passing a file instead of the string itself. This will be useful for multiline variables that don't parse nicely into YAML. | diff --git a/README.md b/README.md
index 1eef61ab..88cd34b4 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,9 @@ steps:
var3: |
Lorem Ipsum
Hello World
+ file_input: |
+ var4: ./path/to/long-text.txt
+ var5: ./path/to/config.json
```
#### Simple prompt.yml examp... | 3 | 1 | 0 | [{"id": "G0", "claim": "File-based variables overwrite string-based variables with the same name without warning; consider adding conflict detection with a warning or documenting the precedence behavior.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
actions__checkout__163 | actions/checkout | 163 | defect | f858c22e963bc60bc9d01c3d105c52a45a7deb6e | 3463b5bb9153ab8e7f669ff8a85b37914f0b29dd | add ssh support | related to ADR https://github.com/actions/checkout/pull/156 | diff --git a/.gitignore b/.gitignore
index 46f10721d..2f909c0f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
+__test__/_temp
lib/
node_modules/
\ No newline at end of file
diff --git a/README.md b/README.md
index 54b34292c..b15d32a22 100644
--- a/README.md
+++ b/README.md
@@ -45,14 +45,30 @@ Refer [here](... | 7 | 5 | 1 | [{"id": "G0", "claim": "Unit tests should be added for the newly extracted src/git-directory-helper.ts.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The auth-helper tests should also clean up the temp directory after the run (e.g. io.rmRF in afterAll)... | null |
actions__checkout__1656 | actions/checkout | 1,656 | defect | 8410ad0602e1e429cee44a835ae9f77f654a6694 | 5fd05b69b49afd8c4f6371458bb9af47dd497f96 | Check git version before attempting to disable `sparse-checkout` | This is a fix for a [bug](https://github.com/actions/checkout/issues/1651) discovered when we attempted to release v4.1.2.
Some self-hosted runners have older git versions that pre-date git's `sparse-checkout` command.
| diff --git a/__test__/git-auth-helper.test.ts b/__test__/git-auth-helper.test.ts
index a75b79d24..4081cb10e 100644
--- a/__test__/git-auth-helper.test.ts
+++ b/__test__/git-auth-helper.test.ts
@@ -796,7 +796,8 @@ async function setup(testName: string): Promise<void> {
),
tryDisableAutomaticGarbageCollection: ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Per actions/checkout#1386, the new MinimumGitSparseCheckoutVersion should be 2.28 rather than 2.25.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
actions__checkout__1685 | actions/checkout | 1,685 | defect | cd7d8d697e10461458bc61a30d094dc601a8b017 | a65c1f84e92343d43178048aca74848262e66902 | Add SSH user parameter | https://github.com/github/actions-launch/issues/427 | diff --git a/README.md b/README.md
index bfecf464d..142ec2090 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,10 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
# Default: true
ssh-strict: ''
+ # The user to use when connecting to the remote SSH host. By default 'g... | 2 | 2 | 0 | [{"id": "G0", "claim": "Prefer `const` over `let` for the `user` variable in `getFetchUrl` (offered as a suggestion, explicitly ignorable).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `ssh-user` input in `action.yml` should declare its de... | null |
actions__checkout__1941 | actions/checkout | 1,941 | defect | eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 | e8e821983d056fcaf39cfc95ceafaa097da37e6f | `url-helper.ts` now leverages well-known environment variables. |
`url-helper.ts` had unnecessary complexity which could cause it to incorrectly infer common URLs.
This fix leverages [well-known environment variables](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables) for the purpose... | diff --git a/dist/index.js b/dist/index.js
index d86415e06..1791daa22 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1617,7 +1617,7 @@ function getDefaultBranch(authToken, owner, repo, baseUrl) {
return yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {
core.info('R... | 3 | 2 | 1 | [{"id": "G0", "claim": "jww3 asks whether there is a valid use case where baseUrl might represent some other domain, i.e. whether dropping the baseUrl parameter from getServerApiUrl()/isGhes() may break callers targeting another GitHub instance.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc... | null |
actions__checkout__258 | actions/checkout | 258 | defect | 2ff2fbdea48a8f5da77a31e7dd5ecb46c017ffc3 | ffa8fc78c00ed79662e00a7da8bc7a07bfdedda3 | Fetch all history for all tags and branches when fetch-depth=0 | Fetch all history for all tags and branches when `fetch-depth: 0`
Fixes #240
Fixes #239
Fixes #214
Fixes #204
Fixes #93
Related #250
Related #249
Related #217
| diff --git a/README.md b/README.md
index 745ee8a36e..aa3ecb0338 100644
--- a/README.md
+++ b/README.md
@@ -110,6 +110,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
# Scenarios
+- [Fetch all history for all tags and branches](#Fetch-all-history-for-all-tags-and-branches)
- [... | 6 | 3 | 1 | [{"id": "G0", "claim": "The all-history fetch path needs additional changes to check out the correct commit when the ref has moved via a normal (non-force) push: test whether the remote ref matches the expected SHA and fetch again if not, keeping shaExists for the case of checking out a specific commit with no ref.", "... | null |
actions__checkout__762 | actions/checkout | 762 | defect | add3486cc3b55d4a5e11c8045058cef96538edc7 | 45e45c6137bcf6981104ebb86693dd38c6af8ae5 | Enforce safe directory | This pr fixes #760 by setting the repositories path as a safe directory when running checkout and removing that config on cleanup.
We aren't able to set it as a local config, as this setting only works for global configs.
So, using the standard we used for submodules, lets go ahead and copy the existing global co... | diff --git a/dist/index.js b/dist/index.js
index 271b0540b..7738b24b5 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -4229,7 +4229,7 @@ module.exports = require("punycode");
/***/ 215:
/***/ (function(module) {
-module.exports = {"name":"@octokit/rest","version":"16.43.1","publishConfig":{"access":"public"},"des... | 4 | 4 | 2 | [{"id": "G0", "claim": "The same safe.directory setup should also be done inside prepareExistingDirectory, not only when initializing a new repository.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tryConfigUnsetValue declaration in the IGitCom... | null |
actions__checkout__770 | actions/checkout | 770 | defect | dcd71f646680f2efd8db4afa5ad64fdcba30e748 | 1759b4d65590825f7a1256eedb07fb91d67f8fcc | Add set-safe-directory input to allow customer to take control. | In case of customers don't like the way we overwrite their global `gitconfig` with `safe.directory`.
Ex: customers have properly configured `safe.directory` on their environment, and `actions/checkout` overlay the wrong value.
| diff --git a/README.md b/README.md
index b185d46b8..7619c06a7 100644
--- a/README.md
+++ b/README.md
@@ -92,6 +92,11 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
#
# Default: false
submodules: ''
+
+ # Add repository path as safe.directory for Git global config b... | 3 | 1 | 0 | [{"id": "G0", "claim": "Use the `getBooleanInput` helper from the `core` library instead of manually parsing the `set-safe-directory` input.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should properly confirm that the fix resolves th... | null |
actions__setup-node__200 | actions/setup-node | 200 | defect | c211e95e60c2a8db273e122ba1845305b1943494 | d36cf58775a643e1952a522e48f2ffa2b2e1765a | Swap to env files | The newest toolkit version uses [Environment files](https://github.com/actions/toolkit/blob/main/docs/commands.md#environment-files) to communicate with the Runner. This pr moves towards the new way of communicating with the runner and updates the toolkit version if appropriate. | diff --git a/.licenses/npm/@actions/core-1.2.2.dep.yml b/.licenses/npm/@actions/core-1.2.2.dep.yml
deleted file mode 100644
index 92b8b024f..000000000
--- a/.licenses/npm/@actions/core-1.2.2.dep.yml
+++ /dev/null
@@ -1,30 +0,0 @@
----
-name: "@actions/core"
-version: 1.2.2
-type: npm
-summary: Actions core lib
-homepag... | 1 | 1 | 1 | [{"id": "G0", "claim": "Bump the minimum @actions/core dependency in package.json to ^1.2.6.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
actions__setup-node__48 | actions/setup-node | 48 | defect | 7af5963081f4115489390c8e8e31da346136cb37 | 9c950f557cdfa1d99096907f1f914fb3469c1c81 | Add setting for always-auth | - https://docs.npmjs.com/misc/config#always-auth
- Allow private repos for stuff like artifactory to work | diff --git a/action.yml b/action.yml
index 49c9efe69..d6feb020a 100644
--- a/action.yml
+++ b/action.yml
@@ -2,6 +2,9 @@ name: 'Setup Node.js environment'
description: 'Setup a Node.js environment and add it to the PATH, additionally providing proxy support'
author: 'GitHub'
inputs:
+ always-auth:
+ description:... | 4 | 3 | 2 | [{"id": "G0", "claim": "The functions should take simple positional parameters instead of defining and destructuring interfaces, which the reviewer finds less natural and readable.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The always-auth input shou... | null |
actions__setup-node__744 | actions/setup-node | 744 | defect | 5b32c9063c6eb277dacbf3e916a8bc5d2617c5b7 | f2c2c87e5b85fb3a31828d7ddf0889eac9a1f3e0 | Do not ivalidate the cache entirely on lock file change | **Description:**
Add a function `cache-utils.ts:repoHasYarn3ManagedCache` returns `true` if there's at least one project with yarn3 managed cache
Yarn3 managed cache enables safe use of the previous cache `cache.restoreCache(cachePaths, primaryKey, [keyPrefix])`
because obsolete dependences are removed by Yarn n... | diff --git a/dist/setup/index.js b/dist/setup/index.js
index 9b813965b4..679f275361 100644
--- a/dist/setup/index.js
+++ b/dist/setup/index.js
@@ -71138,12 +71138,15 @@ const path_1 = __importDefault(__nccwpck_require__(1017));
const fs_1 = __importDefault(__nccwpck_require__(7147));
const constants_1 = __nccwpck_req... | 5 | 2 | 1 | [{"id": "G0", "claim": "The cache key prefix should not include `stepId`, because the cache is shareable between steps and putting the step id in the key needlessly keeps caches from being shared.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The loop c... | null |
actions__upload-artifact__764 | actions/upload-artifact | 764 | defect | 589182c5a4cec8920b8c1bce3e2fab1c97a02296 | 6b68470975f00706eebefb1dd4cc04ee70160b7a | Support direct file uploads | ## Description
This adds support for uploading a file directly without zipping it.
Callers will need to opt into this change by setting the new `archive` flag to `false` (to maintain backwards compatibility, the flag defaults to `true` right now). Only a single file can be uploaded right now. If the action detect... | diff --git a/__tests__/upload.test.ts b/__tests__/upload.test.ts
index 6e0c26aa..ffdc9a52 100644
--- a/__tests__/upload.test.ts
+++ b/__tests__/upload.test.ts
@@ -72,6 +72,7 @@ const mockInputs = (
[Inputs.RetentionDays]: 0,
[Inputs.CompressionLevel]: 6,
[Inputs.Overwrite]: false,
+ [Inputs.Archive]: ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The archive input's documentation is inconsistent about artifact naming when archive is false (line 52's statement about the file name being used appears incorrect) and should be clarified.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
activecm__rita-legacy__255 | activecm/rita-legacy | 255 | defect | 9fd7ed84a1bad3aba879e890fad83152266c8156 | e9b8da606af00d846c3b6e5f03a09fdc70da5cde | Make some commands periodically check for program updates | Addresses #239.
* Uses the existing Logger to store `lastSuccessfulUpdateCheck` and `latestVersionAvailable` since other database collections did not seem appropriate.
* Update message is displayed for `version`, `import` and `analyze`. `help` did not seem reasonable under urfave/cli interface since it does not h... | diff --git a/Version b/Version
new file mode 100644
index 00000000..e946d6bb
--- /dev/null
+++ b/Version
@@ -0,0 +1 @@
+v1.0.3
diff --git a/commands/analyze.go b/commands/analyze.go
index 921ba368..5e229961 100644
--- a/commands/analyze.go
+++ b/commands/analyze.go
@@ -30,7 +30,9 @@ func init() {
configFlag,
},
... | 11 | 10 | 4 | [{"id": "G0", "claim": "Avoid single-letter variable names (t, s) in UpdateCheck and break down the approach of what is happening, e.g. getting the time and version string since last update.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add com... | null |
activecm__rita-legacy__324 | activecm/rita-legacy | 324 | defect | 104a1ce1e647287f8772f5c159f1afc45b20057e | 96253fbf9ff65f0406abe6261e88254176997473 | updated analysis, reset, and delete commands | Closes #244 | diff --git a/commands/analyze.go b/commands/analyze.go
index 6c27fb4d..e4853527 100644
--- a/commands/analyze.go
+++ b/commands/analyze.go
@@ -23,20 +23,46 @@ func init() {
UsageText: "rita analyze [command options] [database]\n\n" +
"If no database is specified, every database will be analyzed.",
Flags: []cl... | 4 | 4 | 2 | [{"id": "G0", "claim": "The updateCheck() call should be printed near the top of the analyze action, before the analysis runs, so the user can see whether they are on the latest version and abort early.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
activecm__rita-legacy__328 | activecm/rita-legacy | 328 | defect | 03232ac5ec6df4e2670d8e04dbfb58a0e8b216a8 | 8c4a4628bb7b8908eeb250b4dcb2a22c890be3b0 | Add NeverInclude to filtering | Closes #305
Closes #306
Closes #162
Closes #307 | diff --git a/Readme.md b/Readme.md
index 21372a7b..b60ebdac 100644
--- a/Readme.md
+++ b/Readme.md
@@ -53,11 +53,12 @@ You can specify the location for the configuration file with the **-c** command
#### Importing Data Into RITA
* After installing, `rita` should be in your `PATH` and the config file should be set... | 5 | 5 | 1 | [{"id": "G0", "claim": "A CIDR entry that fails to parse is only printed while a nil subnet is still appended to the list, so RITA keeps importing and panics on the nil block; on an invalid CIDR it should report the error and exit instead of continuing.", "category": "correctness", "verdict": "supported", "priority": "... | null |
activecm__rita-legacy__511 | activecm/rita-legacy | 511 | defect | b7eabee43a48c796dc9bfc77a1c282826a63a0e2 | 300dfc5ca039622d96e2ddf05acb479cfc013ad1 | Allow Users to Re-Import Logs | This PR introduces the `--delete` flag to the `rita import` command. This flag deletes any existing data in the target import location before importing new data.
If the target database is not a rolling database, the flag is used as:
```
rita import --delete /path/to/file_or_dir_1 [/path/to/file_or_dir_n ...] targe... | diff --git a/commands/commands.go b/commands/commands.go
index 65043943..bbf69b06 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -51,6 +51,13 @@ var (
Usage: "Tests which databases would be deleted. Does not actually delete any data, nor prompt for confirmation",
}
+ // deleteFlag indicates whet... | 5 | 5 | 3 | [{"id": "G0", "claim": "The change makes `rita import` into an existing non-rolling database without rolling flags import new data while the database stays marked non-rolling, leaving the metadb entry and chunk data in an inconsistent, undefined state; the reviewer asked that either the automatic upgrade-to-rolling be ... | null |
activecm__rita-legacy__513 | activecm/rita-legacy | 513 | defect | b7eabee43a48c796dc9bfc77a1c282826a63a0e2 | 23fca6256ae489d234ec1551141703381aee58d2 | Add support for Zeek JSON logs | This change implements parsing JSON logs in rita.
I've tested this with a single dataset so far but the results look promising. It is a bit slower than import TSV but I'm not sure there's much we can do about that. Here are the results from my comparison of importing the same dataset in TSV format vs JSON. Note that... | diff --git a/parser/fileparser.go b/parser/fileparser.go
index afd149b9..4f3818b6 100644
--- a/parser/fileparser.go
+++ b/parser/fileparser.go
@@ -3,6 +3,7 @@ package parser
import (
"bufio"
"compress/gzip"
+ "encoding/json"
"errors"
"io/ioutil"
"os"
@@ -205,7 +206,21 @@ func mapBroHeaderToParserType(header ... | 9 | 8 | 2 | [{"id": "G0", "claim": "JSON logs written with ISO8601 timestamps (e.g. Security Onion) currently fail to unmarshal the same way the decimal-string timestamps did, and the author proposes unmarshalling ts into an interface{} and converting it to the needed int64 in ConvertFromJSON.", "category": "correctness", "verdict... | null |
activecm__rita-legacy__774 | activecm/rita-legacy | 774 | defect | d3ad4343b4ddffaee59712469a5c050905658ecc | 31bd9d92f055bb4c8ef8e9f2a9cd2e56bfefd6d0 | Update Web and Proxy* Beacon scoring | - Updated Beacon Proxy and Beacon SNI to use new scoring metrics
- Added yaml weights for scoring
- updated command line and html reporting | diff --git a/commands/show-beacons-proxy.go b/commands/show-beacons-proxy.go
index 4d41a4d4..6ed031a5 100644
--- a/commands/show-beacons-proxy.go
+++ b/commands/show-beacons-proxy.go
@@ -92,16 +92,13 @@ func showBeaconsProxyHuman(data []beaconproxy.Result, showNetNames bool) error {
row = []string{
f(d.Score),... | 3 | 3 | 3 | [{"id": "G0", "claim": "In the new version, api.twitter.com in the team's proxy dataset scored very low instead of near perfect, and there appears to be an issue with the proxy beacons analysis and display.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
activecm__rita-legacy__816 | activecm/rita-legacy | 816 | defect | dc17f30e940bbb29bf150d6440b6400c335e2968 | 3cca8cce955fc9b81ec3d9d34f64e633e81af4f5 | 335 add ipv6 support for single ips | ### Summary
This resolves the issue of `ParseSubnets` not differentiating between IPv4 and IPv6 addresses before appending a subnet mask. It also adds `TestFilterSingleIPv6` to test the new functionality. It also updates the error handling of the `ParseSubnets` call chain and adds a test for `ParseSubnets` in `ip_test... | diff --git a/parser/filter_test.go b/parser/filter_test.go
index 2073a0d3..fb8e21ae 100644
--- a/parser/filter_test.go
+++ b/parser/filter_test.go
@@ -184,7 +184,7 @@ func TestFilterDomain(t *testing.T) {
func TestFilterSingleIP(t *testing.T) {
- fsTest := &filter{
+ fsTest := filter{
// purposely omitting inte... | 2 | 2 | 1 | [{"id": "G0", "claim": "ParseSubnets should not crash out or silently skip over a parse error with continue; instead it should stop early and return the error up the call chain (return type ([]*net.IPNet, error), updated call sites in filter.go:newFilter, fsimporter.go:newFSImporter and commands/import.go, and updated ... | null |
activepieces__activepieces__12042 | activepieces/activepieces | 12,042 | defect | 775b4364bc03f0b715772d9a6adcbc719146458f | f28a5315c7971066579839a1df87b4f553f0c250 | fix(engine): fix log size calculation and pass config to sandbox | ## Summary
- Fix `utils.sizeof` to measure actual JSON-serialized byte size instead of estimating
in-memory size (strings were counted at 2x, numbers fixed at 8 bytes, etc.), which ... | diff --git a/packages/server/engine/src/lib/handler/flow-executor.ts b/packages/server/engine/src/lib/handler/flow-executor.ts
index b16868da99be..e4098c03d596 100644
--- a/packages/server/engine/src/lib/handler/flow-executor.ts
+++ b/packages/server/engine/src/lib/handler/flow-executor.ts
@@ -122,7 +122,7 @@ const fai... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new `sizeof` calls `JSON.stringify(object)` unconditionally and throws an unhandled `TypeError` when the object contains a circular reference (which piece code can build programmatically), crashing the engine for the whole flow run; the reviewer asks to wrap the call in a try/catch and fall ... | null |
activepieces__activepieces__12049 | activepieces/activepieces | 12,049 | defect | bd5aa6cc50af47f38e157b94d2169eb47e9868ca | 330b92c643f63f71d0a517e9b6307a0d5fe1a7b7 | docs: add postmortem for March 19, 2026 Redis overload incident | ## What does this PR do?
<!-- We need a clear description of what the PR does, as this will be used for the marketing team to generate the release notes. -->
### Explain How the Feature Works
<!-- Adding a video demonstration is optional but encourged! It helps reviewers / marketing team understand your implem... | diff --git a/docs/postmortems/2026-03-19-redis-overload.md b/docs/postmortems/2026-03-19-redis-overload.md
new file mode 100644
index 000000000000..f81f83b0526b
--- /dev/null
+++ b/docs/postmortems/2026-03-19-redis-overload.md
@@ -0,0 +1,73 @@
+---
+title: "Redis Overload Incident — March 19, 2026"
+hidden: true
+---
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "The postmortem's Action Items table lacks any item addressing the runaway self-rescheduling subflow identified as the primary trigger (e.g. detection, per-flow rate limits, circuit breakers or alerting), so a similar runaway subflow could recur even if all listed items are completed.", "category... | null |
activepieces__activepieces__12112 | activepieces/activepieces | 12,112 | defect | 6cc226e7b4086a8bebac3da789d619ce21eaacf4 | 203b56bbafca3d96b26667f91d6e1ab1d89f8b8d | refactor(worker): flatten JobResult and unify status enums | ## Summary
- Flatten `JobResult` into a single `SynchronousJobResult` type with `status` and `response` fields, removing the nested `engine` wrapper
- Unify status enums by reusing `EngineResponseStatus` directly instead of maintaining a separate `JobStatus` enum
- Make missing flow version and failed piece provisionin... | diff --git a/packages/server/api/src/app/workers/job-queue/job-broker.ts b/packages/server/api/src/app/workers/job-queue/job-broker.ts
index 7b127d06f846..7f4f397a4af6 100644
--- a/packages/server/api/src/app/workers/job-queue/job-broker.ts
+++ b/packages/server/api/src/app/workers/job-queue/job-broker.ts
@@ -1,4 +1,4 ... | 3 | 1 | 0 | [{"id": "G0", "claim": "Returning EngineResponseStatus.OK with response: undefined when the flow version is missing or provisioning fails is not a true silent no-op for POLLING triggers: handlePollingTrigger then enqueues a repeating polling job with default schedule options whose execution will fail on every poll cycl... | null |
activepieces__activepieces__12229 | activepieces/activepieces | 12,229 | defect | 3f45a56c5602e96064cb80e63193c17092f2265c | 880841e7fde1e29b4ca83dee384bb88ab215bec9 | fix(worker): propagate sandbox stdOut/stdError to BullMQ failure messages | ## Summary
- Flatten `SandboxResult` to spread `EngineResponse` fields directly instead of nesting under `.engine`, making the API cleaner
- Add `stdOut`/`stdError` fields to `FireAndForgetJobResult` and `SynchronousJobResult` so sandbox output flows through job results
- Update `buildErrorMessage` to extract `standard... | diff --git a/packages/server/worker/src/lib/execute/jobs/execute-flow.ts b/packages/server/worker/src/lib/execute/jobs/execute-flow.ts
index 9e9fb38c966f..4f23f441c0bf 100644
--- a/packages/server/worker/src/lib/execute/jobs/execute-flow.ts
+++ b/packages/server/worker/src/lib/execute/jobs/execute-flow.ts
@@ -55,22 +55... | 2 | 2 | 2 | [{"id": "G0", "claim": "extract-piece-info.ts is the only synchronous job handler that omits `errorMessage: result.error`, so when the engine returns INTERNAL_ERROR with a descriptive error but no stdout/stderr, buildErrorMessage receives errorMessage = undefined and silently drops the engine's error description from B... | null |
activepieces__activepieces__12287 | activepieces/activepieces | 12,287 | defect | 52a4dad21b27cf4df74372e3b29aa3a8e9e4c0c4 | 0cabb6de6c20e1949324c705ff6790008e26304a | fix: use check-disk-space for diskusage and add ssrf protection to http piece | ## Summary
- Replaces `si.fsSize()` from the `systeminformation` package with [`check-disk-space`](https://github.com/Alex-D/check-disk-space) for disk usage reporting
- `systeminformation` internally spawns a `df` shell process to get disk info, which was flagged as a security risk by EDR tooling
- `check-disk-sp... | diff --git a/bun.lock b/bun.lock
index c4f9fda04b20..a9cddbb1a801 100644
--- a/bun.lock
+++ b/bun.lock
@@ -388,6 +388,7 @@
"axios-retry": "4.4.1",
"form-data": "4.0.4",
"mime-types": "2.1.35",
+ "request-filtering-agent": "3.2.0",
"tslib": "2.6.2",
"zod": "4.3.6",
... | 3 | 1 | 1 | [{"id": "G0", "claim": "Hostname entries in AP_SSRF_ALLOW_LIST are silently dropped: getSsrfAgents keeps only entries matching IP_REGEX and no per-hostname bypass exists in axios-http-client.ts, so configured hostnames have no effect.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "intr... | null |
activepieces__activepieces__12289 | activepieces/activepieces | 12,289 | defect | 3f45a56c5602e96064cb80e63193c17092f2265c | fb81f4adfec8b83f858dc946a121e67ddf377233 | chore: add database migration rollback system | Summary
- Add Migration interface extending TypeORM's MigrationInterface with optional breaking and release fields — new migrations must set these, existing
ones are unaffected
- Add npm run rollback -- --to <version> CLI command that reverts migrations by release version, with DB state verification and s... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 62b51822521a..85fa83c92ab5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -93,7 +93,7 @@ jobs:
if: steps.check-framework-common.outputs.framework_or_common_changed == 'true'
run: npx turbo run build --filte... | 3 | 2 | 0 | [{"id": "G0", "claim": "Breaking migrations that omit down() are included in the rollback loop when --force is passed, and undoLastMigration() will throw a TypeError mid-loop, potentially leaving the database partially rolled back; a guard should detect breaking migrations without down() before the loop.", "category": ... | null |
activepieces__activepieces__12335 | activepieces/activepieces | 12,335 | defect | e83f19b7a7cbad72c9360a24143fb7d0274841b9 | 5c0116981453a589a833393ea80aff1942ef4736 | fix: subflow race condition | ## Summary
- Adds a new E2E test that exercises the full `/sync` webhook path with a nested subflow: `catch_webhook → callFlow (waitForResponse: true) → child returnResponse → parent return_response → HTTP 200 { echo: '...' }`
- Fixes a race condition in `flow-run-service.ts resume()`: polls up to 5 s for `pauseMetada... | diff --git a/bun.lock b/bun.lock
index 85fff9ce0e30..bb4827ecce48 100644
--- a/bun.lock
+++ b/bun.lock
@@ -1,5 +1,6 @@
{
"lockfileVersion": 1,
+ "configVersion": 0,
"workspaces": {
"": {
"name": "activepieces",
@@ -155,6 +156,7 @@
"cron-validator": "1.3.1",
"cronstrue": "2.31.0",
... | 3 | 2 | 2 | [{"id": "G0", "claim": "Root csv-parse was bumped from 5.6.0 to 6.2.1 (a major version with breaking changes) as an unrelated, undocumented change in this PR, risking silent breakage of root-level code, so it should be removed and landed separately or explained.", "category": "correctness", "verdict": "supported", "pri... | null |
activepieces__activepieces__12412 | activepieces/activepieces | 12,412 | defect | 55e463116f0939404b00697ac05d5ece110ba2ca | cefd6a405c2922b835c0e61952374ac90896e2d8 | fix(rpc): propagate RPC handler errors and add missing-piece FAILED run handling | ## Summary
- **RPC error propagation**: Server-side RPC handler errors are now caught and propagated back to the caller as structured error envelopes instead of timing out silently
- **Missing piece → FAILED run**: When a flow version cannot be fetched (e.g. piece deleted from registry), the run is now immediately mar... | diff --git a/packages/server/api/src/app/flows/flow-version/flow-version.service.ts b/packages/server/api/src/app/flows/flow-version/flow-version.service.ts
index 4f6c2cb0eeda..5c1f1acc3896 100644
--- a/packages/server/api/src/app/flows/flow-version/flow-version.service.ts
+++ b/packages/server/api/src/app/flows/flow-v... | 2 | 2 | 0 | [{"id": "G0", "claim": "TypedResult was inserted before tryCatch/tryCatchSync in try-catch.ts, violating the project convention that exported types appear after all logic, and should be moved to the bottom of the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
activepieces__activepieces__12429 | activepieces/activepieces | 12,429 | defect | 23ea40ae93243a9f53d5cf09c8fa92d9c9205a71 | 945393fe6599dda05ec209f650f8ea1e64b16671 | fix(shared): remove exports subpath that broke published pieces | The exports field added in 0.51.8 pointed to ./dist/src/index.js, but the package is published from dist/, so the actual files are at ./src/index.js. Node.js prioritizes exports over main, causing MODULE_NOT_FOUND for any piece depending on @activepieces/shared>=0.51.8.
Since rpc.ts no longer imports Node.js util, r... | diff --git a/packages/pieces/community/umami/package.json b/packages/pieces/community/umami/package.json
index 9fa0266447c3..4862e913f75a 100644
--- a/packages/pieces/community/umami/package.json
+++ b/packages/pieces/community/umami/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-umami",
- "version": ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The unexplained removal of the --linker=hoisted flag from bun install warrants a clarifying comment in the PR description, since it is a behavioural change to sandbox dependency resolution.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
activepieces__activepieces__12485 | activepieces/activepieces | 12,485 | defect | 910a5724aa45c67dd0e915babfa073595d0d92e8 | e13e050db5ab24f5cb0ea749a5ba23f1770a09da | fix(mcp): improve MCP tool UX — connection scoping, input schemas, validation errors | ## Summary
- **Security**: `ap_list_connections` always scopes to current project — was leaking connections across projects
- **AI guidance**: Tool descriptions prefer pieces over code; `ap_list_pieces` returns `inputProps` (type, required, options); `ap_update_step`/`ap_update_trigger` diagnose missing inputs with spe... | diff --git a/bun.lock b/bun.lock
index 80a1164e3313..07ad403bf504 100644
--- a/bun.lock
+++ b/bun.lock
@@ -1,6 +1,5 @@
{
"lockfileVersion": 1,
- "configVersion": 0,
"workspaces": {
"": {
"name": "activepieces",
@@ -4351,7 +4350,7 @@
},
"packages/pieces/community/microsoft-365-people": {
... | 4 | 3 | 0 | [{"id": "G0", "claim": "The trigger diagnosis path in ap-update-trigger.ts uses `diagnosis ?? fallback` instead of `(diagnosis || null) ?? fallback`, which can silently produce an empty error message for auth-only triggers; the step sibling already has the correct guard.", "category": "correctness", "verdict": "uncerta... | null |
activepieces__activepieces__12545 | activepieces/activepieces | 12,545 | defect | 32d7d69d4cc94a6f7874282816c884daeb1e7bf7 | 73290810437199157f709bfe2eec03c766d257cb | feat(mcp): add ap_validate_flow for flow-level preflight validation | ## Summary
- Add **`ap_validate_flow`** — a read-only MCP tool that validates an entire flow for structural issues without publishing
- Three levels of validation:
1. **Step validity** — lists all invalid/unconfigured steps (same check as `ap_lock_and_publish` but without publishing)
2. **Template references** — d... | diff --git a/bun.lock b/bun.lock
index 0dc1447b0be6..01da9e3d9a3e 100644
--- a/bun.lock
+++ b/bun.lock
@@ -475,7 +475,7 @@
},
"packages/pieces/community/ai": {
"name": "@activepieces/piece-ai",
- "version": "0.3.2",
+ "version": "0.3.3",
"dependencies": {
"@activepieces/pieces... | 6 | 3 | 0 | [{"id": "G0", "claim": "When a trigger is a non-EMPTY type but still has valid: false, no issue is recorded, so the validation tool can report a flow ready to publish despite an invalid trigger — the scenario the tool is meant to catch.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "in... | null |
activepieces__activepieces__12552 | activepieces/activepieces | 12,552 | defect | f5d2164d5420fc3aa0775844738547744fde5ca8 | c062013e441de1c79bc352759d1ca0546ac693c9 | feat(mcp): resolve dynamic dropdown options in ap_get_piece_props | ## Summary
Enhance `ap_get_piece_props` to optionally resolve dynamic dropdown values (Slack channels, Google Sheets spreadsheets, etc.) when an `auth` connection is provided. No new tool — keeps tool count at 33.
**Without auth** (current behavior): dropdowns show `"note": "Dynamic dropdown — configure in UI"`
**Wit... | diff --git a/docs/mcp/tools.mdx b/docs/mcp/tools.mdx
index 272f29f1cd6b..d6913b15567c 100644
--- a/docs/mcp/tools.mdx
+++ b/docs/mcp/tools.mdx
@@ -51,6 +51,8 @@ Get the detailed input property schema for a specific piece action or trigger. R
| `pieceName` | string | Yes | Piece name (e.g., `@activepieces/piece-slack`)... | 4 | 2 | 0 | [{"id": "G0", "claim": "Providing auth can turn a successful tool call into a hard failure: the setup-phase service calls in resolveDropdownOptions (project and piece-package lookups) sit outside the per-dropdown try/catch, so their exceptions propagate as a full tool failure instead of the graceful fallback that keeps... | null |
activepieces__activepieces__12627 | activepieces/activepieces | 12,627 | defect | 234ac8c2c4848e95722d1a246c180ba107b9b8ec | e8690e602fe3a56a1ab11daff40543184fc8eff4 | fix(mcp): correct step references, preserve trigger data, resolve dynamic inputs | ## Summary
- **Fix 1**: Step output references changed from `{{stepName.output.field}}` to `{{stepName.field}}` — the engine maps step names directly to their output
- **Fix 2**: Trigger updates now merge existing input/propertySettings when same piece+trigger, preventing sample data loss on partial updates
- **Fix 3**... | diff --git a/packages/server/api/src/app/mcp/mcp-service.ts b/packages/server/api/src/app/mcp/mcp-service.ts
index 8db8de37a9f7..ae4f6fb2dbcd 100644
--- a/packages/server/api/src/app/mcp/mcp-service.ts
+++ b/packages/server/api/src/app/mcp/mcp-service.ts
@@ -14,22 +14,23 @@ import { activepiecesTools, ALL_CONTROLLABLE_... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `{} as Record<string, unknown>` fallback cast for sample data in ap-get-piece-props.ts violates the CLAUDE.md no-type-casting rule and should use a typed approach instead.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
activepieces__activepieces__12635 | activepieces/activepieces | 12,635 | defect | 5ce370a20da1d82251caa709a4557b5c93aea13f | b614b48e051d5bdb0fc1d9ea2769cc91670399c6 | feat(mcp): add ap_build_flow tool for one-call flow creation | ## Summary
New `ap_build_flow` tool creates a complete flow (trigger + N steps) in a single MCP call. Uses sequential validated operations internally so all steps are valid on creation.
**Before:** 12 calls for a 5-step flow
**After:** 1 call, all steps valid
Also updates MCP instructions, adds UI tool metadata, and ... | diff --git a/packages/server/api/src/app/mcp/mcp-service.ts b/packages/server/api/src/app/mcp/mcp-service.ts
index ae4f6fb2dbcd..a0a70ba3c718 100644
--- a/packages/server/api/src/app/mcp/mcp-service.ts
+++ b/packages/server/api/src/app/mcp/mcp-service.ts
@@ -19,8 +19,8 @@ const MCP_SERVER_INSTRUCTIONS = `## Activepiece... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `if (!finalFlow)` guard and the `currentFlow!` non-null assertions are dead code because `flowService.update` throws instead of returning null; either remove the guard or, if kept, make it return an error (via mcpToolError) instead of a misleading ✅ success.", "category": "maintainability", ... | null |
activepieces__activepieces__12653 | activepieces/activepieces | 12,653 | defect | 61ef9ac9ae3c6e549a76b13837e723fcb09d1c9b | a06429d098565c39ed85ed03169ae1f7a38cf7e4 | fix: provision user invitations across platforms during signup | Cloud signup with an accepted invitation would create a new platform instead of provisioning the user on the invited enterprise org.
- Change provisionUserInvitation to accept { email } and create user records on each invited platform via getOrCreateWithProject
- Call provisionUserInvitation as safety net in create... | diff --git a/packages/server/api/src/app/authentication/authentication.service.ts b/packages/server/api/src/app/authentication/authentication.service.ts
index 49689175e898..de38ea424097 100644
--- a/packages/server/api/src/app/authentication/authentication.service.ts
+++ b/packages/server/api/src/app/authentication/aut... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new integration test's assertion will always fail because signUp returns the freshly created personal platform token (response is never updated after provisionUserInvitation), so responseBody.platformId is the personal platform's ID, not the enterprise platform's.", "category": "correctness"... | null |
activepieces__activepieces__12662 | activepieces/activepieces | 12,662 | defect | 03e186355b5eb716d5d5021f134b8c7e0ba42295 | 522829842d95efb3c39fa41f62ea9daf68a9c875 | test(worker): lock down isolate sandbox mount bindings | ## Summary
Locks down the worker's isolate sandbox mount bindings with tests and minimal validation guards, motivated by a cross-tenant data leak via invalid mount bindings.
- **Guards added** — reject traversal in `flowVersionId` / `platformId`, reject mounts whose `sandboxPath` escapes `/root/`, hard-assert env key... | diff --git a/packages/server/worker/src/lib/config/configs.ts b/packages/server/worker/src/lib/config/configs.ts
index a3f249fa7806..c9c33d2b9340 100644
--- a/packages/server/worker/src/lib/config/configs.ts
+++ b/packages/server/worker/src/lib/config/configs.ts
@@ -1,7 +1,9 @@
import { environmentMigrations } from '@... | 4 | 2 | 1 | [{"id": "G0", "claim": "Exporting two individually-named functions from isolate.ts violates the CLAUDE.md util-file-exports style rule.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A single '.' value bypasses assertSafePathSegment, letting flo... | null |
activepieces__activepieces__12692 | activepieces/activepieces | 12,692 | defect | 26eb5bbe5e3eee1a1e0877d3e769313930614fd7 | d0721c7b6ac62f7794a22ffeb3f656bef16bfedf | feat(mcp): expose ARRAY schemas, sanitize errors, improve list/validate/publish UX | ## Summary
- **ARRAY item schemas** — `buildPropSummaries` recurses into ARRAY properties to expose item field schemas (fixes agentTools/structuredOutput being opaque)
- **Error sanitization** — `mcpToolError` strips `/root/codes/` and `.bun/` sandbox paths from error messages
- **ROUTER validation UX** — shows valid `... | diff --git a/docs/mcp/tools.mdx b/docs/mcp/tools.mdx
index 244c1561b57d..d21bfd2a70b9 100644
--- a/docs/mcp/tools.mdx
+++ b/docs/mcp/tools.mdx
@@ -10,11 +10,13 @@ These tools are always available (locked) and read-only. They help AI agents und
### ap_list_flows
-List all flows in the current project.
+List flows i... | 2 | 2 | 2 | [{"id": "G0", "claim": "The inputSchema advertises limit as z.number().optional() with no bounds while listFlowsInput enforces .int().min(1).max(MAX_LIMIT), so the advertised schema should be aligned with the validator.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
activepieces__activepieces__12715 | activepieces/activepieces | 12,715 | defect | 9ac2053e15b2dde606276b3de1b6dba78a867b3f | 9696e03e4d2650aeacbb83d1440c789f0e8a83ce | refactor(jwt): introduce typed audiences for internal token issuers | ## Summary
- Add a `JwtAudience` enum and thread it through `jwtUtils.sign` / `jwtUtils.decodeAndVerify` plus the internal token issuers (flow run logs, user invitations, MCP OAuth access & auth-request tokens).
- Bump job-data schema to 7 with a migration that re-signs existing `logsUploadUrl` tokens under the new aud... | diff --git a/packages/server/api/src/app/authentication/lib/access-token-manager.ts b/packages/server/api/src/app/authentication/lib/access-token-manager.ts
index 91c1ac2ab194..ef237e0ae53f 100644
--- a/packages/server/api/src/app/authentication/lib/access-token-manager.ts
+++ b/packages/server/api/src/app/authenticati... | 2 | 1 | 1 | [{"id": "G0", "claim": "VerifyParams.audience is wider than SignParams.audience: it also accepts a bare string, so a typo in a verify call compiles without error; drop the string escape hatch (or narrow it) since all current call sites use JwtAudience.", "category": "design", "verdict": "opposed", "priority": "P2", "sc... | null |
activepieces__activepieces__12727 | activepieces/activepieces | 12,727 | defect | 0c6858698cdce9f55f6fb860ce10fb6696f3aa01 | 71012871135fc3dc1a212de8a5e2b2d28ef594f7 | fix(engine): bind plain http.Agent for worker RPC in STRICT mode | ## Summary
- **Fixes** the canary-observed `Sandbox <id> did not connect within 30 seconds` regression on `NETWORK_MODE=STRICT` + `SANDBOX_PROCESS`. The STRICT-mode ssrf-guard (PR #12724) rebinds `http.globalAgent` to `HttpProxyAgent` so pieces tunnel egress through the loopback proxy. That broke the engine's own work... | diff --git a/packages/server/engine/src/lib/worker-socket.ts b/packages/server/engine/src/lib/worker-socket.ts
index 2f43a91b519d..3fb5c8bcf965 100644
--- a/packages/server/engine/src/lib/worker-socket.ts
+++ b/packages/server/engine/src/lib/worker-socket.ts
@@ -1,3 +1,4 @@
+import http from 'node:http'
import { inspe... | 1 | 1 | 0 | [{"id": "G0", "claim": "The afterEach teardown never disconnects the module-level socket left behind by workerSocket, so after the first test it keeps firing reconnect attempts against the closed server until the variable is silently overwritten, which can leave a running timer, trigger Vitest open-handle warnings, and... | null |
activepieces__activepieces__12760 | activepieces/activepieces | 12,760 | defect | 671b2822a68c0a8d5b654be8c5fde22ceb3f4826 | bfb05564b14b5d12b40d177cc4a685f8731665d8 | feat: list projects by external user id + move /platforms endpoint | ## Summary
- **External-user-scoped project listing** — `GET /v1/projects` now accepts an `externalUserId` query param. When provided, the endpoint returns only the projects visible to the user identified by that external ID on the current platform (and an empty page if no such user exists). The caller's existing acce... | diff --git a/docs/openapi.json b/docs/openapi.json
index 50d2d28cc288..ec2341a89c25 100644
--- a/docs/openapi.json
+++ b/docs/openapi.json
@@ -22223,6 +22223,14 @@
"name": "externalId",
"required": false
},
+ {
+ "schema": {
+ "type": "string"
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "When externalUserId is supplied, resolveAccessFilterUser swaps in the target user's identity without checking that the caller is privileged, so any authenticated platform user can read another user's projects, and there is no test for a non-admin USER passing externalUserId.", "category": "secur... | null |
activepieces__activepieces__12767 | activepieces/activepieces | 12,767 | defect | 2cb6148010a6c2a22900f4c8b08d75cc5c921d1c | bef18b6a94587858622126cd203413bbf4b90c53 | feat(mcp): add ap_run_action tool for one-shot piece execution | ## Summary
Adds a new MCP tool **`ap_run_action`** that runs a single piece action once, without building or saving a flow. For one-shot asks like *"check my inbox"* or *"send one Slack message"* where calling `ap_build_flow` → `ap_add_step` → `ap_test_flow` is overkill.
- Creates a disposable flow (`__adhoc_<apId>__... | diff --git a/docs/mcp/tools.mdx b/docs/mcp/tools.mdx
index d21bfd2a70b9..9e373b2818c4 100644
--- a/docs/mcp/tools.mdx
+++ b/docs/mcp/tools.mdx
@@ -451,3 +451,23 @@ Retry a failed flow run.
- **FROM_FAILED_STEP**: Resume from where it failed, keeping previous step outputs
- **ON_LATEST_VERSION**: Re-run the entire f... | 7 | 3 | 0 | [{"id": "G0", "claim": "The static `destructiveHint: false` misleads MCP clients into auto-approving a generic action runner that can trigger irreversible side effects; omit the field or set it to true.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ex... | null |
activepieces__activepieces__12994 | activepieces/activepieces | 12,994 | defect | faf298f82c8f7c8109b9cb8736146fb1314a7a63 | 42adfa084a7d3aefafa32b3e055038e7480dab2f | fix(mcp): handle expired step data and unblock status-only run filters | ## What does this PR do?
Two papercuts in the MCP run-inspection tools shipped in #12297.
### `ap_get_run` silently returned an empty `Steps:` block for runs past retention
`formatRunResult` and `formatRunSummary` now distinguish three cases instead of emitting a dangling header:
- **non-terminal run** → `Steps: no... | diff --git a/packages/server/api/src/app/flows/flow-run/flow-run-service.ts b/packages/server/api/src/app/flows/flow-run/flow-run-service.ts
index 0038dd3ca166..dbe2166d972f 100644
--- a/packages/server/api/src/app/flows/flow-run/flow-run-service.ts
+++ b/packages/server/api/src/app/flows/flow-run/flow-run-service.ts
@... | 2 | 2 | 0 | [{"id": "G0", "claim": "Passing retentionDays as a parameter (or otherwise reusing one read) would eliminate the double read of EXECUTION_DATA_RETENTION_DAYS per expired run in stepDataUnavailableReason/isStepDataExpired.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
activepieces__activepieces__13057 | activepieces/activepieces | 13,057 | defect | de36ae75f62f4fd9671998d7173b52e3b0760ad9 | 3b7b1349b3196375803f80b10e2a6e43d006f477 | fix(saml): support Microsoft Entra schema-qualified claims and harden SAML response parsing | ## Summary
Customer (Microsoft Entra / Azure AD) hit two errors configuring SAML SSO:
1. `INVALID_SAML_RESPONSE — "should contain firstName, lastName, email fields"` — even when the customer had those fields, because Entra sends `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress` etc., and our valida... | diff --git a/packages/server/api/src/app/ee/authentication/saml-authn/saml-attributes.ts b/packages/server/api/src/app/ee/authentication/saml-authn/saml-attributes.ts
new file mode 100644
index 000000000000..76e7c897b57d
--- /dev/null
+++ b/packages/server/api/src/app/ee/authentication/saml-authn/saml-attributes.ts
@@ ... | 2 | 2 | 0 | [{"id": "G0", "claim": "`parseError.message` may be `undefined` when samlify or its dependencies throw non-Error values, so the surfaced error can read \"Failed to parse SAML response: undefined\"; use a fallback such as `parseError instanceof Error ? parseError.message : String(parseError)`.", "category": "correctness... | null |
activepieces__activepieces__13059 | activepieces/activepieces | 13,059 | defect | fd28cc61d81eae4a45f114610878aaeaf87e7d3e | 0b61ebeb4c7bf3e0f9c8f2212466fc97728ce1ca | feat(chat): add conversation compaction to prevent context window overflow | ## Summary
Adds server-side chat compaction that automatically summarizes older conversation messages when the context window is running out of space. This prevents provider 400 errors on long conversations and reduces token costs.
## How It Works
### Problem
The chat feature stores the entire conversation history in... | diff --git a/bun.lock b/bun.lock
index 7926693e205e..058f85d64ccd 100644
--- a/bun.lock
+++ b/bun.lock
@@ -911,7 +911,7 @@
},
"packages/pieces/community/avian": {
"name": "@activepieces/piece-avian",
- "version": "0.1.0",
+ "version": "0.0.1",
"dependencies": {
"@activepieces/... | 6 | 4 | 4 | [{"id": "G0", "claim": "resolveCompactionState always performs a DB update in chat-service.ts when shouldCompact fires, even when compactMessages returns unchanged values, causing a no-op DB round-trip in steady state; the review asks that the update be skipped in that case.", "category": "performance", "verdict": "unc... | null |
activepieces__activepieces__13071 | activepieces/activepieces | 13,071 | defect | e909bef6e3ac19955a8d81732e7e2155930b5bf8 | 7e147a5f5f19fe8b98a24c91b6607a767a3b2750 | feat: add SSO domain DNS verification (admin-only) | ## Summary
Adds an **SSO Domain** field on the platform with DNS-based ownership verification, surfaced as a new item under Platform Settings → SSO. Non-breaking — admins can opt in to set & verify a domain, but existing SAML setups continue to work unchanged.
- New `ssoDomain` (varchar, unique) and `ssoDomainVerifica... | diff --git a/packages/server/api/src/app/database/migration/postgres/1787100000000-AddSsoDomainVerification.ts b/packages/server/api/src/app/database/migration/postgres/1787100000000-AddSsoDomainVerification.ts
new file mode 100644
index 000000000000..44925b83cc71
--- /dev/null
+++ b/packages/server/api/src/app/databas... | 3 | 3 | 2 | [{"id": "G0", "claim": "The uniqueness check and the update write are not wrapped in a transaction, so two concurrent admin saves can both pass the check and the second write hits the DB unique partial index as an unhandled TypeORM error (HTTP 500) instead of a graceful ActivepiecesError; wrapping the check-to-write bl... | null |
activepieces__activepieces__9594 | activepieces/activepieces | 9,594 | defect | eb351a11f73801895b30a2a2e3879c95662449a8 | 3dce3375027d4985f6c5000be71614e6ed2e4b8f | feat: create a flow version backup file to revert if needed safely |
Fixes #9573 | diff --git a/package-lock.json b/package-lock.json
index 424e1021ee04..a5ae9adf0c29 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "activepieces",
- "version": "0.70.2",
+ "version": "0.70.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"nam... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rename the new jsonb column to simply `backupFiles` instead of `backupsBySchemaVersion`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Extract the inline file-saving block into a function, e.g. `const backupFileId = ...`... | null |
actix__actix-extras__114 | actix/actix-extras | 114 | defect | 134e43ab5e1f200e1eebe0d12a2d0b265a0d6b5e | 176d06347f1bee51f88d851d4ae854c1b7dee2e7 | Panic on wildcard in Cors builder's allowed_origin() | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to make our reviews easy. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
Check your PR fulfills the following:
<!-- Fo... | diff --git a/actix-cors/CHANGES.md b/actix-cors/CHANGES.md
index ad651ed704..83962a7dbe 100644
--- a/actix-cors/CHANGES.md
+++ b/actix-cors/CHANGES.md
@@ -2,6 +2,7 @@
## Unreleased - 2020-xx-xx
+* Disallow `*` in `Cors::allowed_origin` by panicking. [#112].
## 0.4.1 - 2020-10-07
* Allow closures to be used wit... | 3 | 2 | 0 | [{"id": "G0", "claim": "The changelog entry should reference pull request #114 instead of #112, with a link definition for [#114] added.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc statement that allowed_origin panics when the origin is... | null |
actix__actix-extras__281 | actix/actix-extras | 281 | defect | a623c50e9c3d8ab25643ce2f660fe29a2ca5dc8c | f130eddd477d312ef7b9a2215526ced9aa4c0844 | Limitation: custom key from closure | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to make our reviews easy. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
<!-- Check your PR fulfills the following items.... | diff --git a/actix-limitation/CHANGES.md b/actix-limitation/CHANGES.md
index 73a7b40922..0c3cd2ef18 100644
--- a/actix-limitation/CHANGES.md
+++ b/actix-limitation/CHANGES.md
@@ -5,7 +5,7 @@
- `RateLimiter` is marked `#[non_exhaustive]`; use `RateLimiter::default()` instead.
- In the middleware errors from the count ... | 2 | 2 | 2 | [{"id": "G0", "claim": "If the key resolver were wrapped in Rc/Arc (at the GetKeyFn type) instead of being stored as a bare Box, Limiter could keep deriving Clone and the change could be semver-minor instead of breaking.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
actix__actix-extras__459 | actix/actix-extras | 459 | defect | dd20ebb6cbe2e1e62dcb2b143d8c5e09b472123c | ae021a61a79e3ce4da92581e75a04b16c5f537fc | implement contains_key, update, update_or | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to make our reviews easy. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
<!-- Check your PR fulfills the following it... | diff --git a/actix-session/CHANGES.md b/actix-session/CHANGES.md
index 7cbff05904..20f378963f 100644
--- a/actix-session/CHANGES.md
+++ b/actix-session/CHANGES.md
@@ -2,6 +2,10 @@
## Unreleased
+- Add `session.update(key, updater)`
+- Add `session.update_or(key, updater, default_value)`
+- Add `session.contains_ke... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `updater` and `default_value` parameters of `Session::update_or` should be reordered so that the default value comes before the updater, to match std's `map_or` convention.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
actix__actix-net__207 | actix/actix-net | 207 | defect | 704af672b9ae1b80c1bbaf5cf2dfedfd6e5a8e21 | c6467304a1676f8f9c853f53fe09a0de7017f115 | remove RUNNING Q PENDING thread locals from actix-rt | ## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Bug Fix
## PR Checklist
Check your PR fulfills the following:
<!-- For draft PRs check the boxes as you complete them. -->
- [x] Tests for the changes have been added / updated.
- [x] Do... | diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md
index 9b5fb63610..0b9ea4c16c 100644
--- a/actix-rt/CHANGES.md
+++ b/actix-rt/CHANGES.md
@@ -6,6 +6,18 @@
* Add `System::attach_to_tokio` method. [#173]
+### Changed
+
+* Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`... | 4 | 4 | 2 | [{"id": "G0", "claim": "Restore the `#![deny(rust_2018_idioms)]` lint attribute this PR removed from actix-rt/src/lib.rs, but do not restore `deny(warnings)` along with it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Removing `Arbiter::local_... | null |
actix__actix-net__282 | actix/actix-net | 282 | defect | 8d74cf387dc20b4eb022ec5a52c2e1fb2bff0a8a | 17f711a9d659a2bb6a598688243aae1f3ba21957 | add local_addr binding to connector service | ## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
Check your PR fulfills the following:
<!-- For draft PRs check the boxes as you complete them. -->
- [x] Tests for the changes have been added / updated.
- [x] Do... | diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md
index 59a4641c1d..db9e538b53 100644
--- a/actix-rt/CHANGES.md
+++ b/actix-rt/CHANGES.md
@@ -2,8 +2,10 @@
## Unreleased - 2021-xx-xx
* Add `ActixStream` extension trait to include readiness methods. [#276]
+* Re-export `tokio::net::TcpSocket` in `net` module [#2... | 4 | 2 | 1 | [{"id": "G0", "claim": "A comment should be dropped on the set_reuseaddr(true) call in the new connect() helper to explain it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unconditional set_reuseaddr(true) can be removed so locally-bound soc... | null |
actix__actix-net__301 | actix/actix-net | 301 | defect | 26a5af70cbad142680d4e0924d3d6623514a3816 | 0b2f1ef259a6b0c6ca9ad9771808cbbd17ff883e | refactor crates for better api stability | ## PR Type
Refactor / Semver improvement
## PR Checklist
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] A changelog entry has been made for the appropriate packages.
- [x] Format code with the latest stable rustfmt
## Overview
- actix... | diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000000..7778841033
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,3 @@
+[alias]
+lint = "hack --clean-per-run clippy --workspace --tests --examples"
+chk = "hack check --workspace --tests --examples"
diff --git a/Cargo.toml b/Cargo.t... | 6 | 4 | 1 | [{"id": "G0", "claim": "The Dispatcher does not belong in actix-codec and should be moved out (e.g. to actix-http), because shipping it there ties every codec user to actix-service and actix-rt changes although it is in practice only usable together with actix-http.", "category": "design", "verdict": "supported", "prio... | null |
actix__actix-net__328 | actix/actix-net | 328 | defect | 3c1f57706ace5ea222ab7414bdebe67a862c9229 | edb40716a53b5ef8760107e27e9488642c998922 | add test for restart worker thread | ## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Refactor
## PR Checklist
Check your PR fulfills the following:
<!-- For draft PRs check the boxes as you complete them. -->
- [x] Tests for the changes have been added / updated.
- [x] D... | diff --git a/actix-server/src/worker.rs b/actix-server/src/worker.rs
index 801467f8cb..8d89fccd24 100644
--- a/actix-server/src/worker.rs
+++ b/actix-server/src/worker.rs
@@ -135,6 +135,13 @@ pub(crate) struct ServerWorker {
shutdown_timeout: Duration,
}
+/// Set worker to unavailable when dropping.
+impl Drop ... | 2 | 2 | 0 | [{"id": "G0", "claim": "When a worker thread panics and the worker is dropped, there is a race where the drop does not prevent new connections from being accepted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Closing the channel in ServerWorker'... | null |
actix__actix-net__393 | actix/actix-net | 393 | defect | 00775884f801f6fde40967b7243fa82a69125790 | 848479687909af45ba2b39d0e01923f74380ab92 | add timeout for accepting tls connections | ## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Bug Fix
## PR Checklist
Check your PR fulfills the following:
<!-- For draft PRs check the boxes as you complete them. -->
- [x] Tests for the changes have been added / updated.
- [x] Fo... | diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml
index 00082278ae..df97b83b9f 100755
--- a/actix-tls/Cargo.toml
+++ b/actix-tls/Cargo.toml
@@ -49,6 +49,7 @@ derive_more = "0.99.5"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
http = { version = "0.2.3", optional = true }... | 1 | 1 | 0 | [{"id": "G0", "claim": "The acceptor future should use the `Timeout` future (e.g. `Timeout<Accept<T>>`) instead of a separate pinned `Sleep` field, which would simplify poll to a single map.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
actix__actix-net__426 | actix/actix-net | 426 | defect | 8c4ec34cd4faeab4b23c8d9a00291433f8ffa1b7 | e0fa4c3ef13b6ed0e231d5f5efc9e43ccc3a5b9b | Server: run after await | ## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
Check your PR fulfills the following:
<!-- For draft PRs check the boxes as you complete them. -->
- [x] Tests for the changes have been added / updated.
- [x] Do... | diff --git a/actix-server/CHANGES.md b/actix-server/CHANGES.md
index 3c1c32c7e7..8e7a146e2e 100644
--- a/actix-server/CHANGES.md
+++ b/actix-server/CHANGES.md
@@ -2,8 +2,10 @@
## Unreleased - 2021-xx-xx
* Hide implementation details of `Server`. [#424]
+* `Server` now runs only after awaiting it. [#425]
[#424]: ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the forced-shutdown case the stop messages are no longer sent to the workers, so workers should still receive the stop signal when the shutdown is not graceful.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
actix__actix-net__463 | actix/actix-net | 463 | defect | 283974f3e6d487ae257c93542126dcca73ee547e | cd03e2a78d3e811e609ba27c47cd60144a71604a | normalize logs capital letter | ## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Refactor / Code Style
## PR Checklist
Check your PR fulfills the following:
<!-- For draft PRs check the boxes as you complete them. -->
- [ ] Tests for the changes have been added / upda... | diff --git a/actix-server/examples/file-reader.rs b/actix-server/examples/file-reader.rs
index 81b7373a45..e7ff42f599 100644
--- a/actix-server/examples/file-reader.rs
+++ b/actix-server/examples/file-reader.rs
@@ -74,7 +74,7 @@ async fn run() -> io::Result<()> {
// close connection after file has been... | 2 | 1 | 0 | [{"id": "G0", "claim": "The log messages in this match arm use inconsistent capitalization, mixing actix/Actix and tokio/Tokio.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Because criterion's dependency started to use edition 2021, testing on... | null |
actix__actix-net__90 | actix/actix-net | 90 | defect | e5b5df1261dd30dab2d2f55aeb253b2f751f5fb6 | a970c2c997f123de775cc20946f9565aaa123c98 | Tweak GitHub Actions | - Separate GHA config files
- Fix installation of OpenSSL on Windows builders
- Run full tests on windows-gnu
- Remove AppVeyor config
- Fix/suppress Clippy warnings | diff --git a/.appveyor.yml b/.appveyor.yml
deleted file mode 100644
index 55f6c8c219..0000000000
--- a/.appveyor.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-environment:
- global:
- PROJECT_NAME: actix-net
- matrix:
- # Stable channel
- - TARGET: i686-pc-windows-msvc
- CHANNEL: stable
- - TARGET: x86_64-pc-w... | 2 | 1 | 0 | [{"id": "G0", "claim": "The Clippy check workflow should run on the stable toolchain instead of nightly, since no unstable Clippy features appear to be used.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rustc linter requirements could be hardened wit... | null |
actix__actix-net__94 | actix/actix-net | 94 | defect | 6908b589435bac24fb69249ed0b9ebabc4f53b05 | d29fc175ed3a56280ff1a52247440aaeeb749919 | Allow awaiting for futures spawned on current arbiter | This PR includes essentially two changes: (1) a basic integration test is added, the test validate runtime execution semantics using `tokio::time::delay_for` and elapsed time to ensure futures are being driven to completion; (2) a `Arbiter::local_join` function was added, I'll focus the rest of this description about i... | diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md
index 7c7ad63de6..254c9117da 100644
--- a/actix-rt/CHANGES.md
+++ b/actix-rt/CHANGES.md
@@ -1,5 +1,9 @@
# Changes
+## [TBD] - [TBD]
+
+- Add `Arbiter::local_join` assiciated function to get be able to await for spawned futures
+
## [1.0.0] - 2019-12-11
* Upd... | 1 | 1 | 0 | [{"id": "G0", "claim": "The CHANGES.md entry should read `Add `Arbiter::local_join` associated function to get be able to `await` for spawned futures` instead of the misspelled version without the code backticks.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
actix__actix-web__1491 | actix/actix-web | 1,491 | defect | b0866a8a0fbdc728afa49e115934ec78cf59634d | 3dc1adb70c46310dab28ae0789452dd25bfd684e | Remove content_length from ResponseBuilder | Remove content_length from ResponseBuilder, since it'll be overwritten by the response body
FIXES #1439 | diff --git a/MIGRATION.md b/MIGRATION.md
index 672aa253e38..f835b93c2e3 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -5,6 +5,8 @@
To create a cookie without a SameSite attribute, remove any calls setting same_site.
* actix-http support for Actors messages was moved to actix-http crate and is enabled
with fea... | 2 | 2 | 1 | [{"id": "G0", "claim": "The removal should be mentioned in the CHANGELOG and MIGRATION docs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new MIGRATION.md bullet should say content_length was removed from actix-http, not actix-files.", "cate... | null |
actix__actix-web__1677 | actix/actix-web | 1,677 | defect | f8615087893863a35f3e835068dd833ce5c5af5b | aa3b267f2f87d2a6fe9f6ee705bdf895db9e0f37 | add trybuild tests to routing codegen | ## PR Type
Tests
## PR Checklist
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] A changelog entry has been made for the appropriate packages.
- [x] Format code with the latest stable rustfmt
## Overview
Adds groundwork for `trybuild` ... | diff --git a/actix-web-codegen/CHANGES.md b/actix-web-codegen/CHANGES.md
index b735be9cee7..5c0ce828a4f 100644
--- a/actix-web-codegen/CHANGES.md
+++ b/actix-web-codegen/CHANGES.md
@@ -1,6 +1,9 @@
# Changes
## Unreleased - 2020-xx-xx
+* Added compile success and failure testing. [#1677]
+
+[#1677]: https://github.c... | 1 | 1 | 0 | [{"id": "G0", "claim": "The trailing slash on the API Documentation link in README.md hits the eye; it should read https://docs.rs/actix-web-codegen without the trailing '/'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
actix__actix-web__1827 | actix/actix-web | 1,827 | defect | 542db82282ab0455a28bd006d147c5510035f634 | 54ea1d5b336e840bee4f9d09d4d8b7b9722b9bbf | Intradoc links conversion | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to make our reviews easy. -->
## PR Type
Intradoc links conversion and fixing broken links in documentation
## PR Checklist
Check your PR fulfills the following:
<!-- For draft PRs check the boxes as you complete them.... | diff --git a/README.md b/README.md
index b9f2b759402..3dfb435faa4 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
<p>
[](https://crates.io/crates/actix-web)
-[](https://doc... | 3 | 3 | 2 | [{"id": "G0", "claim": "The version-specific docs.rs links in the READMEs are intentional, so the README link changes should be reverted (e.g. restore the docs.rs/actix-web/3.3.2 badge link), since crates.io caches the readme and versioned links make releases easier for the maintainer.", "category": "documentation", "v... | null |
actix__actix-web__1864 | actix/actix-web | 1,864 | defect | 522c9a5ea6eb45c1350a20b4d34d62908f736a78 | 9cd7c2f074d8c111aff73a0cc95e3e1defa42dbe | use ByteString as container for websocket text message | ## PR Type
Improvement
## PR Checklist
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] A changelog entry has been made for the appropriate packages.
- [x] Format code with the latest stable rustfmt
## Overview
Use `ByteString` as the c... | diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md
index c43246bb048..09141459e06 100644
--- a/actix-http/CHANGES.md
+++ b/actix-http/CHANGES.md
@@ -3,6 +3,7 @@
## Unreleased - 2020-xx-xx
### Changed
* Bumped `rand` to `0.8`
+* The `ws::Message::Text` enum variant now contains a `bytestring::ByteString`.
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The move to bytes v1 should happen before this change, so that the added `as_ref` call with its 'remove when bytes v1 is used' TODO workaround is unnecessary.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Codec::new should be mad... | null |
actix__actix-web__196 | actix/actix-web | 196 | defect | f89b7a9bb800965e263575ebd7bb09e2866cd852 | b7b61afaccf718ecb37cbc67260ad59ef34908c3 | Websocket close reason | Closes #193
Fixes:
- Fix a panic in the websocket client if it receives a close frame without a close code (similar to #191)
Breaking Changes:
- Remove `CloseCode::Empty` and `CloseCode::Status`, which are replaced with `Option::None`
- Add `CloseReason` which includes both the `CloseCode` and description. Si... | diff --git a/src/ws/client.rs b/src/ws/client.rs
index 522ae02af10..5a8f10e04e3 100644
--- a/src/ws/client.rs
+++ b/src/ws/client.rs
@@ -5,7 +5,6 @@ use std::time::Duration;
use std::{fmt, io, str};
use base64;
-use byteorder::{ByteOrder, NetworkEndian};
use bytes::Bytes;
use cookie::Cookie;
use futures::unsync:... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new close frame code mixes spaces and tabs and should use the same indentation style as the rest of the codebase.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
actix__actix-web__2046 | actix/actix-web | 2,046 | defect | 78384c3ff57f2fee1820cdb13a720cbf75de54e9 | c287114009e7bb5858d7ee144b41c88f94a4c299 | add support of filtering guards in Files of actix-files | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to get your PR reviewed quicker. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
<!-- Check your PR fulfills the following... | diff --git a/actix-files/src/files.rs b/actix-files/src/files.rs
index 6f8b28bbf85..bb0ec12af95 100644
--- a/actix-files/src/files.rs
+++ b/actix-files/src/files.rs
@@ -36,7 +36,8 @@ pub struct Files {
renderer: Rc<DirectoryRenderer>,
mime_override: Option<Rc<MimeOverride>>,
file_flags: named::Flags,
- ... | 2 | 1 | 1 | [{"id": "G0", "claim": "Removing the `Clone` impl for `Files` is unnecessary and should not be part of this change.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The empty-check/take block in `register` can be simplified to `self.guards.take()` via the ... | null |
actix__actix-web__2226 | actix/actix-web | 2,226 | defect | b1e841f1686c9eb681155cdeff4fadda14c0b5ce | 717b499c26e773d2d6890134bf681ec24001b411 | Extends Rustls ALPN protocols instead of replacing them when creating Rustls based services | ## PR Type
Feature
## PR Checklist
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] A changelog entry has been made for the appropriate packages.
- [x] Format code with the latest stable rustfmt.
- [x] (Team) Label with affected crates and s... | diff --git a/CHANGES.md b/CHANGES.md
index 8553ca82db2..7e6c9656dc0 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -3,6 +3,7 @@
## Unreleased - 2021-xx-xx
### Added
* `HttpServer::worker_max_blocking_threads` for setting block thread pool. [#2200]
+* Added `TestServer::get_negotiated_alpn_protocol` method.
### Chang... | 7 | 5 | 2 | [{"id": "G0", "claim": "The new test test_alpn_h1_1 should also assert negotiation of the http/1.1 ALPN protocol, not only the custom one.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test_alpn_h1_1 duplicates test_alpn_h1, so one of the two tests shoul... | null |
actix__actix-web__2409 | actix/actix-web | 2,409 | defect | 6b3ea4fc619ea0c3951d1beefdb13c131e43fd7e | e0dc3d90cb84f1fd24291ea894b022f594060cf2 | add test runtime macro | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to get your PR reviewed quicker. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
<!-- Check your PR fulfills the following... | diff --git a/Cargo.toml b/Cargo.toml
index dc7e9af3f8f..269052547f6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -69,7 +69,7 @@ __compress = []
[dependencies]
actix-codec = "0.4.0"
-actix-macros = "0.2.1"
+actix-macros = "0.2.2"
actix-router = "0.5.0-beta.2"
actix-rt = "2.2"
actix-server = "2.0.0-beta.3"
diff --g... | 1 | 1 | 0 | [{"id": "G0", "claim": "The CHANGES.md edit at S1 is wrong because it replaces the existing unreleased entry ('Improve error recovery potential when macro input is invalid. [#2410]' and its link reference) with the new macro entry instead of adding the new entry alongside it.", "category": "documentation", "verdict": "... | null |
actix__actix-web__2718 | actix/actix-web | 2,718 | defect | 6a5b37020676fdfed4b8c7466d8542904bca825c | f73c5406cb2bd29a23ba0e15510c2f21ae5afd1e | `routes` macro allowing multiple paths per handler | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to get your PR reviewed quicker. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
<!-- Check your PR fulfills the following items. --... | diff --git a/actix-web-codegen/CHANGES.md b/actix-web-codegen/CHANGES.md
index 8ee787c0a42..b999bfcabd0 100644
--- a/actix-web-codegen/CHANGES.md
+++ b/actix-web-codegen/CHANGES.md
@@ -1,6 +1,9 @@
# Changes
-## Unreleased - 2021-xx-xx
+## Unreleased - 2022-xx-xx
+- Added `#[actix_web::routes]` macro to support multi... | 3 | 3 | 0 | [{"id": "G0", "claim": "Add a negative trybuild test for the `routes` macro used without any actual routes supplied (compile_fail case).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring should say \"itself\" instead of the typo \"it self\"."... | null |
actix__actix-web__2752 | actix/actix-web | 2,752 | defect | dce57a79c96a2c7d5946491df317d9da0d1e1869 | fcba8a385805405d2733ddb56391e187604dcc34 | Expose option for setting TLS handshake timeout | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to get your PR reviewed quicker. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
<!-- Check your PR fulfills the following... | diff --git a/actix-http/src/lib.rs b/actix-http/src/lib.rs
index 360cb86fc54..2544d6012d9 100644
--- a/actix-http/src/lib.rs
+++ b/actix-http/src/lib.rs
@@ -69,6 +69,8 @@ pub use self::payload::{BoxedPayloadStream, Payload, PayloadStream};
pub use self::requests::{Request, RequestHead, RequestHeadType};
pub use self:... | 1 | 1 | 1 | [{"id": "G0", "claim": "Modifying the existing `openssl`/`rustls` methods' signatures is a breaking API change that cannot be merged; a new method should be added instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}] | null |
actix__actix-web__2966 | actix/actix-web | 2,966 | defect | 6627109984ac72791443ddc8a85b30dc62a05350 | 58fd9e149eaa6d85b6d22cd04f63dbc8e2aa1126 | Update base64 to 0.21 | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to get your PR reviewed quicker. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Dependency update
## PR Checklist
<!-- Check your PR fulfills the... | diff --git a/actix-http-test/CHANGES.md b/actix-http-test/CHANGES.md
index 028fe3ddc1f..24670dd8897 100644
--- a/actix-http-test/CHANGES.md
+++ b/actix-http-test/CHANGES.md
@@ -2,6 +2,7 @@
## Unreleased - 2022-xx-xx
- Minimum supported Rust version (MSRV) is now 1.59.
+- Update `base64` to `0.21`.
## 3.0.0 - 2... | 3 | 3 | 0 | [{"id": "G0", "claim": "Remove the changelog entries for the base64 bump, since these are not user-facing changes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the base64 prelude is being used, import it wholesale (use base64::prelude::*;)... | null |
actix__actix-web__3116 | actix/actix-web | 3,116 | defect | cbf5e948db5237c0efc359fac19e116ec4c1d561 | 444e9b68fe9dcfe6737821f032014f509a483c4e | Actix Web Rustls v0.21 support | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to get your PR reviewed quicker. -->
## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Feature
## PR Checklist
<!-- Check your PR fulfills the follo... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fdd6f0f9abd..f071ec8f3c2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,7 +69,7 @@ jobs:
run: |
cargo test --lib --tests -p=actix-router --all-features
cargo test --lib --tests -p=actix-htt... | 3 | 3 | 1 | [{"id": "G0", "claim": "In actix-web's Cargo.toml the new `rustls-0_21` feature wrongly enables the Rustls 0.20 dependencies (`actix-http/rustls-0_20`, `actix-tls/rustls-0_20`) instead of the 0.21 ones, so enabling Rustls v0.21 support would not enable the crate's v0.21-gated code.", "category": "correctness", "verdict... | null |
actix__actix-web__3136 | actix/actix-web | 3,136 | defect | 37d304b0f2b673e7b009902ecdd9c5bbb86aea2d | f9bd3472a27694aa2e258ba471ae0f7a22a3d62c | Scope macro | <!-- Thanks for considering contributing actix! -->
<!-- Please fill out the following to get your PR reviewed quicker. -->
## PR Type
Start of adding proc macro scope feature based on issue #1709.
## PR Checklist
<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you... | diff --git a/actix-web-codegen/CHANGES.md b/actix-web-codegen/CHANGES.md
index 00e36b037a7..330db4ec83c 100644
--- a/actix-web-codegen/CHANGES.md
+++ b/actix-web-codegen/CHANGES.md
@@ -2,6 +2,10 @@
## Unreleased
+## 4.2.3
+
+- Add a scope macro that takes a path
+
## 4.2.2
- Fix regression when declaring `wrap... | 2 | 2 | 1 | [{"id": "G0", "claim": "Fix the grammar in the scope macro's doc note: 'the macro generate struct' should read 'generates' and 'create public module' should read 'creates', each sentence ending with a period.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
actix__actix-web__3737 | actix/actix-web | 3,737 | defect | 30f7df585368a7fb9ad2c16394c78eeb7962bc9d | 041bd071ba84903abf4cd941daddd7bd3d327ea8 | fix(actix-web): improve streaming response behavior for Content-Length and Content-Type | ## PR Type
<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
Bug Fix
## PR Checklist
<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->
- [x] Tests for the changes have been added / u... | diff --git a/actix-web/CHANGES.md b/actix-web/CHANGES.md
index ab40eea9840..85b9c60631b 100644
--- a/actix-web/CHANGES.md
+++ b/actix-web/CHANGES.md
@@ -2,6 +2,9 @@
## Unreleased
+- `actix_web::response::builder::HttpResponseBuilder::streaming()` now sets `Content-Type` to `application/octet-stream` if `Content-Ty... | 1 | 1 | 1 | [{"id": "G0", "claim": "The added Content-Length handling in `streaming()` won't do anything because of the h1 encoder's behavior, and the PR should instead encourage using SizedStream when the size is known (which also plays better with body-altering middleware like compression).", "category": "correctness", "verdict"... | null |
actix__actix-web__498 | actix/actix-web | 498 | defect | 66881d7dd196eb7a588b576e6e4654362c326cf4 | c3c6a893855d21c5bd7d1d7c9b7e5ec24f010ee1 | Fix Issue #490 | Includes a testcase to check for the reason text in an HTTP 404 response.
The router has a default handler for 404 responses that correctly sends the "Not Found" reason in the response, because it uses the normal HTTP Response writing code.
If no handler is found (i.e. no routes), then the HTTP1 handler creates a... | diff --git a/src/server/error.rs b/src/server/error.rs
index 5bd0bf83bd0..6260e4b1924 100644
--- a/src/server/error.rs
+++ b/src/server/error.rs
@@ -21,7 +21,12 @@ impl HttpHandlerTask for ServerError {
bytes.reserve(helpers::STATUS_LINE_BUF_SIZE + 1);
helpers::write_status_line(self.0, self.1... | 3 | 2 | 0 | [{"id": "G0", "claim": "The server should leave out the reason text entirely for unknown status codes rather than emitting the placeholder `<unknown status code>`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test `test_issue_490` should be na... | null |
actix__actix-web__870 | actix/actix-web | 870 | defect | 1eb89b83751b14267d935aae0d82af565c2bc9d1 | 686cdbc165ff6e1acdcbdbf6d932329f525c86a3 | Don't DISCONNECT from stream when reader is empty | This should fix #868
The issue seemed to be that `read_available` would return `true` when nothing has been read from the stream, which disconnects the connection. However, for chunked transfers, it could be that nothing is read from the stream at some point (?) | diff --git a/actix-http/src/h1/dispatcher.rs b/actix-http/src/h1/dispatcher.rs
index 131811a9e43..ab2e4469640 100644
--- a/actix-http/src/h1/dispatcher.rs
+++ b/actix-http/src/h1/dispatcher.rs
@@ -799,7 +799,7 @@ where
match read {
Ok(n) => {
if n == 0 {
- retur... | 2 | 2 | 2 | [{"id": "G0", "claim": "The `n == 0` branch must return `Ok(Some(true))` because `n == 0` is a disconnect, not `Ok(Some(false))` as this change makes it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "This very sensitive part of the code needs a tes... | null |
actix__actix__111 | actix/actix | 111 | defect | 96d45d143403d7cb86bafb05933b026982165a24 | 0a1d705a7c99710d51daa610e5d3bd11dd78cba5 | Arbiter: optionally stop system if Actor/Arbiter panics | When an Actor panics in an Arbiter, the Arbiter thread stops but no
other action is taken, the rest of the program continues to run. Only if
a sender is using try_send or send will they notice the failure. This
can lead to surprising circumstances where a program will appear to be
running but instead silently misbe... | diff --git a/src/arbiter.rs b/src/arbiter.rs
index 52e6ac4fa..4f4820cba 100644
--- a/src/arbiter.rs
+++ b/src/arbiter.rs
@@ -32,20 +32,48 @@ thread_local!(
/// can belongs to specific `System` actor.
pub struct Arbiter {
stop: Option<Sender<i32>>,
+ stop_system_on_panic: bool,
}
impl Actor for Arbiter {
... | 5 | 3 | 0 | [{"id": "G0", "claim": "The documentation of the stop_system_on_panic builder setter should note that the option defaults to false.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A few lines should be added to the Arbiter docs describing the panic... | null |
actix__actix__266 | actix/actix | 266 | defect | 4492d95cf1dd8d3518c1487fe2a91390ab82e316 | 4c715e69a79a4de952f631333f4ddc38af869114 | Add Context::connected | If an actor registers an event, the actor does not stop when all addresses to it get dropped.
This behavior is not desirable in some cases like an actor periodically polls an expensive API and works as a cache.
This PR adds `connected` method to `Context`, which allows spawned future to check whether there is an aliv... | diff --git a/src/context.rs b/src/context.rs
index 929c67f0c..757623c55 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -144,6 +144,10 @@ where
pub fn set_mailbox_capacity(&mut self, cap: usize) {
self.parts.set_mailbox_capacity(cap)
}
+
+ pub fn connected(&self) -> bool {
+ self.parts.... | 2 | 2 | 0 | [{"id": "G0", "claim": "CHANGES.md should also be updated with an entry for this pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a documentation comment to the new Context::connected method.", "category": "documentation", "verdict... | null |
actix__actix__357 | actix/actix | 357 | defect | cfb5f09d640a9bb469d5137c2024f0ed56c6a2dd | 93713e65e435d7696926292bb01f06f567354650 | Add new AtomicResponse | It has been pointed out and discussed on #308, #334 and on gitter a possible data race when handling messages asynchronously and a note about it has been added to the docs on #326. This offers a easy to use `MessageResponse` to the users that will be spawned into the Actor's context with a `AsyncContext::wait` call.
... | diff --git a/CHANGES.md b/CHANGES.md
index df2bee100..1bf0c35cc 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -2,6 +2,10 @@
## [TBD] TBD
+## Added
+
+* New `AtomicResponse`, a `MessageResponse` with exclusive poll over actor's reference. [#357]
+
## Changed
* Require `Pin` for `ResponseActFuture`. [#355]
diff --... | 1 | 1 | 0 | [{"id": "G0", "claim": "Hide the doc example's setup lines (imports and type definitions), as they are a bit long to be displayed on the docs.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
actix__actix__376 | actix/actix | 376 | defect | b7c7237223dae46d27426799a48b4354c4376f54 | 4959f9fb88f677b5abef413c71c821febb3b0095 | Fix ActorFuture::poll_next impl for StreamThen | Old implementation would lose the stored future if it wasn't immediately ready
as reported on #375
I've also updated the `test_stream_timeout` to also use the `then` method so we ensure it doesn't break again in the future.
fixes #375 | diff --git a/CHANGES.md b/CHANGES.md
index 700f18ee8..16aeb3487 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -8,6 +8,12 @@
[#365]: https://github.com/actix/actix/pull/365
+## Fixed
+
+* Fix ActorFuture::poll_next impl for StreamThen to not lose inner future when it's pending. [#375]
+
+[#375]: https://github.com/ac... | 1 | 1 | 0 | [{"id": "G0", "claim": "The CHANGES.md entry added by this pull request should reference this pull request itself ([#376], with the identifier in backticks) instead of pointing to [#375] and its link definition.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
actix__actix__507 | actix/actix | 507 | defect | 216c68d43a53878f838feb48c974e4a59246939a | a233baf7ffba974442620e50d66217188f022e6c | Remove Resolver Actor | I'm sorry for the delay. I got sidetracked and forgot to commit and push my code.
## PR Type
Refactor / Removal of deprecated feature
## PR Checklist
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated. (removed related docs)
- [x] A changelog entry ... | diff --git a/actix/CHANGES.md b/actix/CHANGES.md
index 9e43ae2da..ca450cfc1 100644
--- a/actix/CHANGES.md
+++ b/actix/CHANGES.md
@@ -20,6 +20,9 @@
[#499]: https://github.com/actix/actix/pull/499
[#501]: https://github.com/actix/actix/pull/501
+### Removed
+- Removed `Resolver` actor [#451]
+
## 0.11.1 - 2021-03-... | 2 | 2 | 1 | [{"id": "G0", "claim": "The 'Removed `Resolver` actor' changelog entry should be added under the \"Unreleased\" section rather than in its current spot.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request would also need to remove the ... | null |
actix__actix__567 | actix/actix | 567 | defect | d7aab0a0f439679a570d08aaa6972ad8b60003de | 4699af3bfffb8f2eb86b4bc871c1ff9fb5072e8f | Expose `actix::ContextFut::restart` to public API | ## PR Type
Feature
## PR Checklist
Check your PR fulfills the following:
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] A changelog entry has been made for the appropriate packages.
- [x] Format code with the latest stable rustfmt
#... | diff --git a/actix/CHANGES.md b/actix/CHANGES.md
index 191f3e443..f779e9866 100644
--- a/actix/CHANGES.md
+++ b/actix/CHANGES.md
@@ -8,6 +8,7 @@
- Add `SyncArbiter::start_with_thread_builder()`.
- Derive `PartialEq` and `Eq` for `MailboxError`.
+- Expose `ContextFut::restart`.
- Minimum supported Rust version (MSR... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `Expose `ContextFut::restart`.` changelog entry should be moved to the \"unreleased\" section instead of sitting under 0.13.1.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Before making `ContextFut::restart` public, a... | null |
actix__actix__67 | actix/actix | 67 | defect | 655115be26d489f4c17f577f01e9b2470b1598d6 | f965746d7a55dd924d43f9ef13d39c6dd4b52c09 | Fix index usage during iteration for future cancellation | The iteration range is calculated once before starting the loop. During
the iterations the container might change it's size and the index access
fails. This patch is a minimal invasive modification fix in order to
keep the index access style used in `ContextImpl`.
Fixes #66. | diff --git a/src/contextimpl.rs b/src/contextimpl.rs
index 2ea73df19..7305d0e80 100644
--- a/src/contextimpl.rs
+++ b/src/contextimpl.rs
@@ -237,8 +237,12 @@ impl<A> ContextImpl<A> where A: Actor, A::Context: AsyncContext<A>
while self.handles.len() > 2 {
let handle = self.handles.pop().un... | 2 | 2 | 1 | [{"id": "G0", "claim": "The cancelled-handle removal loop in src/contextimpl.rs should replace the `for` loop (with its dead `idx == self.items.len()` break check) with a `while` loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The test_stre... | null |
actonlang__acton__2683 | actonlang/acton | 2,683 | defect | 67b19ee954768cc843f23f4378047e3624926b29 | 8377c1879d9b365f346098fc487b25cb779b2f40 | Add stress testing mode | Acton's existing test flow is strong for functional correctness, but it can under-exercise concurrency faults when tests run in isolation. That is a blind spot for races in shared state, FFI boundaries, and C threading behavior where failures often require specific overlap timing. A dedicated stress mode is needed to r... | diff --git a/base/src/testing.act b/base/src/testing.act
index 45b2551e1..c333842a9 100644
--- a/base/src/testing.act
+++ b/base/src/testing.act
@@ -963,6 +963,7 @@ class TestInfo(object):
class TestRunnerConfig(object):
perf_mode: bool
+ stress_mode: bool
max_iter: int
min_iter: int
max_time:... | 2 | 1 | 1 | [{"id": "G0", "claim": "The same command path still forwards --max-iter with the parser default (10^6), so stress runs terminate once they hit that iteration ceiling instead of running until interrupted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
actor-framework__actor-framework__1070 | actor-framework/actor-framework | 1,070 | defect | 4ec4fc01baf340ebd3a98d3285e768a39ac61889 | 9bfcfec1d9929abb15ce4c7135c6dd6e87a614fa | Make sure BASP nodes agree on a single connection | Big thanks to @PolyB for providing lots of pointers that helped to track down the bug in the routing table!
This change fixes a race on the routing tables when spinning up multiple connections between two nodes simultaneously. With 2 nodes A and B, this is the sequence causing an error:
- A publish an actor on po... | diff --git a/libcaf_io/caf/io/basp/header.hpp b/libcaf_io/caf/io/basp/header.hpp
index ccbc524bf3..71d66d0872 100644
--- a/libcaf_io/caf/io/basp/header.hpp
+++ b/libcaf_io/caf/io/basp/header.hpp
@@ -63,9 +63,13 @@ struct header {
header() = default;
- /// Identifies a receiver by name rather than ID.
+ /// Ide... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment should read \"Forces `lookup_direct` to always resolve `nid` to `hdl`.\" instead of \"Forces `lookup_direct` to resolve `nid` always to `hdl`.\"", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
actor-framework__actor-framework__1074 | actor-framework/actor-framework | 1,074 | defect | fdce05dd9fe7e7099b60d8c9fec6e3ab9cc46260 | 215076d0265c91e30352a22de4570e65041f241f | Add new UUID class | Going forward, we should replace our custom actor system ID based on a 160bit hash + PID with standard UUIDs. Also, UUIDs are widely used as transaction or resource IDs. Giving our users access to a builtin UUID implementation is a good quality-of-life addition. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c1821c5b3f..10a1b17317 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -40,6 +40,8 @@ is based on [Keep a Changelog](https://keepachangelog.com).
- Actors can now `monitor` and `demonitor` CAF nodes (#1042). Monitoring a CAF
node causes the actor system to send a `node... | 1 | 1 | 0 | [{"id": "G0", "claim": "The WITH test macro should use something like `if (true)` instead of a one-iteration `for` loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
actor-framework__actor-framework__1137 | actor-framework/actor-framework | 1,137 | defect | b3478a09d474ed3eb4dba23cb557bf92c4941259 | 10a861f3db74197e1007d9f308bc0238120c96fb | Add telemetry for streams | This PR adds four new metrics for actors to track throughput as well as buffer levels. | diff --git a/libcaf_core/caf/actor_system.hpp b/libcaf_core/caf/actor_system.hpp
index e7a6a6feef..d9380d0a83 100644
--- a/libcaf_core/caf/actor_system.hpp
+++ b/libcaf_core/caf/actor_system.hpp
@@ -196,14 +196,36 @@ class CAF_CORE_EXPORT actor_system {
/// of the actor).
struct actor_metric_families_t {
///... | 5 | 4 | 0 | [{"id": "G0", "claim": "Suggests dropping the `input_` prefix from `input_buffer_size` in `inbound_stream_metrics_t` (and the corresponding field in `outbound_stream_metrics_t`), since the struct name already says inbound.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G... | null |
actor-framework__actor-framework__1165 | actor-framework/actor-framework | 1,165 | defect | 0221960cb2e77af23976d6c1196ffc7f136f7dbe | b888549b8af89214d916828fa541f134ec60c6ea | Fix qt and protobuf examples | Closes #1156 | diff --git a/examples/broker/simple_broker.cpp b/examples/broker/simple_broker.cpp
index c3613c3a01..a9550fec04 100644
--- a/examples/broker/simple_broker.cpp
+++ b/examples/broker/simple_broker.cpp
@@ -3,10 +3,9 @@
* a broker. Server and client exchange integers in a 'ping-pong protocol'. *
* ... | 9 | 9 | 2 | [{"id": "G0", "claim": "Drop the build-tree paths from the example header comments altogether (simple_broker.cpp and, 'here as well', qt_group_chat.cpp) since they run out of sync.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the joined-group... | null |
actor-framework__actor-framework__1225 | actor-framework/actor-framework | 1,225 | defect | c1cded9213473d07639137e8106569161e21b773 | b924f1761c99aa05cc2513f0feff7938226b4d01 | Allow setter to return bool, error or void | Closes #1216. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index ef9d85105d..ad415b6dfb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,17 @@ is based on [Keep a Changelog](https://keepachangelog.com).
## [Unreleased]
+### Changed
+
+- Setter functions for fields may now return either `bool`, `caf::error` or
+ `void`. Prev... | 2 | 2 | 0 | [{"id": "G0", "claim": "The static_assert message in load_inspector_base.hpp could be aligned with the message in load_inspector.hpp (lines 348, 370) for consistency; the reviewer grants this is a nitpick.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla... | null |
actor-framework__actor-framework__1290 | actor-framework/actor-framework | 1,290 | defect | 52914200de6f13c7efa3e38c8904064b3b916670 | 13274198064ae64200851656ff43543915df5355 | Deprecate caf::optional | This PR deprecates `caf::optional` and refactors the codebase to use `std::optional`.
Relates #1236 | diff --git a/examples/remoting/distributed_calculator.cpp b/examples/remoting/distributed_calculator.cpp
index 191deb2168..6c53e7714e 100644
--- a/examples/remoting/distributed_calculator.cpp
+++ b/examples/remoting/distributed_calculator.cpp
@@ -195,12 +195,12 @@ string trim(std::string s) {
}
// tries to convert ... | 4 | 3 | 1 | [{"id": "G0", "claim": "Where the PR replaced `caf::optional<T&>` with `std::optional<T*>` (dyn_spawn_impl's expected_ifs, by_id, cached_tcp/cached_udp/pending and all their call sites), it should use a plain `T*` instead, since a nullable pointer already behaves like an optional reference.", "category": "design", "ver... | null |
actor-framework__actor-framework__1376 | actor-framework/actor-framework | 1,376 | defect | 3ae23f9e676b14b4b911ef3cb9008578c67dca78 | f1d7e9ce0b419b2486456e390c8425d28193ee1f | Add missing member functions to typed_actor_view | Closes #1372. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0fe925b953..818ff364b8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,8 @@ is based on [Keep a Changelog](https://keepachangelog.com).
- Add new `*_weak` variants of `scheduled_actor::run_{delayed, scheduled}`.
These functions add no reference count to their... | 1 | 1 | 0 | [{"id": "G0", "claim": "The spacing in the parameter type should be changed from `int_actor_state ::init_fn` to `int_actor_state::init_fn`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
actor-framework__actor-framework__1416 | actor-framework/actor-framework | 1,416 | defect | b4416deb34e9015c0066b55030a3faa2ffcd76e1 | e576f54ea277fbe791939e51ff730bdd11995261 | Implement better utilities for timestamp parsing | This adds time zone support when writing/reading ISO 8601 strings. So far, CAF handled timestamps quite poorly. We got away with it because they weren't many people exchanging timestamps with CAF over string input/output. This of course changed recently with HTTP, WebSocket and JSON support. This PR adds a dedicated cl... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 92bb36b15e..447a67086e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,15 @@ is based on [Keep a Changelog](https://keepachangelog.com).
- Add missing initialization code for the new caf-net module when using the
`CAF_MAIN` macro. This fixes the `WSANOTINITIA... | 9 | 8 | 0 | [{"id": "G0", "claim": "The new CHANGELOG entry should be phrased in the present tense (\"Add new utilities...\"), not \"We have added new utilities...\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comments on the minute and second checks ... | null |
actor-framework__actor-framework__1451 | actor-framework/actor-framework | 1,451 | defect | 87d449a84635b15ce82c0ccc21b66db28b809adf | 9fe1e9f46d8efa718cc73af385acf791b345c84f | Enable --foo bar syntax | Closes #1429 | diff --git a/libcaf_core/caf/config_option.hpp b/libcaf_core/caf/config_option.hpp
index 2bb91f7438..2242b9c4d0 100644
--- a/libcaf_core/caf/config_option.hpp
+++ b/libcaf_core/caf/config_option.hpp
@@ -104,37 +104,13 @@ class CAF_CORE_EXPORT config_option {
mutable void* value_;
};
-/// Finds `config_option` str... | 4 | 4 | 2 | [{"id": "G0", "claim": "The free find_by_long_name helper should be lifted into a CAF_CORE_EXPORT member function of config_option returning a matched range (find_result with begin/end/value) so callers can erase the consumed arguments instead of guessing the erase count.", "category": "design", "verdict": "supported",... | null |
actor-framework__actor-framework__1458 | actor-framework/actor-framework | 1,458 | defect | b9e3c1dbbfcecb307cd20d61589d05b023d300bb | e60222ff0e239a99bd1100a0c2567f5e8a63710e | Fix autobahn No. 2.5 | Ping (and control frames in general) can't cant have a payload larger than 125 bytes. Also, shutdown exit code in this case should be 1002 (protocol error). | diff --git a/libcaf_net/CMakeLists.txt b/libcaf_net/CMakeLists.txt
index 347d76e268..3dbe01e279 100644
--- a/libcaf_net/CMakeLists.txt
+++ b/libcaf_net/CMakeLists.txt
@@ -120,5 +120,6 @@ caf_add_component(
net.udp_datagram_socket
net.web_socket.client
net.web_socket.frame
+ net.web_socket.framing
net.web_s... | 11 | 9 | 0 | [{"id": "G0", "claim": "The control-frame payload-length check could also live in framing::consume instead of decode_header, as long as oversized control frames are detected early so the payload read stops.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
actor-framework__actor-framework__1475 | actor-framework/actor-framework | 1,475 | defect | 9498fc8af626339887e6cb094bc0a5dadb8e3814 | b19c8721a5933f2a2f943920df19c2b1fbaeebe4 | Add format API scaffolding | This is prep work to enable upcoming additions.
The new `detail::format` and `detail::format_to` functions enable format-based outputs in the new unit testing framework and gives us the option to re-write the logging API without relying on the `std::ostream` interfaces. These functions provide a thin wrapper around ... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index db343c48bd..9c3cf39986 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,7 @@ project(CAF CXX)
include(CMakeDependentOption)
include(CMakePackageConfigHelpers)
include(CheckCXXSourceCompiles)
+include(CheckCXXSourceRuns)
include(GNUInstallDirs)
include(G... | 3 | 2 | 1 | [{"id": "G0", "claim": "The else branch of the CAF_USE_STD_FORMAT check force-resets the variable to OFF when it is already defined, discarding the user's pre-set value instead of keeping it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The equiva... | null |
actor-framework__actor-framework__1493 | actor-framework/actor-framework | 1,493 | defect | 52fdb19669a4e5debe9da065d3182a2533b5cf71 | b83bdf64a388e7f7df004dc758c4a68e11c439ef | Add option to disable colored output | https://github.com/actor-framework/actor-framework/issues/1479
-n flag can be used to disabled colored output | diff --git a/libcaf_test/caf/test/reporter.cpp b/libcaf_test/caf/test/reporter.cpp
index fe8c6dd02d..9a18c01a14 100644
--- a/libcaf_test/caf/test/reporter.cpp
+++ b/libcaf_test/caf/test/reporter.cpp
@@ -53,6 +53,7 @@ struct colorizing_iterator {
};
mode_t mode = normal;
std::ostream* out;
+ mode_t start = mod... | 8 | 8 | 2 | [{"id": "G0", "claim": "The off-mode state machine is wrong: `off_escape` should transition to `off_color` (not `color`) so the off_ states only mirror each other, which makes the extra `start` member unnecessary and lets the ')' handler in the normal state revert to plain `mode = normal`.", "category": "correctness", ... | null |
actor-framework__actor-framework__1498 | actor-framework/actor-framework | 1,498 | defect | 59a85143780fad2f9200e88c35ba4579a507a60f | 20d2c2923804473f8f35d9a998a66cdb12d75ef2 | Decode and validate WebSocket closing payload | Relates #1394
With this and #1497 we have the majority of tests green and a small number of yellow tests, that are non-strict due to the nature of distributed systems. | diff --git a/libcaf_net/caf/net/web_socket/framing.cpp b/libcaf_net/caf/net/web_socket/framing.cpp
index ba03420db9..34091acdf0 100644
--- a/libcaf_net/caf/net/web_socket/framing.cpp
+++ b/libcaf_net/caf/net/web_socket/framing.cpp
@@ -10,6 +10,49 @@
namespace caf::net::web_socket {
+// -- static utility functions ... | 9 | 8 | 1 | [{"id": "G0", "claim": "Per RFC 6455 section 7.4.2 the decoder should accept every status code in the range 1000-4999 instead of only the protocol-defined 1000-2999 codes plus 3000-4999.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The connection_cl... | null |
actor-framework__actor-framework__1504 | actor-framework/actor-framework | 1,504 | defect | 526683760aba74994f1ce27cdd6aa6be6a6166fa | 51266ade59ba4faa8a37ace0d11f3622c0be499a | Add take last flow for observables | https://github.com/actor-framework/actor-framework/issues/1389
Take last has been implemented. The current implementation saves all the data in vector and returns them on_complete. This can be improved upon. | diff --git a/libcaf_core/caf/flow/observable.hpp b/libcaf_core/caf/flow/observable.hpp
index 4615101e66..665c5062a8 100644
--- a/libcaf_core/caf/flow/observable.hpp
+++ b/libcaf_core/caf/flow/observable.hpp
@@ -223,6 +223,11 @@ class observable_def {
return add_step(step::take<output_type>{n});
}
+ /// @copy... | 6 | 6 | 4 | [{"id": "G0", "claim": "Proper text files must end with a newline: the take_last include line added to all.hpp has no trailing newline, and it is still missing when re-checked.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "observable_def::take_... | null |
actor-framework__actor-framework__1506 | actor-framework/actor-framework | 1,506 | defect | 15ab3fd7604f2b03cdfb732969df1c40bec3babc | 87276334742e29cade591465a65ce65870f5814e | Send error if a request fails to deserialize | Closes #1428.
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index fb3f8aa2d5..54ba5dd0ed 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -38,6 +38,8 @@ is based on [Keep a Changelog](https://keepachangelog.com).
- We renamed `caf::flow::item_publisher` to `caf::flow::multicaster` to better
reflect its purpose and to avoid confusion w... | 1 | 1 | 1 | [{"id": "G0", "claim": "Failing to deserialize a message should always send the malformed_message error to the sender, but the added code only sends it when the message is a request (via sync_request_bouncer), so the reviewer asks to enqueue the error directly as suggested.", "category": "correctness", "verdict": "supp... | null |
actor-framework__actor-framework__1514 | actor-framework/actor-framework | 1,514 | defect | 7081bef000dcadd39c83cb57b6ad15cba29fa2ed | b8cd2cc09484b0f5027aec2919e0228836df7a3a | Move legacy tests to proper subfolder | This PR basically moves the content of `test` to `tests/legacy` for each caf module.
The first commit is just the `mv` commands. The second commit integrates these changes into CMake and should be the focus in the review. | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 275ebabcee..2bcd6ffbfc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,6 +124,17 @@ if(CAF_ENABLE_TESTING)
endif()
endforeach()
endfunction()
+ function(caf_add_legacy_test_suites target)
+ foreach(suiteName ${ARGN})
+ if(NOT ${suiteNam... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the now-unused caf_add_test_suites function from CMakeLists.txt, and likewise the TEST_SOURCES and TEST_SUITES markers of caf_add_component, since they are no longer used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
actor-framework__actor-framework__1518 | actor-framework/actor-framework | 1,518 | defect | cc7f34960dc45b1a8554ed5d6f81cad8565e499b | 863b23dc1cffe0cc1e69c8d89a3e46754e779e21 | Implement new fixture for deterministic testing | @riemass with the new mailbox interface, we can now implement a new testing fixture for deterministic testing. The new setup uses a single, global queue where all actors will push their messages to. This makes it super easy to re-implement `expect` and `allow` without macros. I have also implemented a new `prepone` fun... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e3d75a0fd5..1a43b8a288 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -38,7 +38,7 @@ is based on [Keep a Changelog](https://keepachangelog.com).
- We renamed `caf::flow::item_publisher` to `caf::flow::multicaster` to better
reflect its purpose and to avoid confusion w... | 7 | 3 | 1 | [{"id": "G0", "claim": "Resolve the TODO in should_fail_with_exception so that a nested check throwing an unexpected exception type prints an error message.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The first location introducing the `with`... | null |
actor-framework__actor-framework__1519 | actor-framework/actor-framework | 1,519 | defect | 27b781cd519b27a01efa5218e85aea70dae503d6 | 605b9f29f91d40d8a4fd275826ef121315ad4d53 | Add ignore elements flow operator | Relates https://github.com/actor-framework/actor-framework/issues/1389
Implements ignore elements. | diff --git a/libcaf_core/CMakeLists.txt b/libcaf_core/CMakeLists.txt
index 1b8ec1cc16..9ee8ecf63c 100644
--- a/libcaf_core/CMakeLists.txt
+++ b/libcaf_core/CMakeLists.txt
@@ -153,6 +153,7 @@ caf_add_component(
caf/flow/observable_builder.cpp
caf/flow/op/interval.cpp
caf/flow/scoped_coordinator.cpp
+ c... | 4 | 4 | 0 | [{"id": "G0", "claim": "The class has no state, so the explicit default constructor and the defaulted copy/move special members should be dropped in favour of the rule of 0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The named but unused par... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.