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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
amilajack__eslint-plugin-compat__339 | amilajack/eslint-plugin-compat | 339 | defect | bb11637aa055ab574be54ad83c185e2ef224f741 | adc1037896c64bd0657ebfdc5cad4a8b663ed541 | Refactor | - Move `versioning.ts` and `lint.ts` to `helpers.ts`
- Create `constants.ts` with `STANDARD_TARGET_NAME_MAPPING`
- Rename identifiers for consistency
- Delete kangax
- Change `versioning()` -> `parseBrowsersListVersion()`
- Add rough documentation | diff --git a/CHANGELOG.md b/CHANGELOG.md
index ed45d1aa..35c3a995 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-### v3.8.0
+# v3.8.0
### Added
- Support for feature detection of APIs ([#327](https://github.com/amilajack/eslint-plugin-compat/pull/327))
@@ -6,8 +6,9 @@
### Internal
- Migrated from... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new comment in src/config/recommended.ts misspells \"recommended\" as \"reconmmended\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The numbered comments (1, 2, 3) in helpers.ts and related files are unclear when rea... | null |
amilajack__eslint-plugin-compat__348 | amilajack/eslint-plugin-compat | 348 | defect | 185c1dd5401f396d9892e7ebdd49d43cea47e262 | 17206f37f27c659ad28dfe87065d5ae061ad63db | MVP Benchmarks | ## Summary
MVP for introducing benchmarks. Scope is limited to creating `benchmark.ts` and seeing if it can run on CI
## Changes
- Create `test/benchmarks.ts`
- Added [bootstrap](https://github.com/twbs/bootstrap) and [electron-react-boilerplate](https://github.com/electron-react-boilerplate/electron-react-boi... | diff --git a/.gitignore b/.gitignore
index c4ee95d3..b733da05 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,3 +50,6 @@ lib
# Editor
.idea
.vscode/
+
+# Benchmark output
+benchmarks-tmp/
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 29f4360e..4a43e172 100644
--- a/azure-pipelines.yml
+++ b/azure-pipe... | 8 | 6 | 2 | [{"id": "G0", "claim": "Manually joining paths with template strings is an antipattern; use `path.join` instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The RepoInfo object and its properties should be documented.", "category": "documenta... | null |
amilajack__eslint-plugin-compat__662 | amilajack/eslint-plugin-compat | 662 | defect | ee716260e27aa2b6d2bd8ff64268c832f588d2df | 4ecd5a41b2a0f70dd74f7a231eacd93e809428f3 | fix: fix CI failures and improve test/release workflow separation | ## Summary
- Fix ESLint 8/9 compatibility issues in tests that were causing CI failures
- Move all test execution from release workflow to test workflow
- Make release workflow wait for tests to pass before proceeding
## Changes
1. **Fix ESLint compatibility in tests**
- Updated `test/e2e.spec.ts` to detect ESLint ... | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 47ea62a5..fcd00774 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -30,11 +30,59 @@ jobs:
runs-on: ubuntu-latest
needs: [authorize]
if: always() && (needs.authorize.result == 'success' || ne... | 1 | 1 | 1 | [{"id": "G0", "claim": "The release workflow's polling filter `check.name.startsWith('test (') && check.name.endsWith(')')` never matches the actual check names (e.g. `Test / test (ubuntu-latest)`), so the wait loop never recognizes completed test jobs, times out after 10 minutes, and fails the release even when all te... | null |
amilajack__eslint-plugin-compat__677 | amilajack/eslint-plugin-compat | 677 | defect | 6388a9b65c0b7b110c94a1225403036c1d9b8428 | e9af2940772ffe6d96e6dca1d30b2abf21fd6fe5 | feat: eslint 10 support | ## Description
This PR updates the plugin to support ESLint v10 and ensures compatibility across ESLint v8, v9, and v10.
Fixes amilajack/eslint-plugin-compat#675.
## Key Changes
- **`package.json`**:
- Updated `peerDependencies` to allow `eslint@^10.0.0`.
- Bumped `typescript-eslint` version to the la... | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index bab31c19..703b5a1a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- eslint-version: [8, 9]
+ eslint-version: [8, 9, next]
... | 2 | 2 | 2 | [{"id": "G0", "claim": "The CI test matrix should use the now-released stable ESLint 10 instead of `next`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `eslint` peerDependency range should drop the prerelease suffix and allow `^10.0.0` instead... | null |
amimof__node-cert-exporter__29 | amimof/node-cert-exporter | 29 | defect | fac06f51667f9ff114100b24436c8433a2782721 | ec94f741b5d15b98dd6f4edd116275dbcd75b5da | Decode first CERTIFICATE block in PEM file | <!--
** Make sure all your commits include a signature generated with `git commit -s` **
If this is a bug fix, make sure your description includes "Fixes #xxxx", or
"closes #xxxx"
Please provide the following information:
-->
**- What I did**
Fixed loading of PEM files that don't begin with a CERTIFICATE b... | diff --git a/pkg/exporter/exporter.go b/pkg/exporter/exporter.go
index 8193e5f..04fc33a 100644
--- a/pkg/exporter/exporter.go
+++ b/pkg/exporter/exporter.go
@@ -56,6 +56,15 @@ func isCertFile(p string) bool {
return false
}
+func getFirstCertBlock(data []byte) []byte {
+ for block, rest := pem.Decode(data); block ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add simple unit tests for the new PEM decode-first-CERTIFICATE-block logic.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
amir20__dozzle__2559 | amir20/dozzle | 2,559 | defect | 5c5b4bb6220ea9e1a290dbc795be62b0e1b7b5bf | a902abe1d5dbf25a428062f6df5c99e09bef5f67 | test: added test cases for container actions | Hi @amir20 ! Sorry for delay, as i was looking at test packages documentation for reference 😅.
I have almost covered the critical functions. | diff --git a/internal/docker/client.go b/internal/docker/client.go
index eaec2882ef2a..1ec93e8b28d5 100644
--- a/internal/docker/client.go
+++ b/internal/docker/client.go
@@ -149,7 +149,9 @@ func (d *Client) FindContainer(id string) (Container, error) {
return container, nil
}
-func (d *Client) ContainerActions(ac... | 2 | 2 | 1 | [{"id": "G0", "claim": "ContainerActions should take a container id like the other client functions instead of a whole Container, for consistency and easier testing.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Test_handler_containerActions should be s... | null |
amiremohamadi__DuckX__38 | amiremohamadi/DuckX | 38 | defect | 61e5ef663489b2437be7252e4fb55f26a3cc1dba | 1e281d090131cdca875fc28ae02303bce9ccf016 | Added Iterator interface to help with range-loops | I tried to implement it with the least amount of intrusion. | diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc142231..ef5affb6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ option(BUILD_SHARED_LIBS "Build shared instead of static library" OFF)
option(BUILD_SAMPLE "Build provided sample" OFF)
set(HEADERS src/duckx.hpp src/zip.h src/miniz.h
- src/pug... | 10 | 6 | 3 | [{"id": "G0", "claim": "The pull request's code needs -std=c++11 (its type_traits usage), and that is what is causing the build failures.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "A general compile-time check of the C++ version (e.g. #error whe... | null |
amoffat__sh__584 | amoffat/sh | 584 | defect | 01697ee46a67788a11c7100b47a8046ed856abb0 | 3b2f86188f6703f957099e2c61e84481ade3555d | Make sh.which() an internal function | Rename sh.which so normal 'from sh import which' hits the system binary.
Fixes #579 | diff --git a/sh.py b/sh.py
index 76b34da3..d349e77e 100644
--- a/sh.py
+++ b/sh.py
@@ -534,7 +534,7 @@ def canonicalize(path):
return os.path.abspath(os.path.expanduser(path))
-def which(program, paths=None):
+def _which(program, paths=None):
""" takes a program name or full path, plus an optional collect... | 2 | 2 | 2 | [{"id": "G0", "claim": "sh.which resolves to the internal _which because builtins supersede system commands, and the __getitem__ checks should be swapped so a system binary is preferred and b_which only serves as fallback.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
amp-labs__connectors__1641 | amp-labs/connectors | 1,641 | defect | a5913113a7095d0d40577af2580ba4f4a38f34eb | 1c2664784cbc7457c095d7b3092294dbb6c82ed0 | feat(interface): ProxyConnector | # Description
Added `ProxyConnector` interface and one implementor `ProxyResolver`.
Every connector which embeds `components.Connector` will automatically inherit the methods of the `ProxyResolver` which are:
* ProxyConfig() (*ProxyConfig, error)
* ProxyModuleConfig() (*ProxyConfig, error)
For other connecto... | diff --git a/common/http.go b/common/http.go
index f15024d3c2..9a9671ceed 100644
--- a/common/http.go
+++ b/common/http.go
@@ -112,6 +112,9 @@ type ResponseHandler func(rsp *http.Response) (*http.Response, error)
// HTTPClient is an HTTP client that handles OAuth access token refreshes.
type HTTPClient struct {
+ /... | 2 | 1 | 0 | [{"id": "G0", "claim": "It is wrong for HTTPClient to be responsible for URL management (the Base field is deprecated and insufficient, since a connector may have more than one URL), and removing it would need formal verification to ensure nothing breaks.", "category": "design", "verdict": "uncertain", "priority": "P2"... | null |
amp-labs__connectors__1644 | amp-labs/connectors | 1,644 | defect | 5ccaf82dc712f88b12fc5760da3e7faaad2c99b2 | 00107fc202fc85c87f8d2afbf9b6a6ad88cae4e2 | feat(tests): Improve failure diagnostics | # Description
Custom comparators now collect **all** failure details instead of stopping at the first error, making test failures instantly actionable without a debugger. Each failure message pinpoints exactly what mismatched (field name, row index, expected vs actual values).
**Key improvements:**
- **Pretty pr... | diff --git a/providers/phoneburner/read_test.go b/providers/phoneburner/read_test.go
index c1f707a13d..9ea8863b6c 100644
--- a/providers/phoneburner/read_test.go
+++ b/providers/phoneburner/read_test.go
@@ -8,6 +8,7 @@ import (
"github.com/amp-labs/connectors"
"github.com/amp-labs/connectors/common"
+ "github.com... | 3 | 2 | 1 | [{"id": "G0", "claim": "comparatorSubsetReadWithAssociations is now a redundant wrapper and testroutines.ComparatorSubsetRead should be used directly since the latter handles associations internally.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
amp-labs__connectors__2561 | amp-labs/connectors | 2,561 | defect | 3865a07a0050c82bd65633894ddae326353768d6 | e139f275b0295332e0451efd75a43b4ccdb9262f | [ENG-3040] Implement Salesforce GetRecordCount Method | ### Accidentally merged in [PR](https://github.com/amp-labs/connectors/pull/2571) for Hubspot GetRecordCount Method into this branch
Implements a Salesforce `GetRecordCount` method that retrieves total records of a Salesforce object by constructing a SOQL request such as `SELECT COUNT() FROM Account WHERE SystemMods... | diff --git a/providers/hubspot/record-count.go b/providers/hubspot/record-count.go
new file mode 100644
index 0000000000..da2a64ab4b
--- /dev/null
+++ b/providers/hubspot/record-count.go
@@ -0,0 +1,72 @@
+package hubspot
+
+import (
+ "context"
+ "fmt"
+
+ "github.com/amp-labs/connectors/common"
+)
+
+// GetRecordCount... | 3 | 2 | 0 | [{"id": "G0", "claim": "Add a HubSpot documentation link and an example response to the GetRecordCount doc comment so the next person revising the function has a reference.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a documentation link an... | null |
amp-labs__connectors__2655 | amp-labs/connectors | 2,655 | defect | fecb22fa74757090980df852ddd42738aaf33937 | 390fc7be6f271367775c34b111debd0533e3530d | [CON-2634] feat: add talkdesk read connector | # Conventions
Read more: https://ampersand.slab.com/posts/deep-connectors-guide-6x4fhxne#ht0ds-reviewer-checklist
- [x] Connector uses `internal/components`
- [x] Metadata uses V2 metadata format
- [x] Read supports pagination and incremental sync
- [ ] Raw response is returned as is for **READ** & **METADATA**,... | diff --git a/providers/talkdesk/connector.go b/providers/talkdesk/connector.go
new file mode 100644
index 0000000000..1be5e98102
--- /dev/null
+++ b/providers/talkdesk/connector.go
@@ -0,0 +1,69 @@
+package talkdesk
+
+import (
+ _ "embed"
+
+ "github.com/amp-labs/connectors/common"
+ "github.com/amp-labs/connectors/in... | 3 | 3 | 0 | [{"id": "G0", "claim": "The buildReadRequest switch needs a detailed explanation of the timestamp handling plus a documentation URL in the code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The responseKeys comment in params.go should include a ... | null |
amp-labs__connectors__2667 | amp-labs/connectors | 2,667 | defect | 7943f28f69f710b1270325830c680ae154db2b59 | 7746667a55ad16125c87f1f0ab584d68a715d08f | feat(hubspot): Use chained Marshaller for associations | # Description
Replace usage `(c *Connector) getDataMarshaller` with `associations.CreateDataMarshallerWithAssociations`.
# Live Tests
The following live test demonstrates the full execution flow `test/hubspot/read-associations/main.go`:
<img width="682" height="1023" alt="image" src="https://github.com/user-att... | diff --git a/common/readhelper/marshall.go b/common/readhelper/marshall.go
new file mode 100644
index 0000000000..7b588bd92a
--- /dev/null
+++ b/common/readhelper/marshall.go
@@ -0,0 +1,30 @@
+package readhelper
+
+import (
+ "github.com/amp-labs/connectors/common"
+ "github.com/spyzhov/ajson"
+)
+
+// RowMarshallProce... | 4 | 4 | 4 | [{"id": "G0", "claim": "Add some quick test cases for the updated GetNextRecordsAfter pagination helper to prevent regressions in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add the same quick test cases for the rewritten GetNextRecordsUR... | null |
amp-labs__connectors__2699 | amp-labs/connectors | 2,699 | defect | 38cbc953f962e9dba3cd8468fc91b80e2b0d1850 | 5ff79eb76bdca8f60a8a30fb1ac2cb053ee65d2f | feat: introduce ReadByIdsParams for GetRecordsByIds | `GetRecordsByIds` previously took four parameters (`objectName`, `recordIds`, `fields`, `associations`), unlike **Read** and **Write** which use `common.ReadParams` / `common.WriteParams`.
This inconsistency meant every test file had to define its own local GetRecordsByIdsInput struct.
This PR introduces common.Re... | diff --git a/common/types.go b/common/types.go
index 33a74ebb6e..6ad281094e 100644
--- a/common/types.go
+++ b/common/types.go
@@ -192,6 +192,29 @@ type ReadParams struct {
PageSize int // optional
}
+// ReadByIdsParams defines how we are fetching a specific set of records by their IDs.
+//
+// Unlike ReadParams (... | 5 | 1 | 0 | [{"id": "G0", "claim": "The //nolint:revive comment sits on its own line before the struct field in mock/params.go instead of inline, which may not suppress the lint on the field line; the author should verify the suppression still works or move it inline.", "category": "maintainability", "verdict": "supported", "prior... | null |
amp-labs__connectors__2708 | amp-labs/connectors | 2,708 | defect | cb2e303186372b08795c393a0d9d270a1a836438 | 40cb2b2d6a0651a94ef888ba137221a0ab088af2 | fix(phoneBurner): Time zone set to PST | ## Summary
PhoneBurner's API runs in PST (UTC-8) and interprets all timestamp parameters as PST. When Ampersand performed an incremental read, it sent updated_from formatted in UTC. PhoneBurner read that UTC timestamp as PST, making it appear hours in the future — causing a 400: updated_to must be >= updated_from erro... | diff --git a/providers/phoneburner/read.go b/providers/phoneburner/read.go
index 6dfc2297a9..ed66a73465 100644
--- a/providers/phoneburner/read.go
+++ b/providers/phoneburner/read.go
@@ -73,8 +73,6 @@ func buildReadURL(baseURL string, params common.ReadParams) (*urlbuilder.URL, er
return nil, err
}
- // Many Pho... | 5 | 5 | 2 | [{"id": "G0", "claim": "The timezone conversion and formatting should be extracted into a helper (a FormatRFC3339inLocation utility in internal/datautils/timing.go, or a local timeFormat method) instead of being inlined at each call site.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
amp-labs__connectors__2716 | amp-labs/connectors | 2,716 | defect | 3f7a8ab471bea3c70c5dab7ff6cdb69ae2d69c48 | 9d3375525dd3e6cc77c139b3bc401d356e758d1b | [CON-2933] feat(granola): call GetNote when reading Notes | # Conventions
Read more: https://ampersand.slab.com/posts/deep-connectors-guide-6x4fhxne#ht0ds-reviewer-checklist
- [x] Connector uses `internal/components`
- [x] Metadata uses V2 metadata format
- [x] Read supports pagination and incremental sync
- [x] Raw response is returned as is for **READ** & **METADATA**,... | diff --git a/providers/granola/metadata.go b/providers/granola/metadata.go
index 3faa422640..0689e80c35 100644
--- a/providers/granola/metadata.go
+++ b/providers/granola/metadata.go
@@ -12,8 +12,6 @@ import (
)
func (c *Connector) buildSingleObjectMetadataRequest(ctx context.Context, objectName string) (*http.Requ... | 11 | 10 | 5 | [{"id": "G0", "claim": "The readCount counter is incremented but its value is never read, which the reviewer says will cause a Go compile error; remove it or use it.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The read test still asserts crea... | null |
amp-labs__connectors__2730 | amp-labs/connectors | 2,730 | defect | e91515d680597d300a833f19f66225e3548ffae0 | 7820fe2a9b381ea9f9336b01fe55b41a2291d781 | [CON-150] fix(getresponse): Deep connector fixes | ## Summary
Fixes several bugs discovered during integration testing of the GetResponse connector: incorrect provider-side filtering classifications causing 400 errors, timestamp format mismatches in both outbound query params and inbound response parsing, and OAuth auth style misconfiguration causing 401s on token ref... | diff --git a/providers/getresponse/handler.go b/providers/getresponse/handler.go
index 48afac13e5..22852f70f3 100644
--- a/providers/getresponse/handler.go
+++ b/providers/getresponse/handler.go
@@ -5,6 +5,7 @@ import (
"context"
"encoding/json"
"fmt"
+ "log"
"net/http"
"net/url"
"strconv"
@@ -13,7 +14,6 @@... | 5 | 4 | 1 | [{"id": "G0", "claim": "Remove the debug log statement in buildReadRequest that prints every read request URL.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replacing FormatRFC3339inUTC with a hardcoded '+0000' layout needs justification: the p... | null |
amp-labs__connectors__2761 | amp-labs/connectors | 2,761 | defect | 7114337bf0296d56df148914c2a7e3be20b67902 | 63c82629a5713e1d0b0dbf0bd60c2b4e658aaa5a | [ENG-3717] feat(salesforce): add DeleteMetadata method for custom field deletion | ## Summary
- Add `DeleteMetadata` method to the Salesforce connector using the Metadata SOAP API (`deleteMetadata`)
- Add `DeleteMetadataParams`, `DeleteMetadataResult` types to `common/metadata.go` and `DeleteMetadataConnector` interface
- When a field doesn't exist, logs a warning and returns success instead of er... | diff --git a/common/metadata.go b/common/metadata.go
index c274589253..b7d01acc04 100644
--- a/common/metadata.go
+++ b/common/metadata.go
@@ -92,6 +92,19 @@ type UpsertMetadataParams struct {
Fields map[string][]FieldDefinition `json:"fields"`
}
+// DeleteMetadataParams represents parameters for deleting custom f... | 2 | 1 | 0 | [{"id": "G0", "claim": "DeleteMetadataParams.Fields should use common.ObjectName as the map key type to be explicit in the declaration.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DeleteMetadata returns on the first failed result instead of iterating ... | null |
amp-labs__connectors__2785 | amp-labs/connectors | 2,785 | defect | de050bf606e373c1bd8e3354e34a728d5c112968 | 3cd97c44909d133ca45c2bd2538b51cbe79ea84e | [CON-3009] feat(fourFour): add Read | # Conventions
- [x] Connector uses `internal/components`
- [ ] Read supports pagination but no incremental sync
- [x] Raw response is returned as is, no formatting or flattening is performed.
- [ ] Provider errors are mapped if non-standard (errors with 200 response code are converted to 4XX)
- [ ] Custom fields... | diff --git a/providers/fourfour/connector.go b/providers/fourfour/connector.go
new file mode 100644
index 0000000000..bfc3dda78f
--- /dev/null
+++ b/providers/fourfour/connector.go
@@ -0,0 +1,62 @@
+package fourfour
+
+import (
+ _ "embed"
+
+ "github.com/amp-labs/connectors/common"
+ "github.com/amp-labs/connectors/in... | 3 | 2 | 2 | [{"id": "G0", "claim": "Pagination is not exercised by tests: no fixture with a next-link field and no assertion that ReadResult.NextPage is populated with Done=false when a next page is present; add a test case and fixture validating NextPage propagation.", "category": "testing", "verdict": "supported", "priority": "P... | null |
amp-labs__connectors__2791 | amp-labs/connectors | 2,791 | defect | 7ca6339c55ac1088b6d46984b46fdab1c9311a05 | 8f8d4c5c2b6211f1c9d4e5708bfc75096ea854b2 | fix(clariCopilot): scorecard-template response key typo | ## Test results
No data exists, so the response has 0 rows. but the error is fixed and it's now reading the correct response field.
```
12:17:05 AM
time=2026-03-24T00:17:16.636+05:45 level=DEBUG msg="loading credentials file" path=./clari-copilot-creds.json
time=2026-03-24T00:17:19.682+05:45 level=INFO... | diff --git a/providers/claricopilot/support.go b/providers/claricopilot/support.go
index 2ff8c3d5ce..6e51ce70ee 100644
--- a/providers/claricopilot/support.go
+++ b/providers/claricopilot/support.go
@@ -14,7 +14,7 @@ func responseField(objectName string) string {
case "scorecard":
return "scorecards"
case "score... | 1 | 1 | 1 | [{"id": "G0", "claim": "There is no unit test exercising reads for `scorecard-template`, so add a fixture plus a read test that asserts records are extracted from the `scorecardTemplates` response key so this regression is caught automatically.", "category": "testing", "verdict": "supported", "priority": "P1", "scope":... | null |
amp-labs__connectors__2793 | amp-labs/connectors | 2,793 | defect | 7ca6339c55ac1088b6d46984b46fdab1c9311a05 | fee1770d74e4b42af5f23e7661d0df69ea2a4869 | Update Salesfinity read ordering behavior | Align Salesfinity read requests with provider ordering by using sort=-updatedAt on supported endpoints.
| diff --git a/providers/salesfinity/read.go b/providers/salesfinity/read.go
index d28d097d59..a223bc4dc0 100644
--- a/providers/salesfinity/read.go
+++ b/providers/salesfinity/read.go
@@ -20,7 +20,16 @@ const (
var objectTimeField = datautils.NewDefaultMap( //nolint:gochecknoglobals
datautils.Map[string, string]{
-... | 3 | 2 | 1 | [{"id": "G0", "claim": "When params.NextPage is used, buildReadRequest sends the NextPage URL verbatim without enforcing the expected sort param, so a persisted NextPage token missing sort may make the connector see a different order than assumed and stop pagination early; the reviewer asks to normalize/enforce the sor... | null |
amp-labs__connectors__2797 | amp-labs/connectors | 2,797 | defect | 717c1e47103cf550de36dded01c0ff6b13e684b5 | d3207fb73c182f463ab345334cd1440c6f8998eb | fix(devrev): send sort_by as modified_date for list reads. | DevRev list APIs expect sort_by as an array. Use WithQueryParamList and align read tests with mocked query and pagination URLs.
# TESTS
<img width="1879" height="1024" alt="Screenshot from 2026-03-28 22-09-08" src="https://github.com/user-attachments/assets/da429ca6-631c-4e74-ad23-216e34666439" />
<img width="1911... | diff --git a/providers/devrev/read.go b/providers/devrev/read.go
index 89023117d1..c60c393edc 100644
--- a/providers/devrev/read.go
+++ b/providers/devrev/read.go
@@ -40,6 +40,22 @@ var objectsWithoutModifiedDate = datautils.NewSet( //nolint:gochecknoglobals
"vistas.groups",
)
+// objectsWithoutSortBy lists object... | 3 | 3 | 2 | [{"id": "G0", "claim": "The comment describing objectsWithoutSortBy is inaccurate — it refers to \"list response records\" not including a request query parameter — and should be reworded to say these list endpoints do not accept/support the sort_by query parameter, plus fix the extra double-space in \"query parameter... | null |
amp-labs__connectors__2804 | amp-labs/connectors | 2,804 | defect | 8b062ac3b45898bac4937ac32c8f2269e6fe4705 | c6d6591302ed3e238dc5db8993a45bb113d82f25 | [CON-3048] feat(housecallPro): Read functionality | # Conventions
Read more: https://ampersand.slab.com/posts/deep-connectors-guide-6x4fhxne#ht0ds-reviewer-checklist
- [x] Connector uses `internal/components`
- [x] Metadata uses V2 metadata format
- [x] Raw response is returned as is for **READ** & **METADATA**, no formatting or flattening is performed.
- [x] Pro... | diff --git a/providers/housecallPro/connector.go b/providers/housecallPro/connector.go
index c050d7838a..6380e1dafc 100644
--- a/providers/housecallPro/connector.go
+++ b/providers/housecallPro/connector.go
@@ -3,6 +3,8 @@ package housecallpro
import (
"github.com/amp-labs/connectors/common"
"github.com/amp-labs/c... | 2 | 2 | 2 | [{"id": "G0", "claim": "buildReadRequest sends the page size as the `page_size` query param, but the Housecall Pro OpenAPI spec and the unit tests define pagination with `per_page`, which will generate incorrect requests and break NextPage URLs/fixtures expecting `per_page`; the request builder should use `per_page` co... | null |
amp-labs__connectors__2808 | amp-labs/connectors | 2,808 | defect | 8b062ac3b45898bac4937ac32c8f2269e6fe4705 | da819d89bcbfe4fa59721acd7791cad13c4a7fd2 | [CON-3049] feat(housecallPro): Write functionality | # Conventions
Read more: https://ampersand.slab.com/posts/deep-connectors-guide-6x4fhxne#ht0ds-reviewer-checklist
- [x] Connector uses `internal/components`
- [x] Metadata uses V2 metadata format
- [x] Read supports pagination and incremental sync
- [x] Raw response is returned as is for **READ** & **METADATA**,... | diff --git a/providers/housecallPro/connector.go b/providers/housecallPro/connector.go
index c050d7838a..a3b4cacf8e 100644
--- a/providers/housecallPro/connector.go
+++ b/providers/housecallPro/connector.go
@@ -3,7 +3,11 @@ package housecallpro
import (
"github.com/amp-labs/connectors/common"
"github.com/amp-labs/... | 4 | 3 | 3 | [{"id": "G0", "claim": "The write flow does not validate the HTTP status code, and writes should fail for non-2xx responses.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request adds no unit tests for write.go, and unit tests should be ad... | null |
amp-labs__connectors__2841 | amp-labs/connectors | 2,841 | defect | 76418ef87f33067fddc4df1814aac26463872701 | 64da6419fc58f35f4a14b11ed52282d9aaa5a9b1 | [CON-3118] feat(housecallPro):Subscribe actions for Housecall Pro | Adds Housecall Pro webhook subscription event support
## TESTS
<img width="1907" height="428" alt="Screenshot from 2026-04-03 21-07-56" src="https://github.com/user-attachments/assets/73d15511-61f0-41c7-9720-23f7ffcea0b9" />
<img width="2025" height="287" alt="Screenshot from 2026-04-03 21-08-15" src="https://... | diff --git a/providers/housecallPro/connector.go b/providers/housecallPro/connector.go
index a3b4cacf8e..e208c0c48a 100644
--- a/providers/housecallPro/connector.go
+++ b/providers/housecallPro/connector.go
@@ -1,6 +1,7 @@
package housecallpro
import (
+ "github.com/amp-labs/connectors"
"github.com/amp-labs/conne... | 4 | 4 | 3 | [{"id": "G0", "claim": "ObjectName() swallows the resourceRecord() error (e.g. for missing/malformed payloads) and falls back to deriving the object from the event name, so malformed webhook payloads can appear valid while RecordId fails; it should return the resourceRecord error for malformed/missing payloads.", "cate... | null |
amp-labs__connectors__2843 | amp-labs/connectors | 2,843 | defect | d084654667ca77735626cdaf704dff24c0eadf49 | eaa2ea6ce8e4f270cfc1cc72f59f6374b8fbaba3 | [ENG-3805] Apex trigger to create filtered read | This PR adds deployApexTriggersForFilteredRead for the Salesforce connector so that we can read scheduled reads with a custom timestamp field.
It involves Apextrigger creation, which is very similar to how Apextrigger was implemented in the Subscribe action, so this PR refactors and recycles existing code to be use... | diff --git a/providers/salesforce/apex.go b/providers/salesforce/apex.go
index 0fde7f63d3..8e5ce8de1e 100644
--- a/providers/salesforce/apex.go
+++ b/providers/salesforce/apex.go
@@ -14,32 +14,39 @@ import (
"github.com/amp-labs/connectors/providers/salesforce/internal/crm/metadata"
)
-// ApexTriggerParams contain... | 2 | 1 | 0 | [{"id": "G0", "claim": "deployApexTrigger should not build the zip itself but receive the pre-built zipData as a parameter.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DeployApexTriggersForFilteredRead is exported but returns the unexported deployApex... | null |
amp-labs__connectors__2844 | amp-labs/connectors | 2,844 | defect | ba599ce072912b42dccae8eb90cd7e7337174006 | 31153c0de0ab784b5326e20e666ffd635e01f0b5 | [CON-3121] feat(Slack): add Read | # Conventions
- [x] Connector uses `internal/components`
- [x] Read supports pagination but no incremental sync
- [x] Raw response is returned as is, no formatting or flattening is performed.
- [x] Provider errors are mapped if non-standard (errors with 200 response code are converted to 4XX)
- [ ] Custom fields... | diff --git a/providers/slack.go b/providers/slack.go
index dea667cd25..07e4d34113 100644
--- a/providers/slack.go
+++ b/providers/slack.go
@@ -27,7 +27,7 @@ func init() {
Delete: false,
},
Proxy: true,
- Read: false,
+ Read: true,
Subscribe: false,
Write: false,
},
diff --g... | 19 | 15 | 4 | [{"id": "G0", "claim": "parseReadResponse treats every 2xx response as success, so Slack's HTTP-200 ok:false failures lose their error context; it should check the top-level ok flag and surface Slack's error message.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
amp-labs__connectors__2845 | amp-labs/connectors | 2,845 | defect | d084654667ca77735626cdaf704dff24c0eadf49 | 419d2b93489c55cfb7e6b3efbd4e0dac40d810c9 | [ENG-3806] feat(salesforce): support configurable updated-at field for incremental reads | ## Summary
- Adds a `WithUpdatedAtField` constructor option that allows callers to override the default `SystemModstamp` field used in SOQL `WHERE` clauses for incremental reads (Since/Until filtering)
- When not set, existing behavior is preserved — `SystemModstamp` is used as before
- Covers all read paths: `Read`, `... | diff --git a/connector/new.go b/connector/new.go
index ab8fe72041..b54f1397e2 100644
--- a/connector/new.go
+++ b/connector/new.go
@@ -285,12 +285,18 @@ func newSalesflareConnector(params common.ConnectorParams) (*salesflare.Connecto
}
func newSalesforceConnector(params common.ConnectorParams) (*salesforce.Connecto... | 1 | 1 | 1 | [{"id": "G0", "claim": "Rename the configurable updated-at field (the metadata key and the connector option/field) from `updatedAtField` to `timestampColumn`, to match the server-side custom timestamp column defined in ENG-3805.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
amp-labs__connectors__2850 | amp-labs/connectors | 2,850 | defect | bb7010d4c3272ff1fe05f7021d628f639966f128 | 6d15206808632f2c6a995632ed22435118d1f963 | [CON-3122] feat(slack): add write | ## Checklist
- [x] Connector uses `internal/components`
- [x] Metadata uses V2 metadata format
- [ ] Read supports pagination and incremental sync
- [x] Raw response is returned as is, no formatting or flattening is performed.
- [x] Write payloads should accept what `ReadResults.Fields` is returning. Any unneces... | diff --git a/providers/slack/connector.go b/providers/slack/connector.go
index f5614f6422..0a37272540 100644
--- a/providers/slack/connector.go
+++ b/providers/slack/connector.go
@@ -6,6 +6,7 @@ import (
"github.com/amp-labs/connectors/internal/components/operations"
"github.com/amp-labs/connectors/internal/compone... | 4 | 2 | 1 | [{"id": "G0", "claim": "Update requests never include the record identifier in the outgoing body (buildWriteRequest uses RecordId only to pick the method suffix, and the update tests assert bodies without any ID), so updates rely on callers duplicating the ID in RecordData and can be sent without any ID at all; inject ... | null |
amp-labs__connectors__2867 | amp-labs/connectors | 2,867 | defect | b020628ed5ec52f48922bf4d3161f508a4dbd360 | f7b01c63262d38a41efcf24bd1f84335a3a7ce8c | [CON-3154] feat: add support to retrieve products when reading leads | Context:
Adds support to retrieve products, when reading leads if producst is requested in the read fields.
Live Tests:
<img width="1412" height="776" alt="Screenshot 2026-04-13 at 21 43 42" src="https://github.com/user-attachments/assets/fc2eea92-30c5-43f4-a071-27470a913d7b" />
| diff --git a/providers/pipedrive/internal/crm/adapter.go b/providers/pipedrive/internal/crm/adapter.go
index 00b7e95cac..7163fe02d5 100644
--- a/providers/pipedrive/internal/crm/adapter.go
+++ b/providers/pipedrive/internal/crm/adapter.go
@@ -14,21 +14,21 @@ const (
)
type Adapter struct {
- Client *common.JSONHTT... | 2 | 2 | 0 | [{"id": "G0", "claim": "Link the documentation that justifies the maxConcurrentProductFetch = 4 constant (whose comment admits \"No strong reason\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the productsField constant to productsField... | null |
amp-labs__connectors__2910 | amp-labs/connectors | 2,910 | defect | a5e321329f004adc88528c73fa26284325246c56 | 108538c413e0684832f7c6a4d9800a8a8bcf7223 | [Customer Supprot] Fix false negative on Microsoft Token Refresh | ## Summary
Stop the Microsoft connector from classifying every Graph 401 as invalid credentials. Today every 401 maps to `common.ErrAccessToken`, which the server treats as a signal to flip the connection to `CONNECTION_STATUS_BAD_CREDS` — forcing re-auth even when the refresh token is still perfectly valid. This ch... | diff --git a/providers/microsoft/connector.go b/providers/microsoft/connector.go
index 11522695a0..15503dac14 100644
--- a/providers/microsoft/connector.go
+++ b/providers/microsoft/connector.go
@@ -54,8 +54,13 @@ func constructor(base *components.Connector) (*Connector, error) {
connector.SchemaProvider = schema.N... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ClaimsChallengeError godoc example should use the go1.26 errors.AsType form (chErr, ok := errors.AsType[*microsoft.ClaimsChallengeError](err)) instead of errors.As with a pointer variable.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
amp-labs__connectors__2914 | amp-labs/connectors | 2,914 | defect | 5ea4ca275d19ade023fc48dd8e55aa284e32d47a | 1caa350837ad7f144b0c095b1d26b13504a1bf8b | [ENG-3777] feat: add Gong `GetRecordsByIds` | Implements GetRecordsByIds for Gong`users` and `calls` objects.
Used in subscribe workflow to retrieve records by IDs. Gong Subscribe is manually tested here: https://github.com/amp-labs/server/pull/5913 | diff --git a/providers/gong/params.go b/providers/gong/params.go
index afdecbccd6..4e85802788 100644
--- a/providers/gong/params.go
+++ b/providers/gong/params.go
@@ -83,15 +83,21 @@ func buildReadBody(config common.ReadParams) map[string]any {
}
if config.ObjectName == objectNameCalls {
- // https://app.gong.io... | 1 | 1 | 0 | [{"id": "G0", "claim": "The default-case error message hardcodes the list of supported objects, so a comment should be added to the switch asking contributors to update the message if more objects are supported, or any mention of support should be removed from the error message.", "category": "documentation", "verdict"... | null |
amp-labs__connectors__2919 | amp-labs/connectors | 2,919 | defect | 1bb1d67479c57e5274b32413218aea92428f3db8 | 2ab8c02ffa83188442b7fd691455372549e11473 | [CON-3188,3189]: feat(procore): add ListMetadata + Read | # Conventions
- [x] Connector uses `internal/components`
- [ ] Read supports pagination but no incremental sync
- [x] Raw response is returned as is, no formatting or flattening is performed.
- [ ] Provider errors are mapped if non-standard (errors with 200 response code are converted to 4XX)
- [ ] Custom fields... | diff --git a/providers/procore/connector.go b/providers/procore/connector.go
new file mode 100644
index 0000000000..e24c4f1fee
--- /dev/null
+++ b/providers/procore/connector.go
@@ -0,0 +1,83 @@
+package procore
+
+import (
+ "github.com/amp-labs/connectors/common"
+ "github.com/amp-labs/connectors/internal/components"... | 9 | 4 | 0 | [{"id": "G0", "claim": "analyzeValue will panic when value is nil (e.g., JSON null) because reflect.ValueOf(nil) produces an invalid Value whose Kind() panics; add an early nil/!v.IsValid() check so metadata inference does not crash on null fields.", "category": "correctness", "verdict": "supported", "priority": "P3", ... | null |
amp-labs__connectors__2922 | amp-labs/connectors | 2,922 | defect | f57601c5b3181d99a2072a6b5a1be4a15adefac8 | 35c7fbde16853167ac269b7d257112ec53a573de | housecallPro: adjust webhook object resolution for estimate.option and job.appointment events | Updates webhook resolution for estimate.option to reflect its nested structure under estimates, and adds support for job.appointment webhook events, which were previously not handled.
### TESTS
<img width="2201" height="792" alt="Screenshot from 2026-04-24 21-42-23" src="https://github.com/user-attachments/assets/3... | diff --git a/providers/housecallPro/subscriptionEvent.go b/providers/housecallPro/subscriptionEvent.go
index 12cb55eb63..371d922097 100644
--- a/providers/housecallPro/subscriptionEvent.go
+++ b/providers/housecallPro/subscriptionEvent.go
@@ -228,9 +228,9 @@ func resourceRecord(evt SubscriptionEvent) (objectName string... | 2 | 1 | 0 | [{"id": "G0", "claim": "The table test case named \"estimate\" actually exercises an estimate.option.* webhook and should be renamed (e.g. to \"estimate option\") to make the intent clearer and reduce confusion when failures occur.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int... | null |
amp-labs__connectors__2923 | amp-labs/connectors | 2,923 | defect | e08a0491d3f61cd22f940dfe4b962caf931a1a59 | c48e8b6095a711ec27aa4b20138a7ef3d6f1a9b2 | feat(housecallPro): add employees webhook subscription support | Adds support for subscribing to employees events.
Employee webhook events are not officially documented. Instead of having a dedicated event (employee.created), employee creation is emitted through the pro.created event.
# Test
<img width="2512" height="379" alt="image" src="https://github.com/user-attachments/ass... | diff --git a/providers/housecallPro/subscriptionEvent.go b/providers/housecallPro/subscriptionEvent.go
index 371d922097..35aa4d7311 100644
--- a/providers/housecallPro/subscriptionEvent.go
+++ b/providers/housecallPro/subscriptionEvent.go
@@ -41,7 +41,8 @@ type SubscriptionEvent map[string]any
type CollapsedSubscripti... | 2 | 2 | 1 | [{"id": "G0", "claim": "Please add a unit test case (and ideally a fixture) covering an employees webhook event (ObjectName/RecordId) now that \"employees\" is accepted by the allowlist.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unexpected pro.... | null |
amp-labs__connectors__2928 | amp-labs/connectors | 2,928 | defect | 1bb1d67479c57e5274b32413218aea92428f3db8 | 62ef63abd383a32314044036f2c034939ac957c0 | [CON-3190] feat(procore): add Write | ## Checklist
- [x] Connector uses `internal/components`
- [x] Metadata uses V2 metadata format
- [ ] Read supports pagination and incremental sync
- [x] Raw response is returned as is, no formatting or flattening is performed.
- [x] Write payloads should accept what `ReadResults.Fields` is returning. Any unneces... | diff --git a/providers/procore/connector.go b/providers/procore/connector.go
new file mode 100644
index 0000000000..7696059ec8
--- /dev/null
+++ b/providers/procore/connector.go
@@ -0,0 +1,96 @@
+package procore
+
+import (
+ "github.com/amp-labs/connectors/common"
+ "github.com/amp-labs/connectors/internal/components"... | 7 | 3 | 3 | [{"id": "G0", "claim": "Introducing a separate object name \"company/projects\" for the same Procore resource that is read/metadata'd as \"projects\" forces users to use different object names for read vs write, breaking the repository convention that one canonical object name should work across read/write/metadata; co... | null |
amp-labs__connectors__2939 | amp-labs/connectors | 2,939 | defect | fd76f09bbf610df926024b4413359149f1ffc4fa | 53e3351d2ac2eac0aa906df3001369edf4acc9a0 | fix(procore): default updatedAt filter 'until' to now and disable write on company/projects | - Add default `until` for incremental read to the current time when not provided.
- Remove `write: true` from `company/projects`. this object is read-only.
- Use the full next-page URL from Procore's response as the pagination token, instead of just the page number. ... | diff --git a/providers/procore/support.go b/providers/procore/support.go
index 9d6a0d836f..b694b4a7ea 100644
--- a/providers/procore/support.go
+++ b/providers/procore/support.go
@@ -29,7 +29,7 @@ const companyIDPlaceholder = "{companyId}"
var objectRegistry = datautils.Map[string, objectConfig]{ //nolint:gochecknoglo... | 3 | 2 | 2 | [{"id": "G0", "claim": "Removing `write: true` from the `company/projects` registry entry does not actually disable writes because the `write` flag is not checked anywhere in the Procore write path; an explicit guard should be added in the write handlers so write attempts fail fast with a clear error.", "category": "co... | null |
amp-labs__connectors__2944 | amp-labs/connectors | 2,944 | defect | ce1040e95df90b02f267d279158818162fbbad3e | 814b593cbcb3368d70ded529ea73e1bebf06b2ef | tidy(testutils): Relocate CompareResult | # Description
This PR refines and generalizes the recently introduced `CompareResult`.
### Key changes
* **Package relocation**
The `CompareResult` type has been moved from `mockutils` to `testutils`.
While `mockutils` is intended for provider-specific mocking utilities, `CompareResult` is a more general... | diff --git a/providers/hubspot/internal/crm/associations/create_test.go b/providers/hubspot/internal/crm/associations/create_test.go
index 7ce4d8f644..9a792809b0 100644
--- a/providers/hubspot/internal/crm/associations/create_test.go
+++ b/providers/hubspot/internal/crm/associations/create_test.go
@@ -211,8 +211,8 @@ f... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment on Assert should say the method returns true if structures match exactly (the current wording inverts the return semantics).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
amp-labs__connectors__2965 | amp-labs/connectors | 2,965 | defect | f252a50db0f4ea1544c661adb13578a348355ada | 13ea3dc602f1afe0b6a47d555462db32603f9139 | [ENG-3906] feat(hubspot/marketing): Read campaigns | # Descirption
Add support of `marketing/campaigns`.
# Changes
* Marketing read uses connector-side filtering. See unit tests.
* ListObjectMetadata and Read now have switch to direct objects by 3 categories:
<img width="818" height="287" alt="image" src="https://github.com/user-attachments/assets/b10f2c98... | diff --git a/connector/new.go b/connector/new.go
index c8c06d3346..29a3cbb71d 100644
--- a/connector/new.go
+++ b/connector/new.go
@@ -341,10 +341,7 @@ func newSalesforceJWTConnector(params common.ConnectorParams) (*salesforce.Conne
}
func newHubspotConnector(params common.ConnectorParams) (*hubspot.Connector, erro... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks for a comment on the new object sets (ObjectsWithoutPropertiesAPISupport and ObjectsMarketingAPI) explaining whether these objects are supported by the Properties API.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
amp-labs__connectors__2969 | amp-labs/connectors | 2,969 | defect | 346d121f639d7d33cf25ea616187a859990b9764 | 3a46d32fd414166caee635035ea16660f7a63581 | feat(hubspot): Read marketing emails | # Description
Add support to `marketing/emails`. There is already emails object under Hubspot Objects API so to we must distinguish them. Therefore the prefix is preserved.
The CRM email is called "One-to-one emails" in this [article](https://knowledge.hubspot.com/records/understand-objects). But I am not able to... | diff --git a/connector/new.go b/connector/new.go
index b7912358a0..441bcec35e 100644
--- a/connector/new.go
+++ b/connector/new.go
@@ -343,10 +343,7 @@ func newSalesforceJWTConnector(params common.ConnectorParams) (*salesforce.Conne
}
func newHubspotConnector(params common.ConnectorParams) (*hubspot.Connector, erro... | 2 | 1 | 0 | [{"id": "G0", "claim": "The marketing emails schema omits the possible values for fields such as `language` because there are too many to list, and it is unclear whether they should be added.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a li... | null |
amp-labs__connectors__2980 | amp-labs/connectors | 2,980 | defect | 79d841a1c5418d5038301a9501dd16ff7fbc7506 | 7fed02a8e0f91bd97bafb1222a30e591442a9d04 | feat(salesforce): support manual checkbox / apex trigger creation in CDC subscribe | Add ManualCheckboxCreation and ManualApexTriggerCreation flags to SubscriptionRequest
(and mirror them on SubscribeResult so DeleteSubscription / rollback can read them).
When a flag is true the connector skips the Metadata API write and
best-effort checks the artifact is visible to the connector via Tooling API
SOQL.... | diff --git a/providers/salesforce/apex.go b/providers/salesforce/apex.go
index 8971568aa8..46d49764e3 100644
--- a/providers/salesforce/apex.go
+++ b/providers/salesforce/apex.go
@@ -96,6 +96,18 @@ func GenerateApexTriggerNameForCDC(objectName string) (string, error) {
return metadata.GenerateApexTriggerNameForCDC(ob... | 1 | 1 | 0 | [{"id": "G0", "claim": "The helper should be named `CustomFieldExists` rather than `CustomCheckboxFieldExists`, since nothing in it is checkbox-specific.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
amp-labs__connectors__3000 | amp-labs/connectors | 3,000 | defect | 94daa0c139809059d0673767cbf5d1ccf70e076a | 17efba301eca479b02a72cca692a1892436721cb | [CON-3245] fix(gong): use api_base_url_for_customer field and full URL from OAuth token response | ## What does this PR do?
Corrects the Gong regional base URL implementation. The previous PR (#2998) used the wrong field name and wrong URL format.
**Fixes:**
- `WorkspaceRefField`: `api_base_url` → `api_base_url_for_customer` (correct field name from Gong OAuth token response)
- `BaseURL`: `https://{{.api_base_url}... | diff --git a/providers/gong.go b/providers/gong.go
index 3b431c5b46..af4b67a562 100644
--- a/providers/gong.go
+++ b/providers/gong.go
@@ -12,7 +12,7 @@ func init() {
// US tenants get https://api.gong.io; EU/APAC tenants get a different URL.
// Without this, non-US tenants receive "access token has been revoked"... | 3 | 2 | 0 | [{"id": "G0", "claim": "The comment stating US tenants get https://api.gong.io is outdated, since US tenants also get a tenant-specific URL like https://us-12345.api.gong.io.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a comment linking t... | null |
amp-labs__connectors__3019 | amp-labs/connectors | 3,019 | defect | fd76f09bbf610df926024b4413359149f1ffc4fa | 4b17ec6149823aa604a3b710e5e5a4c27bfd5ba4 | fix(granola): Fetch notes with transcript by default | Always request `include=transcript` when calling Get Note while building the full note registry for notes.
## TESTS
<img width="1980" height="954" alt="Screenshot from 2026-05-21 01-13-20" src="https://github.com/user-attachments/assets/454bf884-265a-457f-8e22-2568dbeda845" />
<img width="1980" height="954" al... | diff --git a/providers/granola/notes.go b/providers/granola/notes.go
index ab963fe99d..df049dea6a 100644
--- a/providers/granola/notes.go
+++ b/providers/granola/notes.go
@@ -36,14 +36,15 @@ type NoteRecords map[string]NoteRecord
// fetchNotes retrieves the full note payloads for all note IDs found in the
// provided... | 1 | 1 | 1 | [{"id": "G0", "claim": "Existing unit tests only assert the include=transcript query param when the transcript field is explicitly requested, so a unit test should be added or adjusted to cover the new default of always requesting include=transcript on per-note Get Note requests during full-note hydration.", "category"... | null |
ampleforth__ampleforth-contracts__181 | ampleforth/ampleforth-contracts | 181 | defect | 344204043cc7afec8a690017a496ac3b571c9250 | 04f9a96ef94a6b94df6197ddd3e74879bf80977f | Permit [eip-2612] support for AMPL | Gasless approvals with permit.
https://eips.ethereum.org/EIPS/eip-2612
Reference implementations
* Openzeppelin: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/drafts/ERC20Permit.sol
* AToken: https://github.com/ampleforth/protocol-v2/blob/master/contracts/protocol/tokenization/ATok... | diff --git a/contracts/UFragments.sol b/contracts/UFragments.sol
index d7c0faec..be21421e 100644
--- a/contracts/UFragments.sol
+++ b/contracts/UFragments.sol
@@ -76,6 +76,34 @@ contract UFragments is ERC20Detailed, Ownable {
// it's fully paid.
mapping(address => mapping(address => uint256)) private _allowed... | 7 | 2 | 1 | [{"id": "G0", "claim": "The two bare require() calls in permit (and ecrecover check) should carry revert reason strings; the author replied that revert messages are not possible in Solidity 0.4.24.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
ampleforth__ampleforth-contracts__231 | ampleforth/ampleforth-contracts | 231 | defect | d49624e5c7adca5b603471a308c2480ddffa1ee4 | 70530b927abee3ce47233b5735cffce77334f920 | Median oracle replace expired report before delay | migration of PR https://github.com/ampleforth/market-oracle/pull/72 | diff --git a/contracts/MedianOracle.sol b/contracts/MedianOracle.sol
index 00ab8609..538a3cfc 100644
--- a/contracts/MedianOracle.sol
+++ b/contracts/MedianOracle.sol
@@ -108,13 +108,21 @@ contract MedianOracle is Ownable, IOracle {
Report[2] storage reports = providerReports[providerAddress];
uint256... | 1 | 1 | 1 | [{"id": "G0", "claim": "The third pushReport in the previous report expired test at test/unit/MedianOracle.ts line 140 should be reverted (should be an expect(...).to.be.reverted) since at that point the previous push is too new and the one before is in the valid time range.", "category": "testing", "verdict": "support... | null |
ampleforth__ampleforth-contracts__265 | ampleforth/ampleforth-contracts | 265 | defect | 113254b4f6f6f69910c73654ac84eb796cb5857e | b2a82a4a974f3c901173878cdf8577a2f92b1597 | Target rate update | * Policy now gets the cpi adjusted target rate as an output from the cpi oracle (rather than getting the new CPI and scaling it to then compute the current target).
* Median oracle now has an additional scaling factor parameter (settable by the owner). The final `output = median*scalar`
| diff --git a/contracts/MedianOracle.sol b/contracts/MedianOracle.sol
index c201c8a5..51c93d69 100644
--- a/contracts/MedianOracle.sol
+++ b/contracts/MedianOracle.sol
@@ -2,6 +2,7 @@
pragma solidity 0.8.4;
import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
+import ... | 10 | 8 | 0 | [{"id": "G0", "claim": "The new event should use a more explicit name such as LogRebaseV2, or alternatively keep the LogRebase name and populate CPI with 0 going forward.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Worth checking whether even... | null |
amplication__amplication__7732 | amplication/amplication | 7,732 | defect | c11aa0f2c14928c45e506740214abd78c6be0851 | 19d7860cbb5cb2008758f2ff98b0c142ec7ddcc2 | cancel merge settings | <!--
Thank you for contributing to Amplication :)
PLEASE, GO THROUGH THESE STEPS BEFORE SUBMITTING A PR!
Make sure that:
1. There is an open issue for this PR. If not, please open one before submitting your changes. Before proceeding, any change needs to be discussed (You can skip this if you're fixing a typo... | diff --git a/packages/amplication-server/src/core/block/block.service.ts b/packages/amplication-server/src/core/block/block.service.ts
index 2f01614771..4bec9f80cd 100644
--- a/packages/amplication-server/src/core/block/block.service.ts
+++ b/packages/amplication-server/src/core/block/block.service.ts
@@ -468,7 +468,8 ... | 1 | 1 | 1 | [{"id": "G0", "claim": "New changes to fine-grained merge control are awaited and the review blocks the PR until they land — the all-or-nothing notMergeSettings boolean does not provide fine-grained merge control.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
amplication__amplication__7830 | amplication/amplication | 7,830 | defect | e2d7da36adba8558f0ba7d539d648ff76ede8fd5 | 8aff2ba7704c757b6d267d570cf0236969d0e7d7 | fixed bug on mergeAllSettings | <!--
Thank you for contributing to Amplication :)
PLEASE, GO THROUGH THESE STEPS BEFORE SUBMITTING A PR!
Make sure that:
1. There is an open issue for this PR. If not, please open one before submitting your changes. Before proceeding, any change needs to be discussed (You can skip this if you're fixing a typo... | diff --git a/packages/amplication-server/src/core/block/block.service.ts b/packages/amplication-server/src/core/block/block.service.ts
index 56b8ea94ea..d7f2fba11d 100644
--- a/packages/amplication-server/src/core/block/block.service.ts
+++ b/packages/amplication-server/src/core/block/block.service.ts
@@ -3,7 +3,7 @@ i... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `const` instead of `let` for the destructured loop variables of `Object.entries(oldSettings)` since they are never reassigned.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
amplication__amplication__8473 | amplication/amplication | 8,473 | defect | cb531818e583c169e8a2032e7e14c101d8bab118 | 5623ba923dbadbf53ca6a93f33a030c49ec864b5 | Feat/jovu create serviec with plugins |
Close: #8472
## PR Details
- Add a new param for createService for a list of plugin IDs
- remove the params for base paths, and use default values instead
- do not install the default DB plugin when jovu asks to install any DB plugin
## PR Checklist
- [ ] Tests for the changes have been added
- [ ]... | diff --git a/packages/amplication-server/src/core/assistant/assistantFunctions.service.ts b/packages/amplication-server/src/core/assistant/assistantFunctions.service.ts
index 81fac8b770..99643e5804 100644
--- a/packages/amplication-server/src/core/assistant/assistantFunctions.service.ts
+++ b/packages/amplication-serve... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new createService function definition must also be updated manually in the OpenAI platform — in the default project for sandbox and in the production project for staging+prod — or the repo-side change will not take effect there.", "category": "deployment", "verdict": "supported", "priority":... | null |
amplication__amplication__8668 | amplication/amplication | 8,668 | defect | ee9d32bd1ff15931d7bb569826ccc2841403302c | 8ece0610137c286221928664c31b0443e89c1a91 | Fix/project limitation | Close: https://github.com/amplication/amplication/issues/8663
## PR Details
enforce project creation limitation
<img width="313" alt="image" src="https://github.com/amplication/amplication/assets/43705455/e9f926e0-ff93-4c9b-8dd6-c51e6c968f19">
## PR Checklist
- [ ] Tests for the changes have been added
... | diff --git a/packages/amplication-server/src/core/project/project.service.spec.ts b/packages/amplication-server/src/core/project/project.service.spec.ts
index 12c42e88ae..1bca8f55e9 100644
--- a/packages/amplication-server/src/core/project/project.service.spec.ts
+++ b/packages/amplication-server/src/core/project/proje... | 1 | 1 | 1 | [{"id": "G0", "claim": "The condition evaluates projectEntitlement.usageLimit >= projectEntitlement.currentUsage outside the null check, so it would throw when projectEntitlement is falsy; restructure the condition so projectEntitlement && guards the whole disjunction.", "category": "correctness", "verdict": "supported... | null |
amplication__amplication__9003 | amplication/amplication | 9,003 | defect | 299b317f42269efe5a7294674c945e0bc8b7f3ee | 877a6eab8e9a93ac756e1cf49354e3831b1eb2ff | fet(server):recalc build status | part of https://github.com/amplication/amplication/issues/8997
## PR Details
Recalculate the build status of old builds with lazy data migration.
The default value of the new field is Unknown - so use the @FieldResolver to recalculate and update the build status when the status is Unknown, otherwise return t... | diff --git a/packages/amplication-server/src/core/build/build.resolver.spec.ts b/packages/amplication-server/src/core/build/build.resolver.spec.ts
index 481d3c2e31..7b380931b4 100644
--- a/packages/amplication-server/src/core/build/build.resolver.spec.ts
+++ b/packages/amplication-server/src/core/build/build.resolver.s... | 3 | 1 | 0 | [{"id": "G0", "claim": "When calcBuildStatus returns Invalid because the build has no action steps, should the recalculated status be updated in the DB, in case the build stops being invalid later on?", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fall... | null |
amplication__amplication__9231 | amplication/amplication | 9,231 | defect | 8462e5f7ebb1ea4f433ac16005d94027d95744f9 | 27f5f4608ab9a98b6af45785d19d149f9e1fba4b | feat(server/notification-service): add novu notifications | Close: #9229 #9230
## PR Details
Add novu notifications for tech-debt alerts:
- templates
- private-plugins
## PR Checklist
- [x] Tests for the changes have been added
- [x] `npm test` doesn't throw any error
| diff --git a/libs/schema-registry/src/index.ts b/libs/schema-registry/src/index.ts
index 84f5a66a11..57f03bfd36 100644
--- a/libs/schema-registry/src/index.ts
+++ b/libs/schema-registry/src/index.ts
@@ -24,6 +24,7 @@ export * as DownloadPrivatePluginsSuccess from "./lib/download-private-plugins-s
export * as DownloadP... | 3 | 2 | 1 | [{"id": "G0", "claim": "Move the code that raises the Kafka event into a new 'raiseNotifications' function called from create(), so all types of alerts raise notifications in the same way.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The alert notifica... | null |
amplication__amplication__9278 | amplication/amplication | 9,278 | defect | 28cb222e0783780cda59df4822d179d294767ebe | 0db476b7db56c688e090b7a5eafbe8265da9f5bc | feat/allow import schema with existing entities | Replaces: https://github.com/amplication/amplication/pull/9259 (which was closed for a CI technicality)
<!--
Thank you for contributing to Amplication :)
PLEASE, GO THROUGH THESE STEPS BEFORE SUBMITTING A PR!
Make sure that:
1. There is an open issue for this PR. If not, please open one before submitting y... | diff --git a/libs/ui/design-system/src/lib/components/PanelCollapsible/PanelCollapsible.tsx b/libs/ui/design-system/src/lib/components/PanelCollapsible/PanelCollapsible.tsx
index c956c4855e..f319c7ed9b 100644
--- a/libs/ui/design-system/src/lib/components/PanelCollapsible/PanelCollapsible.tsx
+++ b/libs/ui/design-syste... | 1 | 1 | 1 | [{"id": "G0", "claim": "In handleModelNamesCollision, the do-while loop should reassign isFormattedModelNameAlreadyTaken with `= modelList.some(...)` instead of accumulating it with `||=`, whose value persists across loop iterations.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
amplication__amplication__9523 | amplication/amplication | 9,523 | defect | 6b20f06e8d492a9d5d1203fadb47e5df6ae7dfdf | 0e71b3da44e5867617c19e9f1e0c342afe33e57d | feat(server): refactor createDefaultTeam() to accept multiple teams and roles | <!--
Thank you for contributing to Amplication :)
PLEASE, GO THROUGH THESE STEPS BEFORE SUBMITTING A PR!
Make sure that:
1. There is an open issue for this PR. If not, please open one before submitting your changes. Before proceeding, any change needs to be discussed (You can skip this if you're fixing a typo... | diff --git a/packages/amplication-server/src/core/workspace/workspace.service.ts b/packages/amplication-server/src/core/workspace/workspace.service.ts
index 876a83303d..23a3bbe2d6 100644
--- a/packages/amplication-server/src/core/workspace/workspace.service.ts
+++ b/packages/amplication-server/src/core/workspace/worksp... | 3 | 3 | 0 | [{"id": "G0", "claim": "The locally redefined Team type in workspace.service.ts should be replaced with the Team model from models/.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The locally redefined Role type in workspace.service.ts should be replaced... | null |
ampproject__amphtml__20211 | ampproject/amphtml | 20,211 | defect | 62a92e4431488d4693a0cc3bac1546608400bbe2 | da1917b890340bc6a81444aec566ea2e4aa2e5b1 | ✅Amp-skimlinks end to end tests | Add end to end tests fo amp-skimlinks extension.
#### Notes:
In order to test amp-skimlinks script, we introduced a new **optional** JSON config to overwrite the request endpoints used by amp-skimlinks. The config (used only for the end to end tests) can be inserted inside the `<amp-skimlinks>` tag as follow:
``... | diff --git a/extensions/amp-skimlinks/0.1/affiliate-link-resolver.js b/extensions/amp-skimlinks/0.1/affiliate-link-resolver.js
index e211b30d8397..6f5a9437e15b 100644
--- a/extensions/amp-skimlinks/0.1/affiliate-link-resolver.js
+++ b/extensions/amp-skimlinks/0.1/affiliate-link-resolver.js
@@ -14,7 +14,6 @@
* limitat... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new getConfig_ function and getExcludedDomains_ are missing @return JSDoc annotations (@return {!Object} and @return {!Array<string>}).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rather than importing the individu... | null |
ampproject__amphtml__20547 | ampproject/amphtml | 20,547 | defect | 1e94b2e618be5f6bd77d05381ae36e0eceafd1d2 | a98753f4f449aa8927e785803f179640521ae5bd | ✨ amp-skimlinks - new "custom-redirect-domain" option. | Creating new amp-skimlinks option "custom-redirect-domain" for publishers to change the redirect URL.
Currently, if users click on a link affiliated by Skimlinks, the user will navigate first to `https://go.skimresources.com` (the default redirect domain) before being redirected to the merchant URL. With the new cus... | diff --git a/extensions/amp-skimlinks/0.1/constants.js b/extensions/amp-skimlinks/0.1/constants.js
index c8d8369dfd1a..cc69964025f2 100644
--- a/extensions/amp-skimlinks/0.1/constants.js
+++ b/extensions/amp-skimlinks/0.1/constants.js
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-export const AMP_SKIMLIN... | 2 | 2 | 1 | [{"id": "G0", "claim": "Instead of opting all redirect domains into http, the code should whitelist go.redirectingat.com for http and exclude everyone else; the reviewer also asks why the publisher-CNAME setup cannot support SSL.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
ampproject__amphtml__36143 | ampproject/amphtml | 36,143 | defect | fc4d6aaaad4cac57760296d2d8e64d46831974d8 | b7aff1f6b362b544cd391ea864cff9b3cbd2fe87 | 🚀 babel/terser: rename all amp privates with sentinel suffix | ## summary
This PR renames all of AMP's private vars so that we can safely enable terser prop mangle during minification.
| | v0.js brotli | v0.js | v0.mjs brotli | v0.mjs |
|---------------------------------|--------------|--------|---------------|--------|
| closure compiler ... | diff --git a/build-system/babel-config/minified-config.js b/build-system/babel-config/minified-config.js
index b5acdbbbfca12..6e6c05b4c332a 100644
--- a/build-system/babel-config/minified-config.js
+++ b/build-system/babel-config/minified-config.js
@@ -31,6 +31,7 @@ function getMinifiedConfig() {
'./build-system/b... | 4 | 4 | 2 | [{"id": "G0", "claim": "The temporary disabling of closure compilation with `&& false` in shouldUseClosure() should be reverted before merge, and the reviewer marked the comment to ensure it is not forgotten.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl... | null |
ampproject__amphtml__38121 | ampproject/amphtml | 38,121 | defect | 2c019d46782e59ab7c4b7b0378dae95ab260f357 | 51989304ceedd6a32fc14fea41956ed199318529 | ✨ [Story Preview] Enable stories to play when in preview mode | - Part of #37129
---
The layout logic of `amp-story` is designed to block until the story has reached the `visible` visibility state. However, the story should also layout and play in the newly introduced `preview` visibility state. | diff --git a/extensions/amp-story/1.0/amp-story.js b/extensions/amp-story/1.0/amp-story.js
index a177a1115b6a..6ba6c9b9a216 100644
--- a/extensions/amp-story/1.0/amp-story.js
+++ b/extensions/amp-story/1.0/amp-story.js
@@ -953,8 +953,9 @@ export class AmpStory extends AMP.BaseElement {
this.setThemeColor_();
... | 4 | 4 | 3 | [{"id": "G0", "claim": "The added `!hasBeenPreviewed()` condition in the layoutCallback initial-page build guard may be unnecessary.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`whenFirstPreviewedOrVisible()` should use `Promise.race` instead of ... | null |
ampproject__amphtml__38204 | ampproject/amphtml | 38,204 | defect | 2fb4e151488ba4d856b33f836151d66b45ca457e | 2ad5bcb62d8bfb5e28929fce9ab56cad8f8257ac | 🌐 [Story subscription] Subscription localization async | We should make the subscription service localize the template asychronously so we can lazy-load the localization strings. | diff --git a/build-system/test-configs/dep-check-config.js b/build-system/test-configs/dep-check-config.js
index 1539630eb5a3..d497c30665f0 100644
--- a/build-system/test-configs/dep-check-config.js
+++ b/build-system/test-configs/dep-check-config.js
@@ -283,6 +283,7 @@ exports.rules = [
'extensions/amp-story-pa... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since localization strings are now applied via localizeTemplate's i-amphtml-i18n-text-content attributes, the still-awaited Services.localizationServiceForOrNull promise and the no-longer-referenced localizationService_ private member should be removed from the service-wait list.", "category": "... | null |
ampproject__amphtml__38314 | ampproject/amphtml | 38,314 | defect | 9e920c549ea59f9626ed05522977808fe4de21ea | ae2e96016117ef44a928deef2d060537bccd6d0d | 🐛 Fix #38312 toggleChecked | @zhangsu reported that `toggleChecked()` fails when `force` is null.
@jridgewell fixed it in https://github.com/ampproject/amphtml/issues/38312#issuecomment-1168095157
<!--
# Instructions:
1. Pick a meaningful title for your pull request.
a. Prefix the title with an emoji. (Copy-paste from the list below.)... | diff --git a/src/service/standard-actions-impl.js b/src/service/standard-actions-impl.js
index 613d335bb849..2ff6a196869c 100644
--- a/src/service/standard-actions-impl.js
+++ b/src/service/standard-actions-impl.js
@@ -591,7 +591,7 @@ export class StandardActions {
const {args} = invocation;
this.mutator_.m... | 2 | 2 | 1 | [{"id": "G0", "claim": "A test case should be added that covers invoking toggleChecked with no args specified (args: null), so the tests match what happens for on=\"tap:checkbox.toggleChecked\".", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There is tr... | null |
ampproject__amphtml__38369 | ampproject/amphtml | 38,369 | defect | 83270c82c0130eff7988664c86a7482098f9477e | 3aca2fa21a498d6f8971ecdc5ab02762159fc0fe | ♿ [Story interactive] Make slider keyboard a11y and valid | Some features were missing from the slider:
- **A11Y:** Key events (left, right, enter, space) were being caught by amp-story for navigation and didn't work with sliders. This PR prevents navigation if keyboard events are sent when focused on the slider so left/right move the slider by 1%, and enter/space submit the s... | diff --git a/extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js b/extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js
index 513bcc9f4304..bd042f0aeb14 100644
--- a/extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js
+++ b/extensions/amp-story-interactive/0.1/amp... | 1 | 1 | 0 | [{"id": "G0", "claim": "The braces added around the touchmove arrow-function body are unnecessary and the reviewer asks why they are there (implying they should be removed).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ampproject__amphtml__38481 | ampproject/amphtml | 38,481 | defect | 9b2cccdf4fedb6bfd6a5d1ebef1c20e4950c766e | 621fa7abea0a2f7ff82f6b237cebe8c533c764cd | 🧪 Update attribution tracking api to match latest spec | Our code had gone out of sync with the latest proposal from chrome folks. See https://github.com/WICG/attribution-reporting-api/blob/main/EVENT.md#registering-attribution-sources
cc/ @zombifier | diff --git a/extensions/amp-ad-exit/0.1/amp-ad-exit.js b/extensions/amp-ad-exit/0.1/amp-ad-exit.js
index d458f88fd673..e1f8adcc22f2 100644
--- a/extensions/amp-ad-exit/0.1/amp-ad-exit.js
+++ b/extensions/amp-ad-exit/0.1/amp-ad-exit.js
@@ -456,7 +456,8 @@ export class AmpAdExit extends AMP.BaseElement {
// https://... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the new empty-attributionsrc test, finalUrl should be the full URL starting with the adtech domain rather than https://advertiser.example, so the test asserts the wrong exit URL per the spec.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ampproject__amphtml__38588 | ampproject/amphtml | 38,588 | defect | 40074fb0a1e9a01c31ce442d05252448439a5f20 | 1d2b6be7ec3f4666b7989a67a85a3ebbcdd1d9a1 | ✨ Add support for Mgid Ads in Web Stories | Adds support for the amp-ad type 'mgid' inside Web Stories. We already have integration with AMP through 3p iframe and it should work as it was before.
<!--
# Instructions:
1. Pick a meaningful title for your pull request.
a. Prefix the title with an emoji. (Copy-paste from the list below.)
b. If helpful,... | diff --git a/ads/_a4a-config.js b/ads/_a4a-config.js
index 7eaa40fb5323..aeddc19f4653 100644
--- a/ads/_a4a-config.js
+++ b/ads/_a4a-config.js
@@ -27,6 +27,7 @@ export function getA4ARegistry() {
'dianomi': () => true,
'doubleclick': () => true,
'fake': () => true,
+ 'mgid': (win, adTag) => !a... | 9 | 3 | 1 | [{"id": "G0", "claim": "Promise.allSettled may not be available in all browsers AMP supports, so the code may need to map to promises and use Promise.all instead.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code could use the existing query par... | null |
ampproject__amphtml__38620 | ampproject/amphtml | 38,620 | defect | 12a8a2eb9a3656064439da35b736023090e7c78a | b652c2995e80dad5a3bb85d62dabe7dfec587e61 | 🧪 Introduce structure for `attribution-reporting` client side experiment | Allows us to send requests opting into new api in ad response.
partial #35347 | diff --git a/extensions/amp-a4a/0.1/amp-a4a.js b/extensions/amp-a4a/0.1/amp-a4a.js
index b957819958e2..f6998acd6e4f 100644
--- a/extensions/amp-a4a/0.1/amp-a4a.js
+++ b/extensions/amp-a4a/0.1/amp-a4a.js
@@ -32,11 +32,8 @@ import {dev, devAssert, logHashParam, user, userAssert} from '#utils/log';
import {A4AVariableSou... | 1 | 1 | 1 | [{"id": "G0", "claim": "The ENABLE_NO_ASYNC branch constant should be '44776503', not '44776502' — the two NO_ASYNC experiment IDs are swapped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ampproject__amphtml__38703 | ampproject/amphtml | 38,703 | defect | ac2420b5c0b2dafe8adf5c8d17bfb17af04476e2 | 839bf61def71c01686ec884c5d5a53e2025d2301 | ♻️Make loadScript function in validator-integration Trusted Types compatible | Adding an inline Trusted Types policy to validate the URL and generate a TrustedScriptURL object to avoid Trusted Types violations due to the `script.src` call. Also updated the test example to match the trusted URL pattern to simplify validation.
| diff --git a/src/validator-integration.js b/src/validator-integration.js
index 7dc42e37ba52..0c46cb02781e 100644
--- a/src/validator-integration.js
+++ b/src/validator-integration.js
@@ -44,7 +44,26 @@ export function loadScript(doc, url) {
const script = /** @type {!HTMLScriptElement} */ (
doc.createElement('s... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment explaining the reasoning why it is OK to hardcode the explicit cdn.ampproject.org domain for validator_wasm instead of using the dynamic cdn value from src/config/urls.js.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ampproject__amphtml__38744 | ampproject/amphtml | 38,744 | defect | 692237e2066713243e10f347f840f507096fd797 | b412c1f8b9da0833dfd604086d9b858e4c4eefab | ✨ [AMP Story Audio Sticker] add the sticker container and tap hint | Adds the sticker container that constrain the size of audio sticker to only 2 sizes. Also adds the tap hint to make the sticker more obvious for users to notice.
TODO: add the logic to take custom images for different sticker states and the animation between them.
Reference: #38339
| diff --git a/examples/amp-story/amp-story-audio-sticker.html b/examples/amp-story/amp-story-audio-sticker.html
index aad90993b603..03934f9f0ecc 100644
--- a/examples/amp-story/amp-story-audio-sticker.html
+++ b/examples/amp-story/amp-story-audio-sticker.html
@@ -65,16 +65,6 @@
object-fit: contain;
width: ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The JSX class expression would be better written with string concatenation instead of repeating the full container class name in both branches of the ternary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ampproject__amphtml__39345 | ampproject/amphtml | 39,345 | defect | 340454553f209850286635fd40cead3809131446 | 628aa19f2d0732373a1d8355046f0cbb11d5a42b | ✨ Add interaction to next paint metrics to amp-analytics | https://github.com/ampproject/amphtml/issues/38470
<!--
# Instructions:
1. Pick a meaningful title for your pull request.
a. Prefix the title with an emoji. (Copy-paste from the list below.)
b. If helpful, use a short prefix (e.g. `[Project XX] Implement feature YY`).
2. Enter a description that explains ... | diff --git a/docs/spec/amp-var-substitutions.md b/docs/spec/amp-var-substitutions.md
index 0c61390b80f26..42e84f242ecd1 100644
--- a/docs/spec/amp-var-substitutions.md
+++ b/docs/spec/amp-var-substitutions.md
@@ -177,6 +177,7 @@ The tables below list the available URL variables grouped by type of usage. Furt
| [DOM In... | 4 | 2 | 2 | [{"id": "G0", "claim": "The event-timing observer's durationThreshold of 16ms is unexplained and may not match the web-vitals reference implementation for INP, which uses 40ms.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Because the metric keeps ... | null |
ampproject__amphtml__40213 | ampproject/amphtml | 40,213 | defect | 7c357cbb76066600f4e2a6e80494122dd446d98b | 6ac624a35c4f306765e3d308cb78ba89d7915c05 | Fix: Rename CloseWatcher.signalClose to CloseWatched.requestClose | This is one of the fixes to the tests that we skilled for the Chrome 131 upgrade https://github.com/ampproject/amphtml/pull/39912
The API was renamed at some point and we had not updated our polyfill. This does not seem to have affected much. `CloseWatch` is only ever used in the amp-lightbox implementation.
I te... | diff --git a/extensions/amp-lightbox/0.1/test/test-amp-lightbox.js b/extensions/amp-lightbox/0.1/test/test-amp-lightbox.js
index f797c77ba44dc..41b1f1721d83e 100644
--- a/extensions/amp-lightbox/0.1/test/test-amp-lightbox.js
+++ b/extensions/amp-lightbox/0.1/test/test-amp-lightbox.js
@@ -114,7 +114,8 @@ describes.realW... | 5 | 5 | 5 | [{"id": "G0", "claim": "The tests should gate on feature detection rather than ifChrome/skipChrome so the same behaviour is tested for other browsers (WebKit/Gecko) when they implement the APIs.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Chrome-... | null |
ampproject__amppackager__113 | ampproject/amppackager | 113 | defect | 6612ebe7045bee86055fd968bfacc8a26fdd7582 | b633f01355572862fc69f0e644f07bdf71ebac95 | Remove PackagerBase. | It is confusing, and also wrong, now that the validity-url must be
same-origin with the signed URL. Instead, the behavior is thus:
1. validity-url is computed using the origin of the signed URL. It
doesn't matter if this doesn't actually exist; the browser doesn't
currently fetch it.
2. In development, the... | diff --git a/README.md b/README.md
index a8e0f6e80..aa9d6009c 100644
--- a/README.md
+++ b/README.md
@@ -5,20 +5,20 @@
> of it, as a proof of concept. Feel free to play around with it, but be
> cautious. Examine the code.
-AMP Packager creates "AMP Packages" (implemented as [Signed HTTP
-Exchanges](https://tools.ie... | 2 | 2 | 0 | [{"id": "G0", "claim": "The sentence \"We would love to see scripts or packages that build in the best practices!\" at the end of the README Productionizing section should maybe be omitted.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The README... | null |
ampproject__amppackager__195 | ampproject/amppackager | 195 | defect | 004f9e940bf8164a883d1eefdaf5ff962f054b95 | 3208ae8ed3532c84f03db8b7ee331445a49b49c8 | Remove Connection-specified headers. | Removes hop-by-hop headers such as Transfer-Encoding, so long as they
are specified by Connection. This should handle RFC7230-compliant
backend servers, but additional support for RFC2616 hop-by-hop header
removal may be warranted. More research is required.
Addresses #193. | diff --git a/packager/accept/accept.go b/packager/accept/accept.go
index bef9a9abf..259dbb999 100644
--- a/packager/accept/accept.go
+++ b/packager/accept/accept.go
@@ -29,13 +29,7 @@ var SxgVersion = version.Version1b2
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_v... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comma regex added in signer.go is identical to the one defined in accept.go, and they should be consolidated in one place.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ampproject__amppackager__245 | ampproject/amppackager | 245 | defect | fc3309b3392b41add3374ca63ca6fa167c08b5aa | 1bf03c2df630f2d5ef9926b7dc1af7c303647934 | Content-Security-Policy | Allow the AMP Packager to maintain some of the publisher's own
Content-Security-Policy directives, while ensuring that the final
Content-Security-Policy header is set to a value that will not break
AMP pages served on the AMP Cache. | diff --git a/packager/signer/signer.go b/packager/signer/signer.go
index 9ec1e9582..8d179d177 100644
--- a/packager/signer/signer.go
+++ b/packager/signer/signer.go
@@ -219,6 +219,62 @@ func (this *Signer) fetchURL(fetch *url.URL, serveHTTPReq *http.Request) (*http.
return req, resp, nil
}
+// Some Content-Securit... | 6 | 6 | 1 | [{"id": "G0", "claim": "The MutateFetchedContentSecurityPolicy comment should link to the CSP spec at https://w3c.github.io/webappsec-csp/.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loop over directiveTokens should use `for _, directiveTo... | null |
ampproject__amppackager__291 | ampproject/amppackager | 291 | defect | a7a00913b9e17e67b119c64ebd641b35305e436b | 9cd3337d99521b2e07d1bb13a13b411028bee3e2 | signer: Avoid mutating response until signing | After successfully (200) fetching an AMP document, complete all
validation steps that could result in proxying the original response
before mutating any headers.
Resolves #279 | diff --git a/packager/signer/signer.go b/packager/signer/signer.go
index c6f84f8b4..81cc51a87 100644
--- a/packager/signer/signer.go
+++ b/packager/signer/signer.go
@@ -387,17 +387,8 @@ func (this *Signer) ServeHTTP(resp http.ResponseWriter, req *http.Request, param
proxy(resp, fetchResp, nil)
return
}
- ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The AMP-Cache-Transform response header is set in ServeHTTP and so is also applied to proxied (and 304) responses; it should be moved into serveSignedExchange so only signed responses carry it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id"... | null |
ampproject__amppackager__295 | ampproject/amppackager | 295 | defect | c84a503a57f238127879ee3be9904f68cc1d373b | 1f6173a207c010782f695d08c38d0b1e000661c6 | Add config.ForwardedRequestHeader | config.ForwardedRequestHeader allows amppkg to copy specified headers
from serveHTTP request to a fetch request. Hop-by-hop headers,
conditional request headers and Via cannot be included in it.
Fixes #259 | diff --git a/amppkg.example.toml b/amppkg.example.toml
index aa0b4a344..2ac6f8872 100644
--- a/amppkg.example.toml
+++ b/amppkg.example.toml
@@ -58,6 +58,10 @@ KeyFile = './pems/privkey.pem'
# locking; consider this especially when utilizing network-mounted storage.
OCSPCache = '/tmp/amppkg-ocsp'
+# The list of req... | 8 | 6 | 1 | [{"id": "G0", "claim": "Delete the removeHopByHopResponseHeaders wrapper and have fetchURL call util.RemoveHopByHopHeaders directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Handle the Host case first and make the GetJoined copy an else-if... | null |
ampproject__amppackager__313 | ampproject/amppackager | 313 | defect | 38942474a4b61593b4b71b1d648f62d168720b45 | 91dc0f7be6ae9fc79f91b5f0af8747d48543a316 | Switch to hand-rolled http mux. | This fixes the error where `/priv/doc/https://` URLs were being
improperly unescaped before fetching/signing.
In addition, validate that sign URLs don't contain any special characters, per the WICG recommendation.
The new mux code depends directly on the handlers, because we don't need any fancy dependency inver... | diff --git a/Gopkg.lock b/Gopkg.lock
index d15e89dd0..62a5aea36 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -3,7 +3,6 @@
[[projects]]
branch = "master"
- digest = "1:f714e69d8fc22c826e33a50283820d748020d36c55e6f7a1f3e801fcfff3b145"
name = "github.com/WICG/webpackage"
packages = [
"go/signedexchange",
... | 9 | 6 | 0 | [{"id": "G0", "claim": "packager/mux/mux.go is missing a copyright/license header.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comments at the top of mux.go should be moved to package level.", "category": "maintainability", "verdict": "supp... | null |
ampproject__amppackager__338 | ampproject/amppackager | 338 | defect | 1e2952cbbf2bfdf976b35ba8ab5af4b4fdc961e0 | 424ce4aac826c65b8669337b99b885071913dfdc | Packager config mods | Changes to amppackager toml file to accommodate ACME config changes.
Addresses #93 | diff --git a/packager/util/config.go b/packager/util/config.go
index 1896dfe29..9ac649634 100644
--- a/packager/util/config.go
+++ b/packager/util/config.go
@@ -24,13 +24,17 @@ import (
)
type Config struct {
- LocalOnly bool
- Port int
- CertFile string // This must be the full certificate chain.
- KeyFile ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The semantics of the new NewCertFile field (who reads/writes it, how it relates to CertFile over time) are unclear and need explanation before merge.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "NewKeyFile is unnecessary for v1 ... | null |
ampproject__amppackager__396 | ampproject/amppackager | 396 | defect | cd247391bc32914c6a8db58fef25667b1182daa9 | 335489bcef34e832faf7dd163a0f7686345ca2ce | Proxy unsigned if expires is in the past. | For pages with amp-script max-age<=86400, this will return plain HTML
rather than generating an already-expired SXG.
Addresses #395. | diff --git a/docs/cache_requirements.md b/docs/cache_requirements.md
index 002be6be4..e44964b01 100644
--- a/docs/cache_requirements.md
+++ b/docs/cache_requirements.md
@@ -52,7 +52,9 @@ These include:
(e.g. max 20 urls, rel=preload only, as=script|style only). URLs must be
limited to `cdn.ampproject.org` and t... | 1 | 1 | 0 | [{"id": "G0", "claim": "In serveSignedExchange, the Signer's Expires should be set from the already-computed and guarded `expires` variable instead of recomputing date.Add(duration), so the expiry actually signed is the one that was checked.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope"... | null |
ampproject__amppackager__417 | ampproject/amppackager | 417 | defect | 1015592e33aae2d951326ff9af8fe56f5cd1f7f5 | 2877a67b5157ef1fb395f75f136a09126b72248f | Add "metrics" Prometheus endpoint - total requests by type and code. | Add "metrics" endpoint. Provide a Prometheus counter of # of request broken down by request type and HTTP response code.
Part 1 of #357. | diff --git a/cmd/amppkg/main.go b/cmd/amppkg/main.go
index d5e8a5bb9..3527d6ea8 100644
--- a/cmd/amppkg/main.go
+++ b/cmd/amppkg/main.go
@@ -28,6 +28,7 @@ import (
"time"
"github.com/pkg/errors"
+ "github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/ampproject/amppackager/packager/certcache"
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The nil check on matchingRule that the pull request removed was insufficient to gracefully handle a nil rule (a later reference to matchingRule would still crash), unit tests already verify matchingRule won't be nil, and the deletion should be accompanied by a comment.", "category": "design", "v... | null |
ampproject__amppackager__438 | ampproject/amppackager | 438 | defect | 72682de5c8e3cea619c07a2edad834ed1f97c30e | 1dac104371f73d0392a63803bab86398797c7187 | FIXIT: Generate a better error for incorrectly generated private key | Fixes #354 | diff --git a/packager/util/util.go b/packager/util/util.go
index c6b1c8e95..8217ba1e2 100644
--- a/packager/util/util.go
+++ b/packager/util/util.go
@@ -52,7 +52,7 @@ func ParsePrivateKey(keyPem []byte) (crypto.PrivateKey, error) {
var pemBlock *pem.Block
pemBlock, keyPem = pem.Decode(keyPem)
if pemBlock == ni... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of inlining the openssl key-generation command in the ParsePrivateKey error message, the PR should link to step 2 of the signedexchange instructions (which also covers regenerating the cert), or alternatively document the steps in the README or wiki and link to that.", "category": "docum... | null |
ampproject__amppackager__483 | ampproject/amppackager | 483 | defect | 77a56fc938ae16234759b5aa76f87ff1e640fab1 | 54d21d7634f3a9fd0199a59d071899b722719b59 | Add HMAC and KID fields to ACME config TOML for EAB integration. | Add HMAC and KID fields to ACME config TOML for EAB integration. | diff --git a/go.mod b/go.mod
index e44a22565..ef185df72 100644
--- a/go.mod
+++ b/go.mod
@@ -27,6 +27,8 @@ replace github.com/davecgh/go-spew => github.com/davecgh/go-spew v1.1.0
replace github.com/stretchr/testify => github.com/stretchr/testify v1.2.1
+replace github.com/grpc/grcp-go => github.com/grpc/grpc-go v1... | 3 | 3 | 2 | [{"id": "G0", "claim": "The manually added `replace github.com/grpc/grcp-go => github.com/grpc/grpc-go v1.33.1` directive in go.mod appears unnecessary and should be explained or removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new EA... | null |
ampproject__amppackager__543 | ampproject/amppackager | 543 | defect | 88f0d3c6c95e0f98983b6a0aa35d8a1be3217858 | 2ad2a9b76af9ebc3af319f15fcf912a1d85a7271 | Update Prometheus metrics | This is an overhaul of the Prometheus metrics. The goal is to improve
usability by following best practices.
Use Histograms rather than summaries.
* Summaries can not be aggregated, this makes them unusable when you run
multiple instances of the service.
* Histograms provide the ability to use "heatmap" views of... | diff --git a/README.md b/README.md
index 1b00fa66e..edf92025c 100644
--- a/README.md
+++ b/README.md
@@ -311,8 +311,8 @@ You can monitor the packager's error rates, as well as the rates of signed
vs unsigned documents, via the tools discussed in the next section.
Specifically, you can monitor the requests that resu... | 5 | 5 | 0 | [{"id": "G0", "claim": "Fix the `[handler]` link in the metrics table of monitoring.md to have only the fragment part of the URL.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Also link to https://prometheus.io/docs/practices/histograms/ in the... | null |
ampproject__amppackager__71 | ampproject/amppackager | 71 | defect | 4a9d9e27666d916100e3f575c3069adf4acf280a | 8f2bdade06454cd46f9ad506d79fd8fe0d775dfa | Fetch, cache, and attach OCSP responses. | This implements almost all of the requirements set by
https://gist.github.com/sleevi/5efe9ef98961ecfb4da8.
This uses a new Updateable interface, so
another transactional storage mechanism could be plugged in without any
architectural changes.
The code is, well, not pretty. It could use some cleanliness.
Add... | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 939e5341e..709225cc0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,4 +1,4 @@
-# How to Contribute
+# Contributing Guidelines
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.
@... | 7 | 6 | 3 | [{"id": "G0", "claim": "The comments that cite the sleevi items by bare number (e.g. 'sleevi #1, sleevi #6') should be expanded so they stay understandable without looking up the referenced doc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The l... | null |
ampproject__amppackager__80 | ampproject/amppackager | 80 | defect | 76af80610e07ef6d3ba7d0a9e1e8f5962a950cba | 8330c854aeed1491c869f006bda303fd07fdd8a6 | Fix code and documentation per v=b1. | Update cert requirements, validity-url generation, SCT generation and
documentation, cert-chain+cbor content-type, OCSP cache dir check,
inner content-type (text/html) and outer content-type (b0 -> b1).
This has been tested with a real SXG certificate against Chrome M69.
Fixes #35. Fixes #15. Addresses #36. | diff --git a/README.md b/README.md
index 2683db6c0..d07a1e61b 100644
--- a/README.md
+++ b/README.md
@@ -29,8 +29,8 @@ and signs AMP documents as requested by the AMP Cache.
#### Configure your frontend server
-The frontend server needs to forward two types of requests to the packager:
-packages and certificates.
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The name ValidityMapURL should be renamed (e.g. to something like ValidityMapPath) since what is stored is not really a URL.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
ampproject__worker-dom__1006 | ampproject/worker-dom | 1,006 | defect | 19a347f1e91b4960c037bccf9cda4ff614d17d82 | bec512e789e47e55995a0a8b7aaa300b201d9f60 | storage should throw if unsupported (edit: become null) | **summary**
Fixes https://github.com/ampproject/amphtml/issues/30691. Makes it so that worker-dom no longer blows up when storage access is denied by the browser. From the worker's perspective, localStorage and sessionStorage end up as null.
- [x] Write tests.
- [ ] Need to investigate if sanitizer storage init... | diff --git a/demo/iframe/iframe.html b/demo/iframe/iframe.html
new file mode 100644
index 000000000..3497360d8
--- /dev/null
+++ b/demo/iframe/iframe.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <script src="/dist/amp-debug/main.mjs" type="module"></script>
+ </head>
+ <body>
+ <div src="storage.js" id="upgrade-m... | 6 | 6 | 0 | [{"id": "G0", "claim": "The block comment inside the generated worker bootstrap will end up in the emitted output, so move it to a real source comment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In this main-thread code, use `window` instead... | null |
ampproject__worker-dom__1033 | ampproject/worker-dom | 1,033 | defect | f5da1e6231d552618290ae07cdfd4ac547b3ff12 | 28fdf5d43a2bfb9fe84282fb8401db2166677214 | Added partial support for Element.scrollIntoView() | Since there isn't a way now to programmatically scroll to an element, I thought it would be nice if there was some basic support for that.
I've seen some issues like [issue-1009](https://github.com/ampproject/worker-dom/issues/1009) that can be resolved if `worker-dom` supports `scrollIntoView()`, I only added basi... | diff --git a/demo/index.html b/demo/index.html
index 8ebc755c9..a6fa801fc 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -25,6 +25,7 @@ <h3>Basic</h3>
<li><a href='default-input-listener/'>Default Input Listener</a></li>
<li><a href='call-function/'>Call Function</a></li>
<li><a href='iframe/'>Ifr... | 6 | 6 | 2 | [{"id": "G0", "claim": "The PR should include unit tests that assert the messages passed between worker-thread and main-thread (rather than integration-style checks), for example that worker-thread sends the expected mutation message when Element.scrollIntoView() is called.", "category": "testing", "verdict": "supporte... | null |
ampproject__worker-dom__1035 | ampproject/worker-dom | 1,035 | defect | db11b2d49dc8f076b342d5a0fec62b2c157c6c99 | f56b77dfd4a6a602116ea8a0378359804389bf90 | storage fixes | **summary**
Fixes two bugs discovered in https://github.com/ampproject/amphtml/issues/32984. Note that both fixes are only **5 LOC**. The rest are tests.
1. When `AMP.getState()` is called with no args, the key was recorded as undefined in worker-thread but empty string in main-thread. The fix was to coerce falsy ... | diff --git a/src/main-thread/commands/storage.ts b/src/main-thread/commands/storage.ts
index 29524a45d..3b1a110a7 100644
--- a/src/main-thread/commands/storage.ts
+++ b/src/main-thread/commands/storage.ts
@@ -80,8 +80,8 @@ export const StorageProcessor: CommandExecutorInterface = (strings, nodeContext,
// TO... | 2 | 2 | 0 | [{"id": "G0", "claim": "The storage test relies on a hacky macroTask wait instead of receiving getNextMessage as an async iterator, which the author deferred to a follow-up.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In AMP.getState the empty-key de... | null |
ampproject__worker-dom__1100 | ampproject/worker-dom | 1,100 | defect | 95ba4b8899adbff92f5ba74c4ad74cbad71b6dc2 | ef101d868a6bc606afc888051a816636fcc1417b | server-lib bugfix: need scopingRoot | Followup fix to a lil bug in https://github.com/ampproject/worker-dom/pull/1096.
Note: the bug only affects server-lib.
---
Followup: need to come up with a good system for parameterizing tests | diff --git a/src/test/htmlelement/querySelectorAll.test.ts b/src/test/htmlelement/querySelectorAll.test.ts
index 8c1145307..33b6ad75d 100644
--- a/src/test/htmlelement/querySelectorAll.test.ts
+++ b/src/test/htmlelement/querySelectorAll.test.ts
@@ -39,6 +39,23 @@ test('test Element.querySelectorAll on id selectors', (t... | 2 | 2 | 0 | [{"id": "G0", "claim": "Setting process.env.SERVER directly could be brittle depending on the testing framework in use; the author suggested using the framework's environment stubbing support (e.g. sandbox.stub(process.env, 'SERVER').value('true')) instead.", "category": "design", "verdict": "supported", "priority": "P... | null |
ampproject__worker-dom__1101 | ampproject/worker-dom | 1,101 | defect | 3cf6f4e50d0f6dd9336e3992d23ef51694f1bc82 | 25bd34083e1d5fce0289be0fc83c783946a118d2 | Added a flag to selectively use shadow dom | Resolves #1093
Users can use the Shadow DOM instead of the original, through the `data-shadow-dom` property of the base element.
`data-shadow-dom` attribute should be `open` or `closed`
When Shadow DOM is enabled, it can protect the host styles by isolating style changes that occur inside the Worker.
Uses of... | diff --git a/demo/hello-world/index.html b/demo/hello-world/index.html
index 1c02d060b..8e607b275 100644
--- a/demo/hello-world/index.html
+++ b/demo/hello-world/index.html
@@ -34,4 +34,4 @@
}, false);
</script> -->
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/demo/index.html b/demo/index... | 2 | 2 | 2 | [{"id": "G0", "claim": "The data-shadow-dom check accepts any truthy value as written; the reviewer suggests requiring precisely 'open' or 'closed' so future modes don't require a compat break.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull... | null |
ampproject__worker-dom__1136 | ampproject/worker-dom | 1,136 | defect | 9cff88829d134b18bacb5496f454fdc255a3b279 | 39468434aff250d216043b1c6e20ee4128bf8409 | Storage: fix clear and removeItem | **summary**
Fixes: https://github.com/ampproject/amphtml/issues/37739
The mutations array usually contains an index into StringContext for
value of key/value in the operation. Historically, "delete" was
modeled as 0th index into the array. Unfortunately, this didn't make
sense if the first op was genuinely refer... | diff --git a/src/main-thread/commands/storage.ts b/src/main-thread/commands/storage.ts
index 07bcac6ae..90adafe50 100644
--- a/src/main-thread/commands/storage.ts
+++ b/src/main-thread/commands/storage.ts
@@ -2,7 +2,7 @@ import { CommandExecutorInterface } from './interface';
import { TransferrableMutationType, Storag... | 2 | 1 | 1 | [{"id": "G0", "claim": "The PR's encoding of deletions as -1 (DELETION_INDEX = 2^16-1) in the mutation string array is questionable; 0 (or defining the sent index as the strings index + 1 so 0 is impossible) would be a simpler representation.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "i... | null |
ampproject__worker-dom__1148 | ampproject/worker-dom | 1,148 | defect | 49a2897751f029476b8b19eb3315c6fb3e37825a | 0da4f4ac707f6438620ca426c587a24b2457da5e | Unsubscription/removing "on" listener must not cause an error | Removing of event listener with in a way like: `element.onclick = null;`, stores `null` as a handler. | diff --git a/src/test/htmlelement/globalEventProperties.test.ts b/src/test/htmlelement/globalEventProperties.test.ts
index 6d7c59411..f0617a5ed 100644
--- a/src/test/htmlelement/globalEventProperties.test.ts
+++ b/src/test/htmlelement/globalEventProperties.test.ts
@@ -2,6 +2,7 @@ import anyTest, { TestInterface } from ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `value instanceof Function` instead of `typeof value === 'function'` for the handler check in appendGlobalEventProperties.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ampproject__worker-dom__121 | ampproject/worker-dom | 121 | defect | e71fa9d0c989e635be10c020ff6f393c3ddddb46 | 8ad972487ca27beafdbf88e81eb3c98ab1d6c4d2 | Add Support for Comment Nodes | Several popular frameworks use `Comment` nodes to reserve spots in DOM for future mutations.
This PR is WIP adding support for Comment nodes. | diff --git a/demo/comments/comments.js b/demo/comments/comments.js
index 60aa8d1b7..f4cf78f0c 100644
--- a/demo/comments/comments.js
+++ b/demo/comments/comments.js
@@ -1,8 +1,6 @@
const comment = document.createComment('Test');
const el = document.createElement('div');
-const replacer = document.createElement('p');
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a test assertion that the comment's textContent is 'default value' before setting it to 'new value'.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ampproject__worker-dom__130 | ampproject/worker-dom | 130 | defect | 6514bce06ceeed1ec457105909f174df32046513 | e00bb866491a6ce9816b97459b4fac1e0a07e554 | Add support for attribute selectors to Element.querySelectorAll | Adds support for the following attribute selectors:
- [attr]
- [attr=value]
- [attr|=value]
- [attr^=value]
- [attr$=value]
- [attr*=value]
- [attr=value i]
- [attr|=value i]
- [attr^=value i]
- [attr$=value i]
- [attr*=value i]
- [attr~=value]
- [attr~=value i]
Addresses #111 | diff --git a/src/test/htmlelement/querySelectorAll.ts b/src/test/htmlelement/querySelectorAll.ts
index 0d0ee5a88..ecfb86871 100644
--- a/src/test/htmlelement/querySelectorAll.ts
+++ b/src/test/htmlelement/querySelectorAll.ts
@@ -16,16 +16,21 @@
import test from 'ava';
import { documentForTesting as document } from ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The selector-matching branch in querySelectorAll duplicates the same object/function constructs in every branch; the reviewer asks to store references once and structure the code (single matcher) so minification/mangling can shrink it, offering a concrete rewrite.", "category": "maintainability"... | null |
ampproject__worker-dom__238 | ampproject/worker-dom | 238 | defect | 679e6879f0c5c76d611eb0dad8669d8c19e9e9ef | 8b53abd74805befef1d6f8efb9b7c9c3814f06d8 | Filter invalid styles from CSSStyleDeclaration | - [x] Fix recursion
- [x] Tests
Addresses #232 | diff --git a/src/main-thread/worker.ts b/src/main-thread/worker.ts
index c326d7b8c..262174ec8 100755
--- a/src/main-thread/worker.ts
+++ b/src/main-thread/worker.ts
@@ -44,7 +44,9 @@ export function createWorker(
const keys: Array<string> = [];
const hydratedNode = createHydrateableNode(baseElement);
for (cons... | 1 | 1 | 1 | [{"id": "G0", "claim": "The isNaN filtering of numeric keys should be done upstream in appendKeys() instead of at the createWorker call site in worker.ts.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ampproject__worker-dom__308 | ampproject/worker-dom | 308 | defect | c267a6bb7493fd4a20fc4bed9469287ee81056dd | 67cbe48c9acd5c06156c61d236262a44b2031746 | Implement set innerHTML. | - Adapt an HTML parser, written in TypeScript, to use our implementations of HTML elements.
- Source: https://github.com/taoqf/node-html-parser
- Implement set innerHTML by parsing the text with the adapted version of the HTML parser and appending all extracted nodes to the desired root Element Node.
- Create unit ... | diff --git a/config/rollup.worker-thread.js b/config/rollup.worker-thread.js
index 450e6ee57..5ed5d76ac 100644
--- a/config/rollup.worker-thread.js
+++ b/config/rollup.worker-thread.js
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+import resolve from 'rollup-plugin-node-resolve';
+import commonjs from 'r... | 39 | 33 | 10 | [{"id": "G0", "claim": "The PR pushes ./dist/worker.mjs and ./dist/worker.safe.mjs beyond their configured maxSize bundle-size budgets.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Undo the rollup config change so the export default includes IIFEM... | null |
ampproject__worker-dom__355 | ampproject/worker-dom | 355 | defect | 7f1212c18ada2b72b71e2cac217aa6027c60fae7 | f875cb581a674aa4aa38c057b09cd446e9e6c2cc | LongTask for extended gesture support for global fetch | Still working on tests, but please pre-review.
First, the user code looks like the `demo/long-task/`:
```javascript
button.onclick = () => {
fetch(...).then(() => {
// Update DOM.
});
};
```
| diff --git a/demo/long-task/index.html b/demo/long-task/index.html
new file mode 100644
index 000000000..6c92142c9
--- /dev/null
+++ b/demo/long-task/index.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8" />
+ <title>Hello World</title>
+ <meta name="viewport" content="width=device-widt... | 5 | 3 | 0 | [{"id": "G0", "claim": "The /slow/* handler's setTimeout callback could be rewritten a little simpler without an arrow function, e.g. setTimeout(res.end, 6000, file).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Defining processStart (and proc... | null |
ampproject__worker-dom__363 | ampproject/worker-dom | 363 | defect | a66ef27dcc2e153880b131c30bfd6e1d325a5fb8 | da0e89419bde5e4ecf066b36b885511a2e249a6f | Have innerHTML use document.createElement(). | - Instead of using `new Element()` inside of `html-parser`, use `document.createElement()`
- Instead of using `new Text()` inside of `html-parser`, use `document.createTextNode()`
- Instead of using `new Comment()` inside of `html-parser`, use `document.createComment()`
- Fixes #350
@jridgewell @choumx
cc/ @ca... | diff --git a/src/test/element/innerHTML.ts b/src/test/element/innerHTML.ts
index ba15416bf..11bd43917 100644
--- a/src/test/element/innerHTML.ts
+++ b/src/test/element/innerHTML.ts
@@ -20,6 +20,7 @@ import { Text } from '../../worker-thread/dom/Text';
import { Comment } from '../../worker-thread/dom/Comment';
import ... | 7 | 3 | 0 | [{"id": "G0", "claim": "The lines added in parse() are indented wrongly and prettier should be configured to also format code in src/third_party/.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Tests for comment and text node creation should be ... | null |
ampproject__worker-dom__368 | ampproject/worker-dom | 368 | defect | 0333ae5bef9961a145690e153102d8d98eb05f72 | d5789d6e233dcdf39f289c14f30285939559ef06 | Have set innerHTML handle SVG namespace tags. | - The `<svg>` tag now lives in the SVG namespace.
- All child nodes of an `<svg>` tag now live in the SVG namespace.
- Child nodes of a `<foreignObject>` tag will live in the HTML namespace, but the tag itself lives in the SVG namespace.
@choumx @jridgewell | diff --git a/src/test/element/innerHTML.ts b/src/test/element/innerHTML.ts
index 11bd43917..68d50124f 100644
--- a/src/test/element/innerHTML.ts
+++ b/src/test/element/innerHTML.ts
@@ -18,7 +18,7 @@ import anyTest, { TestInterface } from 'ava';
import { Element } from '../../worker-thread/dom/Element';
import { Text ... | 5 | 5 | 2 | [{"id": "G0", "claim": "The if/else statements setting the namespace need curly braces, or a ternary for conciseness.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The foreignObject handler only runs when currentNamespace is SVG, so an opening ... | null |
ampproject__worker-dom__375 | ampproject/worker-dom | 375 | defect | 0333ae5bef9961a145690e153102d8d98eb05f72 | 29e0af9e72f5da27f7bd25ea5a559d16cf23d149 | Change the html-parser's wrapping element. | - When parsing html, change the element wrapping the content from a `<div>` to a `<q>`, which will not close any other tag automatically.
- Fixes #372
- Fix test that failed after changing this behavior (was wrongly phrased in the first place).
@choumx @jridgewell
cc/ @fstanis | diff --git a/src/test/element/innerHTML.ts b/src/test/element/innerHTML.ts
index 11bd43917..c3a8fcbc3 100644
--- a/src/test/element/innerHTML.ts
+++ b/src/test/element/innerHTML.ts
@@ -159,10 +159,13 @@ test('set closes tags by closing others', t => {
t.is(child.nodeName, 'DIV');
t.is(child.firstChild!.nodeName, ... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add a new test for the case referenced in the issue and add a comment above the new test case referencing the issue number.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 'set closes tags by closing others' test should also a... | null |
ampproject__worker-dom__393 | ampproject/worker-dom | 393 | defect | e8b61d176f1bfe9188ba888cfca85b81116b60b8 | 14ed194da556f851c6dc2050829973157b1225db | Boolean properties | This PR adds support for Boolean properties over the Transferable interface. | diff --git a/src/main-thread/commands/property.ts b/src/main-thread/commands/property.ts
index 9405a8593..0e1e2b17d 100644
--- a/src/main-thread/commands/property.ts
+++ b/src/main-thread/commands/property.ts
@@ -18,19 +18,21 @@ import { PropertyMutationIndex } from '../../transfer/TransferrableMutation';
import { Com... | 2 | 2 | 1 | [{"id": "G0", "claim": "HTMLOptionElement's `selected` getter should return a boolean, since Option's selected property is always boolean, rather than the PR's `boolean | string` type.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `selected` setter ... | null |
ampproject__worker-dom__571 | ampproject/worker-dom | 571 | defect | 7c8fe74f8ae54040a9e798a3c8d05f19cd9f2a1e | 818fb2a52011d0fd443fd44f82e97ebe518d188e | Allowlist indexedDB, Strings->StringContext, other cleanup | Also rename `Strings` to `StringContext` to be consistent with other "Context" classes, and other minor clean up items.
/to @kristoferbaxter | diff --git a/package.json b/package.json
index 4db191925..a1ccf64fe 100644
--- a/package.json
+++ b/package.json
@@ -98,7 +98,7 @@
{
"path": "./dist/worker/worker.js",
"compression": "brotli",
- "maxSize": "12.1 kB"
+ "maxSize": "12.2 kB"
},
{
"path": "./dist/main.mjs",
dif... | 2 | 2 | 0 | [{"id": "G0", "claim": "In the test's t.context, `{ stringContext: stringContext }` should be the shorthand `{ stringContext }` since the key and value names are equivalent.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The destructuring should... | null |
ampproject__worker-dom__578 | ampproject/worker-dom | 578 | defect | b71ce685bd85b17ee6715450d7ebe77f049bf9d1 | 3ee9d011cb6588aa4bf53a91628dbe3296db72a9 | Unwrap author script | Fixes issue where 3P libs set a property on the "window" and expect it to be available as a reference-less global. E.g.
```js
window.createjs = (function(){...})();
// Throws runtime error.
createjs.foo();
```
This was also a suggested simplification by security since we're already deleting unwhitelisted g... | diff --git a/demo/canvas/index.html b/demo/canvas/index.html
index abcb5a31f..d5c3837ae 100644
--- a/demo/canvas/index.html
+++ b/demo/canvas/index.html
@@ -9,10 +9,10 @@
<script src="/dist/main.js" nomodule defer></script>
<!-- This comment block is intended to make it easier to test both the script module and n... | 3 | 2 | 0 | [{"id": "G0", "claim": "Rename WHITELISTED_GLOBALS to ALLOWLISTED_GLOBALS (with the associated non-whitelisted wording) while the code is being touched.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new '// Wrap global.fetch() with our lo... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.