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
ampproject__worker-dom__609
ampproject/worker-dom
609
defect
396c0c12a3c0535f0102e9aa821462ca5f9ed50c
a0895a55e31b70dfee494e0068dbabdcaf3b23a1
Suppress Console Messages in AMP output
Each distributed thread's code for `amp-script` integration includes additional logging information. ~~This PR removes the logging since it can impact performance.~~ This PR uses the similar to AMP logic for retaining logs (presence of `development` or `log` in `location.hash`. Edit: Changed approach based on ...
diff --git a/config/rollup.main-thread.js b/config/rollup.main-thread.js index d12b0b8a8..bc9b1ee1a 100644 --- a/config/rollup.main-thread.js +++ b/config/rollup.main-thread.js @@ -86,11 +86,11 @@ const ESModules = [ ], }), replace({ - DEBUG_ENABLED: true, + DEBUG_ENABLED: false, ...
1
1
1
[{"id": "G0", "claim": "Logging should probably be delegated instead of suppressed in the build, so the AMP output stays consistent with AMP's logging system.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ampproject__worker-dom__644
ampproject/worker-dom
644
defect
4e4df95064df908e07ccde8995b901b09d6d7e46
3c0debad5427769c98c856c8d568480d924beeb5
Support AMP.getState and AMP.setState
Extends `StorageProcessor`. Will add example pages for these APIs (and localStorage etc.) in `demo/` in a follow-up PR.
diff --git a/src/main-thread/commands/attribute.ts b/src/main-thread/commands/attribute.ts index 814f51519..c873e7cf9 100644 --- a/src/main-thread/commands/attribute.ts +++ b/src/main-thread/commands/attribute.ts @@ -43,7 +43,7 @@ export const AttributeProcessor: CommandExecutorInterface = (strings, nodes, wor ...
3
1
0
[{"id": "G0", "claim": "The GetOrSet const enum keys should be part of TransferrableKeys rather than defined in Messages.ts.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The GetOrSet key name is inconsistent with the other key names and should be renamed...
null
ampproject__worker-dom__669
ampproject/worker-dom
669
defect
74c16bb77c33d1416fc95460d949b4c8636f36ef
514cf431726d638ae84b93fdd6a1d7c863a1ac15
Fix for Property Setters of empty strings not applying
Fix for #667. Adds tests to prevent future regressions.
diff --git a/demo/empty/author.js b/demo/empty/author.js index 1ba154f0b..95a173047 100644 --- a/demo/empty/author.js +++ b/demo/empty/author.js @@ -14,10 +14,10 @@ * limitations under the License. */ -// <div>Hello World!<span>spaner</span><input /></div> const span = document.createElement('span'); const div ...
1
1
0
[{"id": "G0", "claim": "The boolean check could be embedded into getValue so that its signature is getValue(mutations, startPosition).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ampproject__worker-dom__832
ampproject/worker-dom
832
defect
ea5cf3d3d64cc5901149c7942177f21538de9a42
cb5cd681890eef55faff30180c9a456cc4e34b44
Do not strictly check force values in DOMTokenList.toggle
fixes #831 [old spec discussion](https://github.com/whatwg/dom/issues/64) relevant bits being gecko had a discrepancy (that is fixed in modern firefox), and IE ignores `force` all together, so this is never be good there either way
diff --git a/src/test/domtokenlist/toggle.test.ts b/src/test/domtokenlist/toggle.test.ts index 25b3640f8..6dc8d912f 100644 --- a/src/test/domtokenlist/toggle.test.ts +++ b/src/test/domtokenlist/toggle.test.ts @@ -114,3 +114,19 @@ test('toggle a token with force=true value', (t) => { t.is(tokenList.toggle('foo', true...
1
1
0
[{"id": "G0", "claim": "The force checks in DOMTokenList.toggle can be simplified to `if (force === undefined || !!force)` on the add branch and `else if (!force)` on the remove branch, or else tests should be added if something is being missed.", "category": "maintainability", "verdict": "supported", "priority": "P2",...
null
ampproject__worker-dom__833
ampproject/worker-dom
833
defect
20505248b45420000a21cf727d92722565220889
d5cf7e832dcdffa342c52965204063a89150135e
Implement Element.getElementsByName
Implements `Element.getElementsByName`, resolving #783.
diff --git a/src/test/element/getElementsByName.test.ts b/src/test/element/getElementsByName.test.ts new file mode 100644 index 000000000..9766596c0 --- /dev/null +++ b/src/test/element/getElementsByName.test.ts @@ -0,0 +1,84 @@ +/** + * Copyright 2020 The AMP HTML Authors. All Rights Reserved. + * + * Licensed under t...
1
1
1
[{"id": "G0", "claim": "Passing null to getElementsByName would not work as expected: the browser returns an empty NodeList, but this implementation would match every element without a name attribute.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ampproject__worker-dom__850
ampproject/worker-dom
850
defect
0c9eeb362201b9401f8d4c1959205801358dc345
19cf13448ef75b50e14796323a11f71f24c74a76
Support callFunction API
**summary** The ability to invoke arbitrary worker functions from the main thread and get the result would be useful to two AMP use-cases, [Protocol Adapters](https://github.com/ampproject/amphtml/issues/26474) and [Allow real JS in amp-bind](https://github.com/ampproject/amphtml/issues/25684). This PR exposes two ...
diff --git a/demo/index.html b/demo/index.html index 2769e2c63..82ab37c11 100644 --- a/demo/index.html +++ b/demo/index.html @@ -23,6 +23,7 @@ <h3>Basic</h3> <li><a href='canvas/'>Canvas</a></li> <li><a href='webassembly/'>WebAssembly</a></li> <li><a href='default-input-listener/'>Default Input Listener<...
14
11
3
[{"id": "G0", "claim": "Unless there is a strong reason to diverge, the new functionality should be exposed following the postMessage convention rather than by attaching a non-standard method to the Worker object.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
ampproject__worker-dom__884
ampproject/worker-dom
884
defect
2aea0f3051e45cd0c1c3a4d001afa5019a4f8e66
188fe3740530593456aa585d1a9a85be3643bb37
Polyfill Request and Cancel Animation Frame for Worker Thread
Some browsers do not ship this API to worker threads.
diff --git a/demo/hello-world/hello-world.js b/demo/hello-world/hello-world.js index ae9ff351f..7e6f2755d 100644 --- a/demo/hello-world/hello-world.js +++ b/demo/hello-world/hello-world.js @@ -24,3 +24,5 @@ btn.addEventListener('click', async () => { const boundingClientRect = await h1.getBoundingClientRectAsync(); ...
6
4
2
[{"id": "G0", "claim": "Instead of conditionally exporting the polyfill, always export the polyfill functions and conditionally set them on the global scope object, which would make testing easier.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The polyf...
null
ampproject__worker-dom__947
ampproject/worker-dom
947
defect
3018dc1cdd35fc7733f5a55e1b010fd342282f49
3215ddffdfca41135eaafab16626d6cc87c687aa
decode numeric html entitites
Addressed the easy half of https://github.com/ampproject/worker-dom/issues/613 cc @caroqliu. Note that we can get a really big bang for the innerHTML buck if we also decide to decode just the 4 required bits for [html encoding](https://developer.mozilla.org/en-US/docs/Glossary/Entity) (`<` `>`, `&`, `"`). Could b...
diff --git a/src/test/element/innerHTML.test.ts b/src/test/element/innerHTML.test.ts index 8f97c0e7b..6e5d2e7ee 100644 --- a/src/test/element/innerHTML.test.ts +++ b/src/test/element/innerHTML.test.ts @@ -152,6 +152,16 @@ test('set invalid html throws', (t) => { t.throws(() => (node.innerHTML = '<div>')); }); +te...
6
6
5
[{"id": "G0", "claim": "The regex needs to parse both hexadecimal and decimal numeric entities, not just the current decimal-with-optional-x form.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The range check rejecting codes below -32768 is wrong f...
null
ampproject__worker-dom__952
ampproject/worker-dom
952
defect
3018dc1cdd35fc7733f5a55e1b010fd342282f49
7ca45a5732a300a3c072123134ab4b967b77b914
Decode HTML Reserved Characters (>,<,&,").
Followup to https://github.com/ampproject/worker-dom/pull/947. I think it may make sense to decode these 4 in particular, given their prominence in html encoding. See https://developer.mozilla.org/en-US/docs/Glossary/Entity
diff --git a/src/test/element/innerHTML.test.ts b/src/test/element/innerHTML.test.ts index 8f97c0e7b..1c9d11b7a 100644 --- a/src/test/element/innerHTML.test.ts +++ b/src/test/element/innerHTML.test.ts @@ -152,6 +152,43 @@ test('set invalid html throws', (t) => { t.throws(() => (node.innerHTML = '<div>')); }); +te...
2
2
2
[{"id": "G0", "claim": "Make RESERVED_CHARACTERS a prototype-less object, since it is used for unchecked property lookups.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Named entity lookups should be lowercased too, because the regex is case-insensiti...
null
ampproject__worker-dom__989
ampproject/worker-dom
989
defect
95626af15ca5baa73d57e97b186829742e593a6d
c2e9201416b9667f11b9895550981a5359d9d226
Fix race between long task start and end handlers.
**problem** Consumers of `worker-dom` using the `longTask` API are notified of a new long task via callback and are notified of a long task end via Promise. In general this is fine. There are situation in which both of these events occur within the same task. This is particularly true when the page is inactive and ...
diff --git a/src/main-thread/commands/long-task.ts b/src/main-thread/commands/long-task.ts index 87b7a0596..d77c5c05c 100644 --- a/src/main-thread/commands/long-task.ts +++ b/src/main-thread/commands/long-task.ts @@ -52,7 +52,18 @@ export const LongTaskExecutor: LongTaskCommandExecutorInterface = ( if (mutatio...
2
2
0
[{"id": "G0", "claim": "The return type of the Promise.resolve().then() callback does not matter, so the block should be collapsed to `Promise.resolve().then(() => config.longTask && config.longTask(newResolver));`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
amqp-node__amqplib__452
amqp-node/amqplib
452
defect
13741dd362eee1be7bef75067af68fb3b0c6fd36
19c3725b965137f00544aa3a10b8e37ee58afaab
expose serverProperties in the connection object
Sometimes is useful to check some properties of the broker. amqplib for python has this: https://stackoverflow.com/a/7599072
diff --git a/lib/connection.js b/lib/connection.js index b63a7b1d..f65138c5 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -205,6 +205,7 @@ C.open = function(allFields, openCallback0) { allFields.mechanism))); return; } + self.serverProperties = start.fields.serverPro...
2
2
1
[{"id": "G0", "claim": "The new serverProperties test contains leftover debug output (console.dir of the connection) that appears accidentally committed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new-style arrow fu...
null
amrit110__oli__71
amrit110/oli
71
defect
92f7a3b4dacac470c83078ec2abe8750a69f86fd
28cdd7e2027ac150481eeb3fdc50449153e86ca4
Fix and improve grep tool
# PR Type Feature, tests # Short Description - Improve and fix the grep tool usage - Fix back glob tool params - Add tests - Add repo-aware search respecting .gitignore, .npmignore and .dockerignore # Tests Added - tests/tools/fs/test_search.rs
diff --git a/src/agent/tools.rs b/src/agent/tools.rs index a5cafb7..260f8e7 100644 --- a/src/agent/tools.rs +++ b/src/agent/tools.rs @@ -38,6 +38,7 @@ pub struct FileReadToolParams { #[derive(Debug, Clone, Serialize, Deserialize)] pub struct GlobToolParams { pub pattern: String, + pub path: Option<String>, }...
2
1
0
[{"id": "G0", "claim": "The error metadata JSON in src/agent/tools.rs includes the 'pattern' key twice; remove the duplicate key to ensure proper JSON construction and avoid potential ambiguity or unintended overwriting.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
amruthpillai__reactive-resume__2437
amruthpillai/reactive-resume
2,437
defect
03f15f91b31f7c35f04b3038e0b19dd523770910
2585c47de8056d3834c614f9653a2ebefbe25a64
fix(artboard): bypass Google Fonts for local system fonts and post PAGE_LOADED immediately; add utils docstrings and unit tests for isLocalFont issue #2435
**Problem**: In Firefox (and some environments), selecting system fonts like Arial caused MIME/type errors when fetched via Google Fonts, blocking the artboard’s PAGE_LOADED flow. **Solution**: Detect local/system fonts and skip Google Fonts loading for them; post PAGE_LOADED immediately. For non-local fonts, keep usi...
diff --git a/apps/artboard/src/pages/artboard.tsx b/apps/artboard/src/pages/artboard.tsx index bf7a709306..e0c3b660cc 100644 --- a/apps/artboard/src/pages/artboard.tsx +++ b/apps/artboard/src/pages/artboard.tsx @@ -2,6 +2,7 @@ import { useEffect, useMemo } from "react"; import { Helmet } from "react-helmet-async"; im...
5
2
1
[{"id": "G0", "claim": "For local fonts, PAGE_LOADED dimensions are measured immediately without waiting for the font-family CSS to be applied and reflowed (unlike the web-font path, which waits for webfontloader's active callback), so offsetWidth/offsetHeight may reflect a fallback font; add a delay such as requestAni...
null
amueller__word_cloud__111
amueller/word_cloud
111
defect
e8259492d022213d71da0bbf74143633cf6eae47
cddc525c819af3227769d879eed93f158a09a43b
Add a command line interface
Usable with ``` bash python -m wordcloud.tool -h ``` Let me know what you think.
diff --git a/wordcloud/TODO b/wordcloud/TODO index 1539a2619..23ec05a09 100644 --- a/wordcloud/TODO +++ b/wordcloud/TODO @@ -1,4 +1,3 @@ -* command line interface * html export * good notebook interface * by default differnt color schemes @@ -6,4 +5,3 @@ * long functions? * redo examples * examples -* filter one-...
8
5
0
[{"id": "G0", "claim": "The hard-coded regexp change (filtering one-letter words) should perhaps be dropped in favour of a customizable regexp as discussed in #109, even though it is a better default.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ne...
null
amueller__word_cloud__117
amueller/word_cloud
117
defect
89508af2282d62f8721331f4c15ac942017ce627
00704e0affc0fea0b49aa8149068e73759b94467
fix handling of scale parameter & python 3 compatibility for cli
- Simple solution for #116 which should work without overlap as `int` truncates. - Adding a check for the python version when writing the output from cli.
diff --git a/test/test_wordcloud_cli.py b/test/test_wordcloud_cli.py index b15ce3fd8..5e72aedaa 100644 --- a/test/test_wordcloud_cli.py +++ b/test/test_wordcloud_cli.py @@ -1,5 +1,4 @@ import argparse -import inspect from wordcloud import wordcloud_cli as cli import wordcloud as wc from collections import namedtupl...
3
2
1
[{"id": "G0", "claim": "Add a unit test for the CLI's image writing (the new sys.version-based selection of imagefile vs imagefile.buffer), which wasn't tested before.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test for CLI output is fragile bec...
null
amueller__word_cloud__295
amueller/word_cloud
295
defect
71925b7222f9904feb2300a64915982939a288e2
decacc1ca35461847a7393e3959423ee5ef3ef5e
Add option to override regular expression to cli
fixes #224
diff --git a/test/test_wordcloud_cli.py b/test/test_wordcloud_cli.py index 3dd24a146..c08941049 100644 --- a/test/test_wordcloud_cli.py +++ b/test/test_wordcloud_cli.py @@ -24,6 +24,7 @@ ] ARGUMENT_SPEC_REMAINING = [ ArgOption(cli_name='stopwords', init_name='stopwords', pass_value=temp.name, fail_value=None), +...
1
1
1
[{"id": "G0", "claim": "Add a test showing that the new regexp option actually influences what is counted as a word, e.g. by checking the resulting word dictionary with different regexps.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
amueller__word_cloud__296
amueller/word_cloud
296
defect
71925b7222f9904feb2300a64915982939a288e2
2c2c9952e58ef29363461e255f695ec7469b6802
Reduce mapping code
Instead of manually adding every new option one can pass the arguments through from the parsing code. This simplifies adding additional command line options.
diff --git a/test/test_wordcloud_cli.py b/test/test_wordcloud_cli.py index 3dd24a146..aff85ec3f 100644 --- a/test/test_wordcloud_cli.py +++ b/test/test_wordcloud_cli.py @@ -42,12 +42,14 @@ def all_arguments(): def test_main_passes_arguments_through(): temp_imagefile = NamedTemporaryFile() - args = argparse.N...
1
1
0
[{"id": "G0", "claim": "The mapping code added in parse_args pops and discards 'colormask'/'color' at the end so it looks like they are just ignored; restructure it (e.g. use args.pop('color') where the color function is chosen, by moving the vars(args) conversion earlier) so it is obvious they are consumed.", "categor...
null
amueller__word_cloud__309
amueller/word_cloud
309
defect
6b6aca889b8ed69deec937bf23f3b699a8f61588
d45a2fc3666952f1c05048305cb965b185460294
Catch error if colour image is smaller than canvas
Also add an option to use a default colour instead of raising an error.
diff --git a/test/test_wordcloud.py b/test/test_wordcloud.py index 1ebc637b1..4cb21696f 100644 --- a/test/test_wordcloud.py +++ b/test/test_wordcloud.py @@ -1,12 +1,15 @@ -from wordcloud import WordCloud, get_single_color_func +from wordcloud import WordCloud, get_single_color_func, ImageColorGenerator import numpy as...
4
4
3
[{"id": "G0", "claim": "Add a regression test to test/test_wordcloud.py that would have failed before the fix: for the index error, the failing input as a test; for the error message, a wrong-size input checked with assert_raises_regex that the right error is thrown.", "category": "testing", "verdict": "supported", "pr...
null
amueller__word_cloud__519
amueller/word_cloud
519
defect
8217e202da6ee432b2dcdf10e276e001e3f417be
a71825edacca7795b6b27d801ed671474107ee8a
Add to_svg
This is another tentative at vector file export. I initially did some experiments using [freetype-py](https://pypi.org/project/freetype-py/), but I was able to get the same results using Pillow bindings of FreeType (there are [inconsistencies](https://stackoverflow.com/questions/43060479/how-to-get-the-font-pixel-heigh...
diff --git a/wordcloud/wordcloud.py b/wordcloud/wordcloud.py index 83b5590d4..11df1af1e 100644 --- a/wordcloud/wordcloud.py +++ b/wordcloud/wordcloud.py @@ -9,8 +9,10 @@ import warnings from random import Random +import io import os import re +import base64 import sys import colorsys import matplotlib @@ -728,...
8
7
3
[{"id": "G0", "claim": "The pull request's added code fails flake8 (W293 blank line contains whitespace at lines 733, 802 and 822, E501 line too long at 829, F841 unused variable 'min_y' at 832); please add another commit rectifying these.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scop...
null
amueller__word_cloud__529
amueller/word_cloud
529
defect
260c20fc3af7909b53ccc01e001bbe9f5fe26c4f
f26dd6379d3d6ee09a18d8eba9eb7ee26ce08419
Fix #528: make bigram generation stopword aware
I was a little confused on the logic of `test_wordcloud.py::test_small_canvas`, and this fix broke it. I think my update to it is logical, but I'm not 100% sure what the logic of asserting a single `layout_` element was.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..a75a561fd --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,44 @@ +# Contributing + +To contribute to wordcloud, you'll need to follow the instructions in +[Creating a pull request from a fork](https://help.github.com/en/github/collaborat...
2
1
1
[{"id": "G0", "claim": "In the unigram/bigram loop, a bigram containing a stopword should not be discarded merely because one of its words is missing from the unigram counts — the `not word1 or not word2 or ...` short-circuit drops stopworded bigrams even when they are true collocations.", "category": "correctness", "v...
null
amueller__word_cloud__551
amueller/word_cloud
551
defect
45e6531dc8d248f563cc2371461beac439576fe3
d212615bcd49a0a501040acadae73d14fc618bd1
write image to stdout by default
Pretty simple commit. Fixes: #451, #445 Reading this ticket helped a bit https://bugs.python.org/issue14156 Line 57 was taken from the official `argparse` lib, in order to toggle between `sys.stdout` and `sys.stdout.buffer`, based on the mode https://github.com/python/cpython/blob/b47950f8ce4d06d6a7dd8e2c8c0c70...
diff --git a/test/test_wordcloud_cli.py b/test/test_wordcloud_cli.py index e93c3029f..a8f5c7800 100644 --- a/test/test_wordcloud_cli.py +++ b/test/test_wordcloud_cli.py @@ -1,6 +1,7 @@ import argparse import os import subprocess +import sys from collections import namedtuple import wordcloud as wc @@ -140,7 +141...
2
1
1
[{"id": "G0", "claim": "The author should add a test covering the new write-to-stdout behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Reassigning sys.stdout.buffer in test_cli_writes_to_stdout breaks on Python 3.8 and newer because the attribu...
null
amundsen-io__amundsen__1076
amundsen-io/amundsen
1,076
defect
4de3f9bb07d93b18b9ad91216cb0be6ce74e2a9d
9366032bb5f94b9e43162f14dedf1cae24b2f583
Apache Superset Extractor
### Summary of Changes Introduces databuilder extractor for Apache Superset dashboard metadata ### Tests Set of tests added. ### Documentation Documentation extended with new extractors, their configuration requirements and current limitations. ### CheckList Make sure you have checked **all** steps b...
diff --git a/databuilder/databuilder/extractor/dashboard/apache_superset/__init__.py b/databuilder/databuilder/extractor/dashboard/apache_superset/__init__.py new file mode 100644 index 0000000000..9eaba14629 --- /dev/null +++ b/databuilder/databuilder/extractor/dashboard/apache_superset/__init__.py @@ -0,0 +1,175 @@ +...
5
5
2
[{"id": "G0", "claim": "The pull request should document which Apache Superset version the extractor supports.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Authentication should use the Superset REST API security/login endpoint with credentials ...
null
amundsen-io__amundsen__1109
amundsen-io/amundsen
1,109
defect
dc9a1f9aa0df7637319c0f9bcad5ab670ab12d5c
be2766685d1ff1feb565747c1fecdc5a8a5b0404
Fix: Make BigQuery extractors support Relational Metadata store
<!--- Provide a general summary of your changes in the Title above Include one of these prefixes: fix – Fixes an unexpected problem or unintended behavior feat – Adds a new feature docs – A documentation improvement task build – A task related to our build system ci – A task related to our ci system ...
diff --git a/databuilder/databuilder/extractor/base_bigquery_extractor.py b/databuilder/databuilder/extractor/base_bigquery_extractor.py index 37deeb49eb..e9466735b1 100644 --- a/databuilder/databuilder/extractor/base_bigquery_extractor.py +++ b/databuilder/databuilder/extractor/base_bigquery_extractor.py @@ -4,6 +4,7 ...
1
1
1
[{"id": "G0", "claim": "For non-relational (graph db) stores the extractor should also ignore usage of referenced tables that are not from the extractor's project — i.e. counting only tables present in the given project_id_key should be the default behavior rather than an opt-in config flag.", "category": "design", "ve...
null
amundsen-io__amundsen__1124
amundsen-io/amundsen
1,124
defect
31e778844937537c666712d632b04cc01785e794
b7b589c1360d2487f4feb03c48aa699c4bc34689
feat: ML Feature Lineage API
Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com> <!--- Provide a general summary of your changes in the Title above Include one of these prefixes: fix – Fixes an unexpected problem or unintended behavior feat – Adds a new feature docs – A documentation improvement task build – A task rel...
diff --git a/metadata/metadata_service/__init__.py b/metadata/metadata_service/__init__.py index a04dd2640d..dfcee93ad7 100644 --- a/metadata/metadata_service/__init__.py +++ b/metadata/metadata_service/__init__.py @@ -159,7 +159,7 @@ def create_app(*, config_module_class: str) -> Flask: api.add_resource(FeatureBa...
2
2
1
[{"id": "G0", "claim": "The lineage route parameter should be named `id` rather than `feature_uri`, since the value is not a fully-formed URI (raised as a nit).", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The lineage GET handler should distinguish a n...
null
amundsen-io__amundsen__1129
amundsen-io/amundsen
1,129
defect
c09dec3e4131dd88b0c26af3dc80748d6168bd28
9450b2b329f06bd9a618333a9d428ad79a12f3ce
feat: support skipping configured Mode spaces
### Summary of Changes Provide a config in ModeDashboardExtractor that we can skip some spaces we don't want to index. ### Tests Added test for this functionality ### Documentation Described it in the comment and also updated the README ### CheckList Make sure you have checked **all** steps below to ...
diff --git a/databuilder/databuilder/extractor/dashboard/mode_analytics/mode_dashboard_extractor.py b/databuilder/databuilder/extractor/dashboard/mode_analytics/mode_dashboard_extractor.py index ad0eaf1846..5baa957745 100644 --- a/databuilder/databuilder/extractor/dashboard/mode_analytics/mode_dashboard_extractor.py ++...
1
1
0
[{"id": "G0", "claim": "The constant added for the list of Mode spaces to skip should be plural, DASHBOARD_GROUP_IDS_TO_SKIP, since it holds a list of group ids.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
amundsen-io__amundsen__1152
amundsen-io/amundsen
1,152
defect
9b46edcd7c017ef6cd206ef00eb9d2c6382d3129
9f59c3ec564ed21c2c04cd120fed80e24b5e47ea
feat: FE ML features additonal metadata endpoints
<!--- Provide a general summary of your changes in the Title above Include one of these prefixes: fix – Fixes an unexpected problem or unintended behavior feat – Adds a new feature docs – A documentation improvement task build – A task related to our build system ci – A task related to our ci system ...
diff --git a/frontend/amundsen_application/api/metadata/v0.py b/frontend/amundsen_application/api/metadata/v0.py index 425a2da6ed..0477ee8f28 100644 --- a/frontend/amundsen_application/api/metadata/v0.py +++ b/frontend/amundsen_application/api/metadata/v0.py @@ -27,6 +27,7 @@ metadata_blueprint = Blueprint('metadata',...
2
1
0
[{"id": "G0", "claim": "The `if feature_endpoint is None` guard in `_get_feature_endpoint` can never fire because the string concatenation above it never yields None, so the configured-endpoint error is unreachable.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": ...
null
amundsen-io__amundsen__1173
amundsen-io/amundsen
1,173
defect
57ff72563f5a7af9d175833868f7be562d436de2
76906b8cdad5e4832ae5dfee451a98dc9a3050f6
test: Increase test coverage for atlas proxy
<!--- Provide a general summary of your changes in the Title above Include one of these prefixes: fix – Fixes an unexpected problem or unintended behavior feat – Adds a new feature docs – A documentation improvement task build – A task related to our build system ci – A task related to our ci system ...
diff --git a/metadata/metadata_service/proxy/atlas_proxy.py b/metadata/metadata_service/proxy/atlas_proxy.py index 8bc1f760e1..6deb7fec82 100644 --- a/metadata/metadata_service/proxy/atlas_proxy.py +++ b/metadata/metadata_service/proxy/atlas_proxy.py @@ -193,7 +193,7 @@ def _get_bookmark_entity(self, entity_uri: str, u...
2
1
0
[{"id": "G0", "claim": "The reviewer questions why the pull request changes the 'Bookmark not found' log in _get_bookmark_entity's exception handler from LOGGER.exception to LOGGER.info.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewe...
null
amundsen-io__amundsen__1208
amundsen-io/amundsen
1,208
defect
8d87e7cd442ab03f4382d85ee93be42506c86ac2
7d8f9c8bbe09228737e43426605f0401ba8e62a9
feat: intorduce atlas dashboard bookmarks
Signed-off-by: dechoma <dominik.choma@gmail.com> <!--- Provide a general summary of your changes in the Title above Include one of these prefixes: fix – Fixes an unexpected problem or unintended behavior feat – Adds a new feature docs – A documentation improvement task build – A task related to our bui...
diff --git a/common/amundsen_common/utils/atlas.py b/common/amundsen_common/utils/atlas.py index ae6b62c1dd..5186c7f226 100644 --- a/common/amundsen_common/utils/atlas.py +++ b/common/amundsen_common/utils/atlas.py @@ -247,3 +247,47 @@ def amundsen_key(self) -> str: return self._raw_identifier els...
3
3
2
[{"id": "G0", "claim": "The new AtlasDashboardKey class should be removed (or justified), since the existing assumption was that the dashboard qualified name is 1:1 with the Amundsen key.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "For hive_table URIs...
null
amundsen-io__amundsen__1235
amundsen-io/amundsen
1,235
defect
101b57019f60aa8934844938bc0e2475d12730bf
d46ec8b97610d17f2aa4582bdc856cdd7695c67f
refactor: bw-incompatible cleanup of usage models
Signed-off-by: Dmitriy Kunitskiy <dkunitskiy@lyft.com> ### Summary of Changes For the ongoing feature work, we need a feature usage model. I created a general `Usage` model (similarly to generic [Owner](https://github.com/amundsen-io/amundsen/blob/main/databuilder/databuilder/models/owner.py#L23)) which serves as...
diff --git a/databuilder/databuilder/extractor/neptune_search_data_extractor.py b/databuilder/databuilder/extractor/neptune_search_data_extractor.py index b404f0af97..def4daef60 100644 --- a/databuilder/databuilder/extractor/neptune_search_data_extractor.py +++ b/databuilder/databuilder/extractor/neptune_search_data_ex...
6
2
0
[{"id": "G0", "claim": "Draft a community-facing message describing what the backwards-incompatible changes are and what users will need to do to upgrade.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Verify that the refactored usage models work ...
null
amundsen-io__amundsen__1329
amundsen-io/amundsen
1,329
defect
c7d35d5712010df46a9e8bdae734f3a176fd0b9c
ddababbf9eb34fdaa383dfaf668d29fbf4bd66b5
feat: support complex & nested column extraction for delta
### Summary of Changes This change implements proper extraction of complex & nested types for delta tables in the delta_metadata_extractor. This commit was slightly modeled off of the bigquery_metadata_extractor which supports nested columns (https://github.com/amundsen-io/amundsen/blob/main/databuilder/databuilder/...
diff --git a/databuilder/README.md b/databuilder/README.md index d0c0abd8f5..94bdb4705d 100644 --- a/databuilder/README.md +++ b/databuilder/README.md @@ -194,9 +194,25 @@ job = DefaultJob(conf=job_config, publisher=Neo4jCsvPublisher()) job.launch() ``` +**July 2021**: The delta lake extractor now s...
4
3
0
[{"id": "G0", "claim": "The README should not include the date time ('**July 2021**') in the new delta lake extractor blurb.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The four isinstance type-check helpers (is_complex_delta_type, is_struct_ty...
null
amundsen-io__amundsen__1342
amundsen-io/amundsen
1,342
defect
c0d7b3f3ba09da96d8e4694207d15cb60a0c5ba5
b986d5eb7f8fd6d36c019deb7da7decaa733a8b2
feat: Update feature tags in search on user action
Signed-off-by: Dmitriy Kunitskiy <dkunitskiy@lyft.com> ### Summary of Changes This PR changes the method that updates tags with the search service after a user adds/deletes them in the UI. The method is made more generic to work with other entity types (ML Features, specifically). I also simplified this sligh...
diff --git a/frontend/amundsen_application/api/metadata/v0.py b/frontend/amundsen_application/api/metadata/v0.py index 607d5a21cb..3a96113735 100644 --- a/frontend/amundsen_application/api/metadata/v0.py +++ b/frontend/amundsen_application/api/metadata/v0.py @@ -12,6 +12,8 @@ from flask.blueprints import Blueprint ...
2
2
0
[{"id": "G0", "claim": "The log message in _update_search_tag should say 'Duplicate entity key' (not 'table key'), since the search service is queried for a single entity by its key.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly introduce...
null
amundsen-io__amundsen__1357
amundsen-io/amundsen
1,357
defect
9db18bc080aaa79bb45e73f5fe3805c73c0f780c
2396115d3095fa946609f15059d088719b2df3c3
feat: Add Oracle extractor loader to Amundsen
Signed-off-by: Savio <savioteles@gmail.com> ### Summary of Changes This PR adds a new Oracle extractor to load the database metadata into Amundsen including a sample example. ### Tests Added a new unit test for Oracle extractor.
diff --git a/databuilder/databuilder/extractor/base_oracle_metadata_extractor.py b/databuilder/databuilder/extractor/base_oracle_metadata_extractor.py new file mode 100644 index 0000000000..47879cfe9a --- /dev/null +++ b/databuilder/databuilder/extractor/base_oracle_metadata_extractor.py @@ -0,0 +1,117 @@ +# Copyright ...
10
7
3
[{"id": "G0", "claim": "All table and column names in the SQL should be unified to either lower or upper case, since Oracle names are not case-sensitive, to make the SQL cleaner.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring of th...
null
amundsen-io__amundsen__1370
amundsen-io/amundsen
1,370
defect
c43c9745679520c544af267ec1934cb27f4b3895
8073500c572d54e4172a1706b7b0d3ae6e7fa4d8
feat: Add Salesforce extractor
<!--- Provide a general summary of your changes in the Title above Include one of these prefixes: fix – Fixes an unexpected problem or unintended behavior feat – Adds a new feature docs – A documentation improvement task build – A task related to our build system ci – A task related to our ci system ...
diff --git a/databuilder/README.md b/databuilder/README.md index 8551d92cef..7d1ac24b5b 100644 --- a/databuilder/README.md +++ b/databuilder/README.md @@ -1449,6 +1449,45 @@ job = DefaultJob(conf=job_config, job.launch() ``` +### [SalesForceExtractor](./databuilder/extractor/salesforce_extractor.py) + +The included...
2
1
1
[{"id": "G0", "claim": "The unit tests fail because the simple-salesforce dependency is not declared in databuilder's setup.py; it needs to be added.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer questions whether the variable name `sobjec...
null
amundsen-io__amundsen__1386
amundsen-io/amundsen
1,386
defect
d2f38c7b01be0bc2dc01544e499c13fd1b5462a7
39de198b5377879bf0861aded43086c394731352
chore: Upgrades ES to 7.13.3
Signed-off-by: verdan <verdan.mahmood@gmail.com> <!--- Provide a general summary of your changes in the Title above Include one of these prefixes: fix – Fixes an unexpected problem or unintended behavior feat – Adds a new feature docs – A documentation improvement task build – A task related to our bui...
diff --git a/databuilder/databuilder/publisher/elasticsearch_publisher.py b/databuilder/databuilder/publisher/elasticsearch_publisher.py index b024844bc1..4eb7cd3045 100644 --- a/databuilder/databuilder/publisher/elasticsearch_publisher.py +++ b/databuilder/databuilder/publisher/elasticsearch_publisher.py @@ -90,7 +90,...
4
1
0
[{"id": "G0", "claim": "Setting track_total_hits=True on the client may break querying Elasticsearch 6.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The databuilder elasticsearch requirement can safely be bounded at <8.0 instead of <7.13.4, becaus...
null
amundsen-io__amundsen__1464
amundsen-io/amundsen
1,464
defect
4a023d6ffd79c4d074fa5265aacfd6ce09d26989
2ee39406ea32e8c3d73b673923e094e42ba90be2
feat: Adding ability to include conditions along with node and relation types in the neo4j staleness removal task
Signed-off-by: Kristen Armes <karmes@lyft.com> ### Summary of Changes Currently, the neo4j staleness removal task can only remove stale nodes and/or relations based on specified types. This new functionality allows users to specify a condition along with the type. To do this, you can specify the inputs to be a li...
diff --git a/databuilder/README.md b/databuilder/README.md index f26f90d89a..c77bed0c78 100644 --- a/databuilder/README.md +++ b/databuilder/README.md @@ -1865,6 +1865,28 @@ You can think this approach as TTL based eviction. This is particularly useful w Above configuration is trying to delete stale usage relation (...
8
8
0
[{"id": "G0", "claim": "Put each TargetWithCondition in the README example config on its own line with a comment after each explaining what the condition does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README should say that conditions ca...
null
amundsen-io__amundsen__1508
amundsen-io/amundsen
1,508
defect
bd3e54a020c3304fd2af8d270daf1b0255ec5ec1
5f254ba8852c7aeb001eeddc260b0acf7e9bc42f
feat: Report an issue - allow user to set ticket priority
### Summary of Changes This change adds a set of radio buttons to the `Report an issue` modal that will allow users to select a priority from the levels P3-P0 instead of automatically creating tickets only with the default P2. ### Tests A few JS and python tests were modified to include the `priority_level` fi...
diff --git a/frontend/amundsen_application/api/issue/issue.py b/frontend/amundsen_application/api/issue/issue.py index d6e48b1295..7b48d82e63 100644 --- a/frontend/amundsen_application/api/issue/issue.py +++ b/frontend/amundsen_application/api/issue/issue.py @@ -63,9 +63,11 @@ def post(self) -> Response: s...
4
4
0
[{"id": "G0", "claim": "The new temporal variable priorityLevel is unnecessary; avoid it, or at least rename it directly when destructuring the state.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded UI strings in the form (e.g. the ...
null
amundsen-io__amundsen__1547
amundsen-io/amundsen
1,547
defect
314ceb35639bd973773899717a874460e61fa7a4
f3fedcf7a5a5e86801702709553b02e1a986efa1
feat: Add table owners to description in issue tickets
### Summary of Changes Issues that are reported and associated with tables may not get responses right away, and those who have created the tickets may want to know who to reach out to if they want to follow up. For tickets created in Jira, this change adds the owners of the table where the issue ticket was created ...
diff --git a/frontend/amundsen_application/api/issue/issue.py b/frontend/amundsen_application/api/issue/issue.py index 7b48d82e63..7e6cf47fa8 100644 --- a/frontend/amundsen_application/api/issue/issue.py +++ b/frontend/amundsen_application/api/issue/issue.py @@ -1,15 +1,15 @@ # Copyright Contributors to the Amundsen p...
9
7
1
[{"id": "G0", "claim": "mapStateToProps should destructure state into tableMetadata and user instead of repeatedly accessing state.*.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reordered imports in issue.py should follow the standard ord...
null
amundsen-io__amundsen__1648
amundsen-io/amundsen
1,648
defect
b30fad8f5feac886108da6be5faaefc545b2b299
6493b0a7491c7eb038b48b5c061e4dfc332766b2
feat: Support for ES 7, ES field names containing dots, ES field sort order
### Summary of Changes 1. Elasticsearch base extractor now able to retrieve mapping properties for Elasticsearch >= 7.x. This update is needed because the mapping format was updated following the removal of types (https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html). 2. Field names c...
diff --git a/databuilder/README.md b/databuilder/README.md index 6392e0efae..2ccb3927b2 100644 --- a/databuilder/README.md +++ b/databuilder/README.md @@ -1419,6 +1419,7 @@ Following configuration options are supported under `extractor.es_metadata` scop - `schema` (required) - name of the schema of Elasticsearch insta...
4
3
2
[{"id": "G0", "claim": "The _get_attributes signature declares parent_col_name as bool but a string is passed to it, so the signature should be corrected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The mypy check fails for databuilder and this s...
null
amundsen-io__amundsen__1662
amundsen-io/amundsen
1,662
defect
302c3e3f65b97a84f005d1ff1edec4144fb2df8f
d825a18c816f1e2e6ce49839450a7c7fae4e919e
feat: Add config to prevent neo4j staleness removal task from removing data with missing publisher metadata
Signed-off-by: Kristen Armes <karmes@lyft.com> ### Summary of Changes Neo4j data can exist without either attributes `published_tag` or `publisher_last_updated_epoch_ms` if it is created by an Amundsen user rather than by the publisher. In this case you may not want to have these nodes marked as stale and deleted...
diff --git a/databuilder/README.md b/databuilder/README.md index 2ccb3927b2..5696987040 100644 --- a/databuilder/README.md +++ b/databuilder/README.md @@ -1851,6 +1851,23 @@ As Databuilder ingestion mostly consists of either INSERT OR UPDATE, there could In [Neo4jCsvPublisher](https://github.com/amundsen-io/amundsen...
2
2
0
[{"id": "G0", "claim": "Use `<` instead of `<>` when comparing `published_tag` against the marker: with `<>`, running the staleness remover immediately after ingestion across a date boundary deletes everything just ingested (a backwards-incompatible change the reviewer expects no one to mind).", "category": "correctnes...
null
amundsen-io__amundsen__1684
amundsen-io/amundsen
1,684
defect
4a9d60176767c4d68d1cad5b093320ea22e26a49
ed4c8dbad9a5a1bbf3d0a8e8033e14fbc20e92ee
feat: Add ElasticsearchWatermarkExtractor
### Summary of Changes Add `ElasticsearchWatermarkExtractor`. ### Tests I added a few unit tests for the newly added `ElasticsearchWatermarkExtractor`. ### Documentation I added a new documentation section for `ElasticsearchWatermarkExtractor` just under `ElasticsearchColumnStatsExtractor` ( https://gith...
diff --git a/databuilder/README.md b/databuilder/README.md index 5696987040..e4445d1337 100644 --- a/databuilder/README.md +++ b/databuilder/README.md @@ -1509,6 +1509,56 @@ job = DefaultJob(conf=job_config, task=task) ``` +### [ElasticsearchWatermarkExtractor](./databuilder/extractor/es_watermark_...
2
2
1
[{"id": "G0", "claim": "The @timestamp default should be supplied as the config key's default argument instead of catching an exception around the get.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The chain of None/empty checks in _get_index_creation_d...
null
amundsen-io__amundsen__1732
amundsen-io/amundsen
1,732
defect
d70564a144825fb452cf39e0b68ca6e88651503c
d2ea006f60d531b5b5e93a2e02a5e63351516774
feat: Adding TypeMetadata model in amundsen-common
Signed-off-by: Kristen Armes <karmes@lyft.com> ### Summary of Changes Adding `TypeMetadata` model (see https://github.com/amundsen-io/amundsen/pull/1695) to amundsen-common. This optional field of `Column` will allow treating types (and nested subtypes) as first class citizens with their own descriptions, badges,...
diff --git a/common/amundsen_common/models/table.py b/common/amundsen_common/models/table.py index 8f5d9647d2..74d574df3b 100644 --- a/common/amundsen_common/models/table.py +++ b/common/amundsen_common/models/table.py @@ -52,6 +52,24 @@ class Meta: register_as_scheme = True +@attr.s(auto_attribs=True, kw_...
3
3
0
[{"id": "G0", "claim": "The `key` field of the new `Subtype` model should not be `Optional[str]` (it is needed for frontend description editing, so it should be required).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `badges` field of `Subtype` doe...
null
amundsen-io__amundsen__1755
amundsen-io/amundsen
1,755
defect
7c2c25c9fc338cc1a201a53f5242ae8fadd2279f
9a092d0c4d90428891bbba12afeceabd86c8784b
fix: Handle more cases in the Hive parser for nested column support
Signed-off-by: Kristen Armes <karmes@lyft.com> ### Summary of Changes Since the Hive parser still creates a `TypeMetadata` object for scalar types, even though we don't need to use the parsed results, the parser needs to be able to handle those types of cases. These changes allow the parser to support non alpha o...
diff --git a/databuilder/databuilder/models/type_metadata.py b/databuilder/databuilder/models/type_metadata.py index 1a7c7a0f91..06715f0b35 100644 --- a/databuilder/databuilder/models/type_metadata.py +++ b/databuilder/databuilder/models/type_metadata.py @@ -15,8 +15,10 @@ class TypeMetadata(abc.ABC, GraphSerializab...
3
3
0
[{"id": "G0", "claim": "The new subtype relation variables should be named SUBTYPE_RELATION_TYPE and INVERSE_SUBTYPE_RELATION_TYPE.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Optional(Word(alphas8bit)) qualifier in scalar_quantifier appe...
null
amundsen-io__amundsen__1766
amundsen-io/amundsen
1,766
defect
25fa0c4016c96b8858ec21297a0887885aa9939a
9dfd06525b99dad90a47dc6f95569b200aea59dc
refactor: Change error handling in ComplexTypeTransformer
Signed-off-by: Kristen Armes <karmes@lyft.com> ### Summary of Changes Prior to this change, if there was anything that went wrong in the `ComplexTypeTransformer` then an exception would be thrown. Since `TypeMetadata` is an optional field for columns, if anything fails in this transformer it makes more sense to l...
diff --git a/databuilder/databuilder/transformer/complex_type_transformer.py b/databuilder/databuilder/transformer/complex_type_transformer.py index 9d177315d0..67f9217957 100644 --- a/databuilder/databuilder/transformer/complex_type_transformer.py +++ b/databuilder/databuilder/transformer/complex_type_transformer.py @...
1
1
1
[{"id": "G0", "claim": "The init method should not catch the invalid-parsing-function error (it swallows the exception and logs it, leaving the transformer unusable).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
amundsen-io__amundsen__1791
amundsen-io/amundsen
1,791
defect
3996045d21ecd80de4a52cbc6e45f9c89b086242
0d6665a763c2f0b159e3e61b377a59241bcbf751
feat: Enable Support for Teradata Metadata Scanner
This PR adds teradata scanner for Amundsen. Contribution doesn't affect any existing modules/codebase in the repository.
diff --git a/databuilder/databuilder/extractor/base_teradata_metadata_extractor.py b/databuilder/databuilder/extractor/base_teradata_metadata_extractor.py new file mode 100644 index 0000000000..16671aef2a --- /dev/null +++ b/databuilder/databuilder/extractor/base_teradata_metadata_extractor.py @@ -0,0 +1,117 @@ +# Copy...
5
4
1
[{"id": "G0", "claim": "There is whitespace before the comma in the SELECT list line (c.CommentString as description ,), which should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The query should join dbc.Tables and dbc.Columns by ...
null
amundsen-io__amundsen__1876
amundsen-io/amundsen
1,876
defect
30cf377ef9d4516cc36f4c7cf08fc5abc4d77461
fcb27a8a05a36a0f1c825ef9d0fe01c3259eab13
feat: Use type metadata description get/update apis
Signed-off-by: Kristen Armes <karmes@lyft.com> ### Summary of Changes - Use the new type metadata description get and update APIs to allow users to view and add/edit descriptions for nested columns from the UI - The column description APIs were changed on the frontend side only to take a column key instead of co...
diff --git a/frontend/amundsen_application/api/metadata/v0.py b/frontend/amundsen_application/api/metadata/v0.py index b4f9a811ca..6006876231 100644 --- a/frontend/amundsen_application/api/metadata/v0.py +++ b/frontend/amundsen_application/api/metadata/v0.py @@ -32,6 +32,7 @@ metadata_blueprint = Blueprint('metadata',...
7
6
0
[{"id": "G0", "claim": "Editability can only be controlled down to the parent level, so once a nested column is set editable its sub-columns cannot be set to not have an editable description.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Setting columns...
null
amundsen-io__amundsen__1917
amundsen-io/amundsen
1,917
defect
8b63f13dcd9d721104de4287755a7ad632823c88
517bc54f2890fe619d21c0a9a5a9c70ee444d6b9
feat: Adding new Trino type parser and other type metadata updates
Signed-off-by: Kristen Armes <karmes@lyft.com> ### Summary of Changes - Added new Trino type metadata parser - Added `Type_Metadata` to the labels permitted to have badges - Made description and badges private class variables accessible by getters and setters instead of part of the constructor. This allows for ...
diff --git a/databuilder/databuilder/models/badge.py b/databuilder/databuilder/models/badge.py index 2ebcbf2d5d..fbccf21831 100644 --- a/databuilder/databuilder/models/badge.py +++ b/databuilder/databuilder/models/badge.py @@ -50,7 +50,7 @@ class BadgeMetadata(GraphSerializable, TableSerializable, AtlasSerializable): ...
1
1
0
[{"id": "G0", "claim": "In set_description/set_badges the combined `isinstance(self.parent, ColumnMetadata) or isinstance(self.parent, ArrayTypeMetadata)` check should be split into two `if`s, hardcoding which parent types are unsupported and giving a reason instead of interpolating type(self.parent).", "category": "ma...
null
amundsen-io__amundsen__1942
amundsen-io/amundsen
1,942
defect
c3dab3662a3dd41ab30a756d72707d8dd2090ac0
2461a953108b43947e8d215f9858e97b0c1e16a6
feat: Neo4j 4.x support
- [Made `trust` and `encrypted` options from driver configuration optional](https://github.com/neo4j/neo4j-python-driver#connection-settings-breaking-change) - Added configuration to specify a database name - Added configuration to specify a driver object instead of the components to create one
diff --git a/databuilder/databuilder/extractor/neo4j_extractor.py b/databuilder/databuilder/extractor/neo4j_extractor.py index 24cbf1e80a..1041b7869b 100644 --- a/databuilder/databuilder/extractor/neo4j_extractor.py +++ b/databuilder/databuilder/extractor/neo4j_extractor.py @@ -25,6 +25,7 @@ class Neo4jExtractor(Extrac...
2
2
0
[{"id": "G0", "claim": "The `if db_name` check in `_get_extract_iter` is unnecessary because `neo4j.DEFAULT_DATABASE` can be used as the database name when one is not passed in.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "NEO4J_DATABASE_NAME should ca...
null
amundsen-io__amundsen__1957
amundsen-io/amundsen
1,957
defect
7d8088429b224958cc212f9aa4d0fca2f3ead655
aed878cddcd2e497b5494dcd247b5951a3d07b52
perf: New neo4j csv publisher to improve performance using batched params
### Summary of Changes - Use `unwind` clause in the cypher queries when merging nodes and relations to be able to batch params and improve performance - Updated to use managed transactions in line with Neo4j's recommended best practices - Added `PUBLISH_REVERSE_RELATIONSHIPS` config - True (default): keep the e...
diff --git a/databuilder/databuilder/extractor/hive_table_last_updated_extractor.py b/databuilder/databuilder/extractor/hive_table_last_updated_extractor.py index 68d4e9b3a9..4c718ded13 100644 --- a/databuilder/databuilder/extractor/hive_table_last_updated_extractor.py +++ b/databuilder/databuilder/extractor/hive_table...
25
24
1
[{"id": "G0", "claim": "The UNQUOTED_SUFFIX handling is vestigial - all it does now is have the suffix stripped so it is not ingested - and should be removed from the loader and likewise from all publishers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
amundsen-io__amundsen__1959
amundsen-io/amundsen
1,959
defect
7d8088429b224958cc212f9aa4d0fca2f3ead655
004cd6f5a09066e2d73be85782f3c71170e3af95
Feat/kafka schema registry integration
### Summary of Changes Added an extractor for KafkaSchemaRegistry schemas. ### Tests Added `databuilder/tests/unit/extractor/test_kafka_schema_registry_extractor.py` for testing the new extractor. ### Documentation Updated `README.md` and `databuilder/README.md` to reflect the addition of the new extract...
diff --git a/README.md b/README.md index 9a737e1745..0fd9c2d958 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ Please visit [Architecture](https://www.amundsen.io/amundsen/architecture/) for - [Elasticsearch](https://www.elastic.co/) - [Google BigQuery](https://cloud.google.com/bigquery) - [IBM DB2](http...
3
3
1
[{"id": "G0", "claim": "The username/password authentication setup in init could be simplified to a single `if all(...)` condition instead of two separate is-not-None checks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extractor should re...
null
amundsen-io__amundsen__2038
amundsen-io/amundsen
2,038
defect
194e2f8cb6f277c73a17becbfec987e2083d06ec
3e3bb2139d167166b7b1afbbeef31b1ae3f78318
feat: add configurable message to lineage tabs
Added a message component that can be configured with markdown to add additional context to the lineage data on the Up/Downstream tabs. <img width="1288" alt="Screenshot 2022-11-30 at 12 01 27 PM" src="https://user-images.githubusercontent.com/22477579/204896731-0608a39f-0f8f-44b5-9005-de918ebac08d.png">
diff --git a/frontend/amundsen_application/api/metadata/v0.py b/frontend/amundsen_application/api/metadata/v0.py index 6006876231..0bb27867f3 100644 --- a/frontend/amundsen_application/api/metadata/v0.py +++ b/frontend/amundsen_application/api/metadata/v0.py @@ -878,10 +878,14 @@ def get_table_lineage() -> Response: ...
5
5
0
[{"id": "G0", "claim": "The hardcoded 90000 axios timeout in getTableLineage should be moved into a constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The AppConfig import should be moved to line 5 instead of line 3.", "category": "maintai...
null
an-tao__trantor__128
an-tao/trantor
128
defect
634984e7302f28a30c3276fe4e6ba8a40dd8ee59
92050abe3fa88e517b0abc1e492968f4a7c5a4ad
add isUnspecified() to indicate if parsing failed
Throws an exception when `InetAddress::InetAddress` failed to initialize. I'll make a PR on Drogon when this is merged. Refer to https://github.com/an-tao/drogon/issues/755 for detail
diff --git a/trantor/net/InetAddress.cc b/trantor/net/InetAddress.cc index 33444d40..65930ce1 100644 --- a/trantor/net/InetAddress.cc +++ b/trantor/net/InetAddress.cc @@ -93,8 +93,7 @@ InetAddress::InetAddress(const std::string &ip, uint16_t port, bool ipv6) addr6_.sin6_port = htons(port); if (::inet_...
3
3
3
[{"id": "G0", "claim": "The new assertion should expect isUnspecified() to be true for \"example.com\" (parsing fails, so the address is unspecified); as written EXPECT_EQ(false, ...) the added test fails.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim...
null
an-tao__trantor__158
an-tao/trantor
158
defect
d7f700ac7ca0b6c656755142378bc71cd34ecfed
4c10eecb5e9fb32a45443a2324ef8d276001ada4
Feature/support windows unicode paths
[PR #156](https://github.com/an-tao/trantor/pull/156) continued.
diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100755 new mode 100644 index 01b39344..5eb50f88 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,6 +75,7 @@ set(TRANTOR_SOURCES trantor/utils/MsgBuffer.cc trantor/utils/SerialTaskQueue.cc trantor/utils/TimingWheel.cc + trantor/utils/Utilities.cc ...
3
2
0
[{"id": "G0", "claim": "The CMake IDE-generator check for Visual Studio/Xcode should be removed and all headers added to TRANTOR_SOURCES unconditionally so the build script is simpler.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new public helpers...
null
an-tao__trantor__196
an-tao/trantor
196
defect
1af2c68ca216918073c336d5691c2316a56e0459
c4ff8e90f0c60a3461b36086c2d690495fb53140
Add support for sending data streams via callback (TcpConnection::sendStream())
Hi, This PR adds TcpConnection::sendStream() to send data obtained from a callback. The goal is to be able to stream data of unknown size with drogon, like transcoded multimedia for example. sendStream() allows to send chunked data, when drogon sends a response with no Content-Length and the connection is keep-alive...
diff --git a/trantor/net/TcpConnection.h b/trantor/net/TcpConnection.h old mode 100755 new mode 100644 index 88151d80..329212f8 --- a/trantor/net/TcpConnection.h +++ b/trantor/net/TcpConnection.h @@ -76,6 +76,21 @@ class TRANTOR_EXPORT TcpConnection virtual void sendFile(const wchar_t *fileName, ...
6
4
3
[{"id": "G0", "claim": "sendFile() could be rewritten as a wrapper around sendStream(), since sending a file is a particular case of a stream whose size is known.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The log lines the PR adds in the #else bra...
null
anacrolix__dms__167
anacrolix/dms
167
defect
4f28a5e2ab128f14291996289044f8a140cfb311
45d8805d690c98d7422d932d431be7e78310fc39
Use fs.FS interface
These changes allow using any fs.FS implementation.
diff --git a/dlna/dms/cds.go b/dlna/dms/cds.go index 72abf5b..7a284a2 100644 --- a/dlna/dms/cds.go +++ b/dlna/dms/cds.go @@ -4,12 +4,12 @@ import ( "encoding/json" "encoding/xml" "fmt" + "io/fs" "io/ioutil" "net/http" "net/url" "os" "path" - "path/filepath" "sort" "strconv" "strings" @@ -73,7 +73,...
3
3
3
[{"id": "G0", "claim": "Changing everything from being rooted at '/' to '.' may not work as expected on the UPnP side; the reviewer asks that '/' remain the root of the path as seen from the client, with the outward-facing '/' translated to './' on the client/fs.FS side after cleaning, so the server can be more certain...
null
anacrolix__dms__45
anacrolix/dms
45
defect
0c7ad7355e9e59d8ced18bfd7f7886cad8fba02d
7cd793c05d01d88ab5bf209d029b2361933fb437
[WIP] Ignore hidden or unreadable files and directories.
This is a first implementation, related to https://github.com/anacrolix/dms/issues/44. - [x] Test on Windows - [ ] Test on Linux - [x] Recursively check parents for hidden directories on Windows. - [x] Added configuration options - [x] Added command-line flags - [x] Write automated tests ? (I don't know if it i...
diff --git a/dlna/dms/cds.go b/dlna/dms/cds.go index 02296be..bd22ca0 100644 --- a/dlna/dms/cds.go +++ b/dlna/dms/cds.go @@ -32,6 +32,12 @@ func (cds *contentDirectoryService) updateIDString() string { // Turns the given entry and DMS host into a UPnP object. A nil object is // returned if the entry is not of interes...
4
3
3
[{"id": "G0", "claim": "The unix isHiddenPath check strings.Contains(path, \"/.\") is not guaranteed to work for hidden files at the root or in paths that do not start with '/', so hidden files may be missed unless the path is known to be absolute.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
anacrolix__torrent__353
anacrolix/torrent
353
defect
f15aa27e24d02cab123bb2dd6de4542cbb7a9687
dec5154af6ed43db61a7f475f4e327704bcb4a66
Share current connections with peers over PEX (anacrolix#341)
Context in issue #341. Work in progress – sharing for visibility and early feedback. I've been testing the new functionality in an isolated Docker-based environment with trackers and DHT functions disabled. The swarm consisted 1 rate-limited seeder and 7 downloaders whose peer lists were bootstrapped with the seeder...
diff --git a/client.go b/client.go index 78f9bb3db5..f3a42e8152 100644 --- a/client.go +++ b/client.go @@ -933,6 +933,24 @@ func (cl *Client) sendInitialMessages(conn *connection, torrent *Torrent) { } } +func (cl *Client) sendInitialPEX(conn *connection, t *Torrent) { + peerPexExtendedId, ok := conn.PeerExtension...
4
1
0
[{"id": "G0", "claim": "Asks why the not-enough-peers skip check in sendInitialPEX (commented as \"e.g. len(t.conns < 50)\") no longer matches the actual check in pexInitial.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Questions whether the p...
null
anacrolix__torrent__461
anacrolix/torrent
461
defect
69a419882b516f9f96ecf8219679bfd50cc2edaf
7eaa0f334f20c431d758540e023625977713595f
fix: code quality issues
#### Description Hi :wave: I ran the [DeepSource](https://deepsource.io) static analyzer on the forked copy of this repo and found some [interesting code quality issues](https://deepsource.io/gh/withshubh/torrent/issues/). This PR fixes a few of them. #### Summary of changes - Removed empty default in select ...
diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000000..0977f8a170 --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,10 @@ +version = 1 + +test_patterns = ["**/*_test.go"] + +[[analyzers]] +name = "go" +enabled = true + + [analyzers.meta] + import_paths = ["github.com/withshubh/torrent"]...
3
1
0
[{"id": "G0", "claim": "The select loop in webtorrent/tracker_client.go has a default clause that could cause busy waiting if neither case is ready, and the reviewer asks whether it needs to be fixed.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": ...
null
anacrolix__torrent__54
anacrolix/torrent
54
defect
09050ff2c5607f3991e6ec6422ed57ba0dee0bad
8637086ef92cb9190ac2d05a7740a3a94178e8d3
Mocking improvements
Those changes allows me to mock network access in my tests. It breaks public API, Client returns Instance of Download interface instead of Torrent. All cmd tools fixed, tests is green
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..62c893550a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ \ No newline at end of file diff --git a/client.go b/client.go index 322c7e704b..d5414d340f 100644 --- a/client.go +++ b/client.go @@ -671,7 +671,7 @@ func (cl *Client) incomingCon...
7
2
1
[{"id": "G0", "claim": "The reviewer asks what the `.idea/` entry newly added to .gitignore is for, implying it may not belong.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new download.go file is missing a trailing newline at end of file....
null
anacrolix__torrent__683
anacrolix/torrent
683
defect
8b368b3832ca87f19c703ab48ba355e625190b2b
2de66d9d256e436dfb81e5b1f4e300639ad727f2
[trackerscraper] Add custom DNS lookup function
Allows tracker_scraper to have a custom function to do DNS lookups. This allows things like dns-over-https. I also reverted `// +build` build tags along with every `// go:build` line to support Go 1.16. - for Go 1.17, it can handle both - for Go 1.16, it **must** have both, else you'll get an error while building:...
diff --git a/config.go b/config.go index 3d370d55fc..50c46afa06 100644 --- a/config.go +++ b/config.go @@ -90,6 +90,9 @@ type ClientConfig struct { // Defines proxy for HTTP requests, such as for trackers. It's commonly set from the result of // "net/http".ProxyURL(HTTPProxy). HTTPProxy func(*http.Request) (*url....
2
2
1
[{"id": "G0", "claim": "The new config field name TrackerIpFetcher is unclear and should be renamed, the reviewer suggesting LookupTrackerIp (or TrackerLookupIp/TrackerIpLookup) instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The build t...
null
anagrambuild__swig-wallet__144
anagrambuild/swig-wallet
144
defect
a505a03f1b12a8945f877605adadf79563321887
57b61f2cfda02f6a7db26f55e0879841b85dd8de
fix: adds support for raw clientDataJSON for secp256r1 WebAuthn authentication
## Summary - Adds a new secp256r1 WebAuthn authentication mode that verifies signatures using raw `clientDataJSON` while enforcing top-level `challenge` and `type` validation. - Tightens payload validation across secp256r1 session/auth flows (minimum lengths, empty payload checks, account count guard, and stricter We...
diff --git a/program/tests/sign_secp256r1_v2.rs b/program/tests/sign_secp256r1_v2.rs index 4be5c282..565089c7 100644 --- a/program/tests/sign_secp256r1_v2.rs +++ b/program/tests/sign_secp256r1_v2.rs @@ -7,6 +7,7 @@ mod common; use common::*; use solana_sdk::{ clock::Clock, + hash::hash, instruction::Inst...
1
1
0
[{"id": "G0", "claim": "The `use solana_secp256r1_program::sign_message;` import inside `sign_webauthn_raw_message` could be moved to the top of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
anagrambuild__swig-wallet__19
anagrambuild/swig-wallet
19
defect
e19e02a192d0ae29f52d97c014f2671913d0c6c5
b75dab1d15ed4e12aa085bd8307cda7abcf5b1df
tracy/programscope fix counter
This PR fixes a critical bug in the `ProgramScope` implementation where limits weren't being properly tracked. ## Changes ### Core Fixes - **Fixed ProgramScope Counter Logic**: Changed how `current_amount` is tracked in the `run()` method. Previously, the counter was incorrectly decremented, which caused limits ...
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 733c6865..217d2cc9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -64,17 +64,29 @@ jobs: - name: Run Rust Tests with nextest run: | cargo nextest run...
1
1
0
[{"id": "G0", "claim": "The PR should define a constant instead of repeating the same number (144, the ProgramScope byte size) three times in program/src/util/mod.rs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anagrambuild__swig-wallet__99
anagrambuild/swig-wallet
99
defect
bdb161e2e5805e26793bb109820310a1ab5aac90
e54bdcfebe454847066a95fd88a8edfc717c93d6
fixed subaccount toggle
https://github.com/anagrambuild/swig-wallet/blob/bdb161e2e5805e26793bb109820310a1ab5aac90/program/src/actions/toggle_sub_account_v1.rs#L191-L200 - Here if an role with ALL permission is trying to disable the sub accounts, it fails. Inside this else part, it only returns Error. - In prev impl, there was a check if a...
diff --git a/cli/src/commands.rs b/cli/src/commands.rs index 4404b36a..786f1714 100644 --- a/cli/src/commands.rs +++ b/cli/src/commands.rs @@ -491,11 +491,13 @@ pub fn run_command_mode(ctx: &mut SwigCliContext, cmd: Command) -> Result<()> { )?; let sub_account = ctx.wallet.as_ref().unwrap()....
2
2
2
[{"id": "G0", "claim": "In toggle_sub_account_v1, when toggling via a separate authority role, the permission gate should accept a role holding either the All action or the ManageAuthority action instead of requiring ManageAuthority alone.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "in...
null
analogdevicesinc__msdk__1108
analogdevicesinc/msdk
1,108
defect
cac32a7a0db79ee90a117dc414c554adccc012a8
7af7592bf24a553879f14a731152b1ae7116fdb7
feat(PeriphDrivers): Add Clock Setter APIs for MAX32690 & MAX78002 Peripherals, Add Dual Mode TMR Support, Add MAX32690 Clock Calibration API for IPO, Add MAX32690 RISCV Clock Setter, CFS Support Functions
### Description This PR adds various APIs and features to support CFS clock config code generation. Primarily, this includes clock setter APIs. Since many of the peripheral's Init APIs also configure the clock source, a locking mechanism was developed to allow the CFS config to take precedence. This is a temp...
diff --git a/Libraries/CMSIS/Device/Maxim/MAX32690/Include/max32690.h b/Libraries/CMSIS/Device/Maxim/MAX32690/Include/max32690.h index 050fb378dfc..fb350f92a52 100644 --- a/Libraries/CMSIS/Device/Maxim/MAX32690/Include/max32690.h +++ b/Libraries/CMSIS/Device/Maxim/MAX32690/Include/max32690.h @@ -339,6 +339,8 @@ typedef...
1
1
0
[{"id": "G0", "claim": "Add the note about defining \"mxc_usb_clock_t\" to the header device file max32690.h, since some developers only pull the CMSIS.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
analogdevicesinc__msdk__112
analogdevicesinc/msdk
112
defect
4931b4b9adcaca47203568481874b96d423c7ccd
d2b90918d47b55e545325576b44a89517b900954
MSDK-546/547: UART Get/SetFrequency bug fixes for chips with UART RevB.
Tom requested that the clock divider be calculated when the user passes the external clock option. While implementing that I discovered that the UART RevB clock selection was in rough shape for all chips so I went ahead and cleaned it up and tested all the clock sources.
diff --git a/Libraries/CMSIS/Device/Maxim/MAX32662/Include/system_max32662.h b/Libraries/CMSIS/Device/Maxim/MAX32662/Include/system_max32662.h index 5d2d76d8af3..dd66ebe1903 100644 --- a/Libraries/CMSIS/Device/Maxim/MAX32662/Include/system_max32662.h +++ b/Libraries/CMSIS/Device/Maxim/MAX32662/Include/system_max32662.h...
2
2
2
[{"id": "G0", "claim": "Keep the EXTCLK_FREQ define (ideally with a #warning pointing to the new names) in system_max32662.h and system_max32672.h so that existing code using the define still builds.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ME5...
null
analogdevicesinc__msdk__1150
analogdevicesinc/msdk
1,150
defect
ffba0a1bfc13ba144ba8102ad444f156600df651
038904d24445dbb26e4776170e16b3488e01d99c
fix(PeriphDrivers): Fix UART Functional Regression for MAX32670, MAX32672, MAX32675, MAX32657
### Description Fixes functional regression caused by #1113 Calls to MXC_UART_RevB_SetFrequency weren't updated for these parts after changing the RevB API. As a result, `MXC_UART_RevB_GetTXFIFOAvailable` would eventually hang as the UART FIFO compeltely fills up and is never emptied due to misconfiguration. ...
diff --git a/Libraries/CMSIS/Device/Maxim/MAX32675/Include/max32675.h b/Libraries/CMSIS/Device/Maxim/MAX32675/Include/max32675.h index 29b9dfa2560..9cafb33556e 100644 --- a/Libraries/CMSIS/Device/Maxim/MAX32675/Include/max32675.h +++ b/Libraries/CMSIS/Device/Maxim/MAX32675/Include/max32675.h @@ -438,32 +438,16 @@ typed...
2
2
2
[{"id": "G0", "claim": "UART1 and UART3 (LPUART0) do exist on the new ME16 revision (ME16B/C), so the pull request's removal of the MXC_UART1/MXC_UART3 definitions and their entries from the MXC_UART_GET_* macros in max32675.h is wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
analogdevicesinc__msdk__117
analogdevicesinc/msdk
117
defect
b7eabb112a7d2d660d09180a1f1830c4297d2cad
b318b5d6d6090e7bff5a5c2b6030a1421a3e3997
Resolved cpplint errors/warnings in PT through SMON peripherals.
The majority of the changes were strictly cosmetic. The only suspicious ones were changing "unsigned short" to "uint16_t". I verified unsigned shorts do resolve to 16-bit values using a test program and sizeof(unsigned short).
diff --git a/Examples/MAX32520/SFE_Host/sfe_host.c b/Examples/MAX32520/SFE_Host/sfe_host.c index 284657286ab..fc2bfb89434 100644 --- a/Examples/MAX32520/SFE_Host/sfe_host.c +++ b/Examples/MAX32520/SFE_Host/sfe_host.c @@ -1,3 +1,36 @@ +/****************************************************************************** +* Co...
2
1
1
[{"id": "G0", "claim": "Removing the mxc_sema_complete_cb_t typedef from sema_reva.h is causing build errors because sema_[part].c and sema_reva.c can no longer find it.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The uint16_t key fields (and the...
null
analogdevicesinc__msdk__1227
analogdevicesinc/msdk
1,227
defect
2e34472705532ace08eff8bfb6c5ab400daa5950
3c146ca19fb35ea1565501a74e71b57f45798334
fix(BLE): Converting bool_t to bool
### Description Converting bool_t to bool in the types header files. ### Checklist Before Requesting Review - [x] PR Title follows correct guidelines. - [x] Description of changes and all other relevant information.
diff --git a/Examples/MAX32655/Bluetooth/BLE5_ctr/main.c b/Examples/MAX32655/Bluetooth/BLE5_ctr/main.c index e2b71be0524..864348ee44a 100644 --- a/Examples/MAX32655/Bluetooth/BLE5_ctr/main.c +++ b/Examples/MAX32655/Bluetooth/BLE5_ctr/main.c @@ -76,7 +76,7 @@ static void mainLoadConfiguration(void) PalBbLoadCfg((Pa...
2
2
0
[{"id": "G0", "claim": "pal_types.h should not redefine bool or keep FALSE/TRUE as integer macros; include stdbool.h (under stddef.h) and define TRUE/FALSE as true/false instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "wsf_types.h should not redef...
null
analogdevicesinc__msdk__1285
analogdevicesinc/msdk
1,285
defect
9c8c1371a4ef8714f4cefa1ed01fa8085a8a0650
bb8072f60f59d0cb97dd32d8bca08289603688a0
fix(CMSIS): MAX32657 bring up
### Description Prevents unaligned memory access. Hard fault experienced without this build flag when using memcpy. Adds UART one byte remaining interrupt. Adding WLP_Bench board folder. ### Checklist Before Requesting Review - [x] PR Title follows correct guidelines. - [x] Description of changes and a...
diff --git a/Examples/MAX32657/Bluetooth/BLE5_ctr/project.mk b/Examples/MAX32657/Bluetooth/BLE5_ctr/project.mk index f1de6ad0dda..0da48952d12 100644 --- a/Examples/MAX32657/Bluetooth/BLE5_ctr/project.mk +++ b/Examples/MAX32657/Bluetooth/BLE5_ctr/project.mk @@ -37,4 +37,5 @@ BLE_CONTROLLER = 1 # TRACE option # Set to ...
1
1
1
[{"id": "G0", "claim": "The UART RevB register macros for the one-byte-remaining interrupt were not regenerated and should be named TX_OB (as in the SVD and the ME30 user guide) instead of TX_OR.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
analogdevicesinc__msdk__1291
analogdevicesinc/msdk
1,291
defect
eeb59b53912d2831e115f18a2a0dad9b5e3f21af
91643c76f7fa517b9170b9399d0246c9ea21393f
refactor(PeriphDrivers)!: Update WUT API naming schemes for MAX32655, MAX32657, MAX32665, MAX32690, MAX78000, and MAX78002. Offer WUT selection on MAX32690
### Description The MAX32690's WUT functions perform operations using a single instance of the wake-up timer. However, the [max32690.h](https://github.com/analogdevicesinc/msdk/blob/eeb59b53912d2831e115f18a2a0dad9b5e3f21af/Libraries/CMSIS/Device/Maxim/MAX32690/Include/max32690.h#L369) file shows that there are **two...
diff --git a/Examples/MAX32655/FreeRTOSDemo/main.c b/Examples/MAX32655/FreeRTOSDemo/main.c index fb244caaee6..6a8aeb83259 100644 --- a/Examples/MAX32655/FreeRTOSDemo/main.c +++ b/Examples/MAX32655/FreeRTOSDemo/main.c @@ -352,7 +352,7 @@ int freertos_permit_tickless(void) */ void WUT_IRQHandler(void) { - MXC_WUT_...
5
5
0
[{"id": "G0", "claim": "The new MAX32690 function `MXC_WUT_Store()` should be renamed to the more self-descriptive `MXC_WUT_StoreCount()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new MAX32690 function `MXC_WUT_Edge()` should be rename...
null
analogdevicesinc__msdk__317
analogdevicesinc/msdk
317
defect
3235950752e68ef6e94b362c4660a652d33aaf0d
8cfcc0b8b3892b4e5cd5e7c3049b4d9705e3b437
Update Example Return Values
@karaanil Continuation of https://github.com/Analog-Devices-MSDK/msdk/pull/218
diff --git a/Examples/MAX32520/AES/main.c b/Examples/MAX32520/AES/main.c index 86929fab39a..b2bccb2929a 100644 --- a/Examples/MAX32520/AES/main.c +++ b/Examples/MAX32520/AES/main.c @@ -418,7 +418,8 @@ int main(void) printf("\nExample Succeeded\n"); } else { printf("\nExample Failed\n"); + ...
5
5
1
[{"id": "G0", "claim": "In several examples the trailing `return 0;` left after the newly added if/else that returns in both branches is unreachable and may produce a compiler warning, and should be removed or restructured.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
analogdevicesinc__msdk__553
analogdevicesinc/msdk
553
defect
6ba45d5f125fb54a6775a41b122e8ed2eb7aec7c
3f6b9ade6d2d138dfc3fa0d2eb35452a2fb189c1
feat(workflow): Add pull request template and workflows to enforce new PR title rules
This PR adds guidelines and examples on titling pull requests within the MSDK repo that Jacob, Jake, and I came up with. Sort of a brain dump at the moment. Needs more revising. Any additions and suggestions are welcome. For the bug-related PRs, we could create a workflow that will automatically create a GitHub i...
diff --git a/Documentation/pull_request_template.md b/Documentation/pull_request_template.md new file mode 100644 index 00000000000..ad714004859 --- /dev/null +++ b/Documentation/pull_request_template.md @@ -0,0 +1,62 @@ +# Pull Request Template + +## General Guidelines for Titling Pull Requests + +Pull request (PR) ti...
2
2
0
[{"id": "G0", "claim": "The template's phrase should read \"is appropriate...\" rather than \"are appropriate...\" (grammar fix in the sentence about using a concise description in titles).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The templa...
null
analogdevicesinc__msdk__613
analogdevicesinc/msdk
613
defect
3b8394fdf26736effe18cd2e0422f4ec30b32e10
ed1235e05a3f86628e7309344bc3ba544befc7b4
feat(Boards,PeriphDrivers,MiscDrivers,Documentation)!: Allow Users to Set BSP Search Directory, Make mxc.h Safe Against LIB_BOARD=0, Remove MiscDrivers Files from mxc.h
## Overview - Add the `BSP_SEARCH_DIR` build config variable to allow users to load BSPs from outside of the default search location inside the MSDK. (see https://github.com/Analog-Devices-MSDK/msdk/pull/613/commits/86073adc4d5936159ba9c8a12ab15d1c13f8481e) - Fix build errors from `mxc.h` when `LIB_BOARD = 0` (s...
diff --git a/Examples/MAX78000/CNN/faceid_evkit-riscv/src/state_faceID.c b/Examples/MAX78000/CNN/faceid_evkit-riscv/src/state_faceID.c index 0609e81e878..25f63ab5565 100644 --- a/Examples/MAX78000/CNN/faceid_evkit-riscv/src/state_faceID.c +++ b/Examples/MAX78000/CNN/faceid_evkit-riscv/src/state_faceID.c @@ -31,9 +31,9 ...
3
2
1
[{"id": "G0", "claim": "In the board headers, LED_OFF/LED_ON should be overridden with an #ifdef/#undef/#endif pattern before redefining them, instead of #defining them between the include lines (and the original definitions should be kept in that guarded form rather than dropped).", "category": "design", "verdict": "s...
null
analogdevicesinc__msdk__65
analogdevicesinc/msdk
65
defect
c292abf8ce73b76304a5768aa189a2af986069da
9b82a103c9d02b708d8cebd1f5c2d02ac5450fec
Dev es17 examples
- Remove unneeded while(1), code, includes - Simplify some example - Update some example to work on the FTHR too (Like TMR) - Update board example list
diff --git a/Examples/MAX32520/AES/main.c b/Examples/MAX32520/AES/main.c index c2a204740ff..0233ddcf85d 100644 --- a/Examples/MAX32520/AES/main.c +++ b/Examples/MAX32520/AES/main.c @@ -420,15 +420,10 @@ int main(void) fail += AES256_ECB_dec(0); fail += AES256_ECB_dec(1); - printf("\n"); - if (fail =...
1
1
0
[{"id": "G0", "claim": "When MXC_I2C_Init fails, the example should print the specific error it returned (as the removed error variable allowed) so the user can tell what went wrong, instead of only printing '-->Failed master'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
analogdevicesinc__msdk__7
analogdevicesinc/msdk
7
defect
6cde67d2170d38a75413a325471ac21a17c2e96c
995a7873af4e613663b113839d3536bfe0472d11
AI85 Fix Build Errors
This PR fixes misc. build errors for the AI85 projects. All examples with the exception of "mnist-streaming" (see https://jira.maxim-ic.com/browse/MSDK-746) should build cleanly. Resolves #6 - The Github migration missed some updates to a few projects. "config.h" has been renamed "example_config.h" to avoid conf...
diff --git a/.gitmodules b/.gitmodules index 03fb3e011ad..4a8230e903d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,31 +1,31 @@ [submodule "Libraries/MAXUSB"] path = Libraries/MAXUSB - url = ../Libraries-maxusb.git + url = https://github.com/Analog-Devices-MSDK/Libraries-maxusb.git [submodule "Libraries/SDHC"]...
1
1
0
[{"id": "G0", "claim": "The mnist-streaming example still fails to build with `main_riscv.c:70:10: fatal error: tornadocnn.h: No such file or directory` when building all MAX78000 examples.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}]
null
analogdevicesinc__msdk__800
analogdevicesinc/msdk
800
defect
2ce78c1ac619965a6ba45d1591b4db7221e26414
5751a64c01bb57f246dc651033c58a56140478c9
fix(SDHC): Fix SDHC Driver Clock Divider for MAX78002
## Pull Request Template ### Description Closes #797 and implements #791 for the MAX780002 Ports the MAX78002 SDHC_FAT example using the new CLI for #770 Also reduces the default SDHC_CLK_FREQ to 30Mhz, since MAX78002 initializes with the 60Mhz ISO by default. ### Checklist Before Requesting Review ...
diff --git a/Examples/MAX78002/SDHC_FAT/.cproject b/Examples/MAX78002/SDHC_FAT/.cproject index 78ee393285c..bea51aab45b 100644 --- a/Examples/MAX78002/SDHC_FAT/.cproject +++ b/Examples/MAX78002/SDHC_FAT/.cproject @@ -32,8 +32,10 @@ <listOptionValue builtIn="false" value="&quot;${MAXIM_PATH}/Libraries/PeriphDr...
1
1
0
[{"id": "G0", "claim": "The commented-out clock-ratio block in Examples/MAX78002/SDHC_Raw/main.c should be removed unless it is being kept intentionally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
analogdevicesinc__scopy__1433
analogdevicesinc/scopy
1,433
defect
91b929d7049833c6e3b49f7e4bedb7a3fba6f3df
b026e095dfa1dee9561dfd9057ea018c601fd69c
Translations infrastructure
how to add a translation file for a plugin: - add the .ts files in plugins/plugin_name/resources/translations - call the generate_translations() function in the plugin's cmake - add a translations.qrc file in plugins/plugin_name/resources load it in cmake
diff --git a/CMakeLists.txt b/CMakeLists.txt index 460bbfd83b..cc1cc43302 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) include(GNUInstallDirs) find_package(QT NAMES Qt5 REQUIRED COMPONENTS Widgets) -find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widg...
3
3
1
[{"id": "G0", "claim": "Move the translation-loading call in ScopyMainWindow's constructor into a dedicated initTranslations() function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In buildGeneralPreferencesPage, store TranslationsRepository:...
null
analogdevicesinc__scopy__1869
analogdevicesinc/scopy
1,869
defect
b48df8344b0a92d423c6d7149328716e8c239721
20bdea7e69e2b7a483b90160306be799ab8a2486
preferences: add description to preferences and autogenerate the docs
- Added an info button to display extra details in each preference. - Create preferences using a macro. - Scan for the macro when generating documentation and automatically populate it. - Screenshots on how this looks like: https://github.com/analogdevicesinc/scopy/pull/1884
diff --git a/.github/workflows/generate_doc.yml b/.github/workflows/generate_doc.yml index d41cee8eaf..18dd4e19e1 100644 --- a/.github/workflows/generate_doc.yml +++ b/.github/workflows/generate_doc.yml @@ -25,6 +25,7 @@ jobs: - name: Build doc working-directory: docs run: | + python3 extract_...
4
3
0
[{"id": "G0", "claim": "Several of the new preference description strings in core/src/scopypreferencespage.cpp are missing a space between concatenated string literals (or a final period), so sentences run together.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": ...
null
analogjs__analog__1044
analogjs/analog
1,044
defect
dd5827d99f2b5a773fc7ecd2df7de4c8c76a4e8b
062d9e50e6d015cdb7ea1816712244e3c3f12bc1
fix(content): use PendingTasks to ensure content has been rendered before SSR serialization
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added ...
diff --git a/packages/content/src/lib/markdown-content-renderer.service.spec.ts b/packages/content/src/lib/markdown-content-renderer.service.spec.ts index 7c8cf1dc1..003f82da4 100644 --- a/packages/content/src/lib/markdown-content-renderer.service.spec.ts +++ b/packages/content/src/lib/markdown-content-renderer.service...
1
1
0
[{"id": "G0", "claim": "The pendingTasks field on RenderTaskService should use private-field syntax: `#pendingTasks = inject(PendingTasks)` instead of the public `pendingTasks = ...`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
analogjs__analog__2153
analogjs/analog
2,153
defect
15cab460c36b5a390a6e0735b64c69d399cd3f9b
db6742714b644e97a74e4b95313244e2bd08b5dd
fix(storybook-angular): update preset for Vite 8 compatibility
## Affected scope - Primary scope: storybook-angular - Secondary scopes: none ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## What is the new behavior? Removes the `rolldownVersion` runtime conditional from the Storybook preset's `storybookT...
diff --git a/packages/storybook-angular/src/lib/preset.spec.ts b/packages/storybook-angular/src/lib/preset.spec.ts index d8a3e5a9c..456f7c651 100644 --- a/packages/storybook-angular/src/lib/preset.spec.ts +++ b/packages/storybook-angular/src/lib/preset.spec.ts @@ -346,7 +346,7 @@ describe('viteFinal', () => { ex...
2
2
1
[{"id": "G0", "claim": "Hardcoding the 'oxc' config key breaks Vite 6-8 compatibility: older Vite versions use esbuild, so the oxc key is silently ignored and keepNames (the compodoc argtypes fix) no longer applies; the version-aware rolldownVersion conditional should be retained.", "category": "correctness", "verdict"...
null
analogjs__analog__2162
analogjs/analog
2,162
defect
2291aa74ca166c4243539d04ab4c0740e83f9436
60ea36d14d16d8443d3b65d65d28e08d47404fb4
Improve astro rendering: move component styles to document head
## PR Checklist <!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> This changes the Astro server renderer to produce valid HTML documents. Closes https://github.com/analogjs/analog/issues/2207 Today, `@analogjs/astro-angular` renders components like so: ```ht...
diff --git a/apps/astro-app/.gitignore b/apps/astro-app/.gitignore index 7329a851d..62a54b854 100644 --- a/apps/astro-app/.gitignore +++ b/apps/astro-app/.gitignore @@ -1,6 +1,7 @@ # build output dist/ .output/ +.astro/ # dependencies node_modules/ diff --git a/apps/astro-app/astro.config.mjs b/apps/astro-app/as...
9
3
2
[{"id": "G0", "claim": "Add a BREAKING CHANGE migration note with concrete before/after HTML examples in the PR/changelog, since the PR changes observable renderer output shape (island markup and style placement).", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
analogjs__analog__2170
analogjs/analog
2,170
defect
92630fe5ad48af2649a2e3ac6367e5ab8176a865
8b6f78e6781234bb6b07f5bafb29c3eec3861ff5
fix(content): align md4x and content tests with local renderer APIs
## PR Checklist The md4x and mdc tests added in #2156 and #2157 import from `@analogjs/content` at the npm-package level. That path resolves to the **built output** in `node_modules/@analogjs/content`, which only exists after `nx build content` has run. This means `nx test content` fails on a clean checkout (or afte...
diff --git a/packages/content/md4x/src/lib/md4x-content-renderer.service.spec.ts b/packages/content/md4x/src/lib/md4x-content-renderer.service.spec.ts index 3640483517..e067bdf125 100644 --- a/packages/content/md4x/src/lib/md4x-content-renderer.service.spec.ts +++ b/packages/content/md4x/src/lib/md4x-content-renderer.s...
1
1
1
[{"id": "G0", "claim": "Bumping marked from ^15.0.7 to ^17.0.5 in packages/content breaks the peer dependency contract for consumers on marked v15 or v16, so per CONTRIBUTING.md a BREAKING CHANGE: footer should be added to the commit message documenting the bump.", "category": "documentation", "verdict": "supported", "...
null
analogjs__analog__2181
analogjs/analog
2,181
defect
c6c83e772735dd84df481762b1f4f7b4ec6b3578
b9a3c1e5c31a6f557644e6bb9834821f9a1dbf1d
fix(platform): enhance route manifest generation to handle pathless layouts and prevent collisions
## PR Checklist Closes #2174 ## Affected scope - Primary scope: platform - Secondary scopes: router (typed route generation consumers) ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## What is the new behavior? Pathless layout files (e.g. `(auth).page.ts...
diff --git a/packages/platform/src/lib/route-manifest.spec.ts b/packages/platform/src/lib/route-manifest.spec.ts index 0f00a8e14..6574a4c1f 100644 --- a/packages/platform/src/lib/route-manifest.spec.ts +++ b/packages/platform/src/lib/route-manifest.spec.ts @@ -276,22 +276,53 @@ describe('generateRouteManifest', () => {...
7
7
3
[{"id": "G0", "claim": "The 'prefer non-group over group' canonicalization logic is duplicated between canonicalRoutesByFullPath and the routeByFullPath construction in generateRouteManifest; extract it into a shared helper and reuse it in both places.", "category": "maintainability", "verdict": "supported", "priority"...
null
analogjs__analog__2190
analogjs/analog
2,190
defect
aff61ccc0fd86349b99ec5840b8f3d50f973f6d1
d964182f31898c4acfb9d1d1537f677c61e5f54f
feat(vite-plugin-angular): add stylePreprocessor and Tailwind CSS integration for component styles
Closes #2191 --- ## 🎯 What Adds a `stylePreprocessor` callback to `PluginOptions` — a hook that transforms component CSS **before** Vite's `preprocessCSS()` runs. ```typescript angular({ stylePreprocessor: (code, filename) => { return `@reference "./src/styles/tailwind.css";\n${code}`; }, }) ...
diff --git a/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts b/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts index e6f849ba8..fd80da30f 100644 --- a/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts +++ b/packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts @@ -100,6 +100,82 @...
5
5
5
[{"id": "G0", "claim": "On Windows, `relative()` returns backslash separators, which are invalid inside a CSS `@reference` path, so the injected reference path should be normalized to forward slashes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
analogjs__analog__2197
analogjs/analog
2,197
defect
3b36189b8fa4a23630dfe6898cb591da0fef5e2d
9f8bbae07292bd67e44b5a411a886d279f64bf44
refactor(router): replace any types on public API surface
## Summary Replaced `any` types on the public API surface of `@analogjs/router` and `@analogjs/content` with proper type annotations. Pure type narrowing — no runtime behavior changes. ### Changes | File | Before | After | Why | |:--|:--|:--|:--| | `endpoints.ts` | `ANALOG_PAGE_ENDPOINTS: Record<string, boolean>` | ...
diff --git a/packages/content/src/lib/content.ts b/packages/content/src/lib/content.ts index f81c969a4f..cd587b75ba 100644 --- a/packages/content/src/lib/content.ts +++ b/packages/content/src/lib/content.ts @@ -49,7 +49,7 @@ function getContentFile< } const contentTask = renderTaskService.addRenderTask(); - re...
4
2
2
[{"id": "G0", "claim": "The `ANALOG_PAGE_ENDPOINTS` type is wrong: values are lazy-import functions at runtime, so the annotation should be `Record<string, () => Promise<unknown>>` instead of `Record<string, boolean>`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
analogjs__analog__2217
analogjs/analog
2,217
defect
0433e0109eda316fb5620627cccd6f665096f7f1
225375dc3d7f483c0983b57d65fe291d585accfd
feat(platform): auto-discover library route directories and fail build on route collisions
## PR Checklist Follow-up to [Split content routing into @analogjs/router/content analogjs/analog#2216](https://github.com/analogjs/analog/pull/2216) — addresses maintainer feedback that routes/content/api defined in `libs/shared/feature` should be picked up without explicit `additional*Dirs` configuration, and hard...
diff --git a/apps/analog-app/vite.config.ts b/apps/analog-app/vite.config.ts index bade85094..f005e0856 100644 --- a/apps/analog-app/vite.config.ts +++ b/apps/analog-app/vite.config.ts @@ -51,8 +51,7 @@ export default defineConfig(async ({ mode }) => { analog({ apiPrefix: 'api', include: ['/lib...
2
2
1
[{"id": "G0", "claim": "The platform-plugin test should also assert that discovered additionalContentDirs are passed to the content plugin, to match the implementation's merge logic.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider freezing the s...
null
analogjs__analog__2235
analogjs/analog
2,235
defect
cf86db8715abf1ed14f111089bb937c35d4b9fe2
008533faaddb0bffc02352cb4d3f0e5540f79452
fix(vite-plugin-angular): migrate legacy setup-vitest users
## PR Checklist Closes analogjs/analog#2173 ## Affected scope - Primary scope: `vite-plugin-angular` - Secondary scopes: `vitest-angular` ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## Commit preservation note [optional] ## What is the new behavior? ...
diff --git a/packages/vite-plugin-angular/migrations/migrations.json b/packages/vite-plugin-angular/migrations/migrations.json new file mode 100644 index 000000000..3d113815f --- /dev/null +++ b/packages/vite-plugin-angular/migrations/migrations.json @@ -0,0 +1,9 @@ +{ + "generators": { + "update-3-0-0-migrate-setu...
2
1
1
[{"id": "G0", "claim": "Line 11's extension allowlist excludes common variants like .cjs, .cts, .jsx and .tsx, so legacy setup-vitest imports in files with those extensions will not be migrated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tes...
null
analogjs__analog__2236
analogjs/analog
2,236
defect
9135af16b27932c8a2163da32c377521f6f96842
b7adf3665d9e365955b9b0eed4858ac93aa8ae3d
fix(storybook-angular): forward applyDecorators in testing
## PR Checklist Closes analogjs/analog#2074 ## Affected scope - Primary scope: `storybook-angular` - Secondary scopes: ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## Commit preservation note [optional] ## What is the new behavior? This brings the `co...
diff --git a/packages/storybook-angular/src/index.ts b/packages/storybook-angular/src/index.ts index 770c8aa1c..fa0ddac59 100644 --- a/packages/storybook-angular/src/index.ts +++ b/packages/storybook-angular/src/index.ts @@ -12,8 +12,8 @@ export { type StoryObj, applicationConfig, argsToTemplate, - componentW...
2
1
1
[{"id": "G0", "claim": "Forwarding applyDecorators globally through setProjectAnnotations() in the testing entry broke Storybook by reintroducing the regression that strips output-binding args in portable/Vitest tests, which is why the equivalent change was reverted upstream.", "category": "correctness", "verdict": "su...
null
analogjs__analog__2239
analogjs/analog
2,239
defect
cf86db8715abf1ed14f111089bb937c35d4b9fe2
1ae855493ce455a83c87e93d29cd44b429c5c061
feat(platform): add shiki skipLangs option for analog v3
## PR Checklist Closes analogjs/analog#2029 ## Affected scope - Primary scope: `platform` - Secondary scopes: ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## Commit preservation note [optional] ## What is the new behavior? This adds `shikiOptions.high...
diff --git a/packages/platform/src/lib/content/shiki/index.spec.ts b/packages/platform/src/lib/content/shiki/index.spec.ts new file mode 100644 index 0000000000..a3c14de171 --- /dev/null +++ b/packages/platform/src/lib/content/shiki/index.spec.ts @@ -0,0 +1,72 @@ +import { beforeEach, describe, expect, it, vi } from 'v...
6
5
5
[{"id": "G0", "claim": "The implementation still pushes additionalLangs into Shiki's langs (and the new test explicitly expects mermaid to remain there), so if the goal is to avoid the Mermaid grammar being loaded by Shiki to prevent the build-time OOM, this likely still needs adjustment.", "category": "correctness", "...
null
analogjs__analog__2243
analogjs/analog
2,243
defect
9135af16b27932c8a2163da32c377521f6f96842
791a23393dfb163c27c53f7451d7c2e78299600c
feat(storybook-angular): add scoped style diagnostics for Nx SCSS setup
## PR Checklist Refs analogjs/analog#2068 ## Affected scope - Primary scope: storybook-angular - Secondary scopes: docs ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## Commit preservation note [optional] ## What is the new behavior? This PR does not c...
diff --git a/apps/docs-app/docs/integrations/storybook/index.md b/apps/docs-app/docs/integrations/storybook/index.md index e9d544b08..fcca0ee91 100644 --- a/apps/docs-app/docs/integrations/storybook/index.md +++ b/apps/docs-app/docs/integrations/storybook/index.md @@ -141,6 +141,35 @@ To register global styles, add the...
3
3
0
[{"id": "G0", "claim": "Use `analog-storybook:styles` as the debug namespace, and make the separate `styles:v` debug namespace more descriptive or merge it into the other debug flag.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs should not use ...
null
analogjs__analog__2247
analogjs/analog
2,247
defect
22b5fc5b405df2c16ae916b0cc0318dd051c103c
dfe83b15120448166c38c64fa5503e1d63cb9185
fix(router): forward prerender params and declare standard-schema peer dependency
## PR Checklist Closes [analogjs/analog#2127](https://github.com/analogjs/analog/issues/2127) ## Affected scope - Primary scope: `router` - Secondary scopes: none ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## Commit preservation note [o...
diff --git a/packages/router/src/lib/request-context.spec.ts b/packages/router/src/lib/request-context.spec.ts new file mode 100644 index 000000000..a4bcc8440 --- /dev/null +++ b/packages/router/src/lib/request-context.spec.ts @@ -0,0 +1,107 @@ +import { HttpParams, HttpRequest, HttpResponse } from '@angular/common/htt...
2
1
1
[{"id": "G0", "claim": "Fix the null guard on HttpParams.getAll(): Angular's getAll(key) returns string[] | null, so `values.length` can throw on null and this is the root cause of the failing CI.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The n...
null
analogjs__analog__2249
analogjs/analog
2,249
defect
bc92d702d31ec1cb6ec89122f4219bf4f08a8e7b
aa07edbaf31c93161b3a96c4b5a75af43b97e251
fix(angular-compiler): add type-only import elision to angular compiler
## PR Checklist Add type-only import elision to the angular compiler so that imports used only in type positions are automatically removed before reaching the browser. ## Affected scope - Primary scope: angular-compiler - Secondary scopes: vite-plugin-angular ## Recommended merge strategy for maintainer [o...
diff --git a/packages/angular-compiler/COMPILER.md b/packages/angular-compiler/COMPILER.md index 8dab04da7a..f91ccc9d15 100644 --- a/packages/angular-compiler/COMPILER.md +++ b/packages/angular-compiler/COMPILER.md @@ -120,9 +120,10 @@ The compiler is integrated into `@analogjs/vite-plugin-angular` as an alternativ 1....
7
4
2
[{"id": "G0", "claim": "COMPILER.md states conformance.spec.ts contains 167 tests while the file contains only 2; update the documented test count to the actual number.", "category": "documentation", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The sourcemap is generated from...
null
analogjs__analog__2255
analogjs/analog
2,255
defect
76ad55472ccf8deb1ab955ffa27edad208e6032b
c9b06c9a9e22bfb308cc2fd6b2a1b82f88e380eb
fix(angular-compiler): hostDirectives, emitExpr safety, TDZ hoisting, misc compilation fixes
## PR Checklist ## Affected scope - Primary scope: angular-compiler - Secondary scopes: vite-plugin-angular ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## What is the new behavior? Fix multiple angular-compiler bugs: - hostDirectives m...
diff --git a/packages/angular-compiler/COMPILER.md b/packages/angular-compiler/COMPILER.md index b2b52f2aca..084355de44 100644 --- a/packages/angular-compiler/COMPILER.md +++ b/packages/angular-compiler/COMPILER.md @@ -201,6 +201,7 @@ The existing vite-plugin-angular plugins (build optimizer, router, vitest, etc.) | `...
4
3
2
[{"id": "G0", "claim": "The new integration test only asserts that `hostDirectives` appears in the compiled output, so a small aliased case such as `inputs: ['color: appColor']` / `outputs: ['colorChange: appColorChange']` should be added to catch broken inputs/outputs mapping without making the suite heavier.", "categ...
null
analogjs__analog__2275
analogjs/analog
2,275
defect
75786d19e7b8b96ad08c235f16b729ff7ff5c977
1388d87c008e1d4e271fc619ae206c4dcb4f0700
fix(angular-compiler): preserve operator precedence in emitted binary expressions
- The JSEmitter's `visitBinaryOperatorExpr` flattened parentheses when emitting binary expressions, producing invalid JS when `??` was mixed with `||`/`&&` (a SyntaxError) and wrong semantics when lower-precedence operators were children of higher-precedence ones (e.g. `(a ?? 0) + b` emitted as `a ?? 0 + b`) ...
diff --git a/packages/angular-compiler/src/lib/integration.spec.ts b/packages/angular-compiler/src/lib/integration.spec.ts index f462c58c7..e7c892577 100644 --- a/packages/angular-compiler/src/lib/integration.spec.ts +++ b/packages/angular-compiler/src/lib/integration.spec.ts @@ -233,6 +233,29 @@ describe('Assignment p...
4
2
1
[{"id": "G0", "claim": "Add one end-to-end compile-level integration test pinning that `??` mixed with `||` / `&&` is parenthesized, since the release-impacting SyntaxError path in the PR description is currently covered only by emitter-level unit tests.", "category": "testing", "verdict": "opposed", "priority": "P2", ...
null
analogjs__analog__2286
analogjs/analog
2,286
defect
5bc376fa29c919e53ea600307c6fe4afd060a3b5
3dfa543164e4291b4c6682e89d569995a7337305
fix(angular-compiler): make hoisting dependency-aware to prevent TDZ
Currently the compile.ts file hoists non-exported variable/function statements before the first class so Ivy static definitions can reference file-level constants. However, it indiscriminately hoisted all such statements, including user-authored code that references classes, enums, or exported names defined after the f...
diff --git a/packages/angular-compiler/src/lib/compile.ts b/packages/angular-compiler/src/lib/compile.ts index d72e7239e..032cce84c 100644 --- a/packages/angular-compiler/src/lib/compile.ts +++ b/packages/angular-compiler/src/lib/compile.ts @@ -123,6 +123,53 @@ function hasExportModifier(node: ts.Node): boolean { );...
1
1
1
[{"id": "G0", "claim": "collectIdentifiers() walks into nested function/arrow/class bodies, so `const TOKEN = () => LaterClass` falsely collects LaterClass as a dependency and Pass 2 marks TOKEN non-hoistable, leaving a const that a class static initializer needs after the class and producing a TDZ error at runtime; sk...
null
analogjs__analog__2290
analogjs/analog
2,290
defect
45799f9323d781ce4b35804c3eaf54ea3cdb71b4
6679136a34b4f4412ed53c764410b9dca0983b4b
fix(vite-plugin-angular): expand Compilation API roots from tsconfig paths and references
## Summary This PR fixes `@analogjs/vite-plugin-angular` for lib-heavy workspaces where the app tsconfig is intentionally thin and most Angular source lives behind TypeScript project references and/or `compilerOptions.paths`. It also improves diagnosis when Vite resolves an Angular file but the Angular Compilation AP...
diff --git a/packages/platform/src/lib/options.ts b/packages/platform/src/lib/options.ts index a02697ce3..7aa5eebe1 100644 --- a/packages/platform/src/lib/options.ts +++ b/packages/platform/src/lib/options.ts @@ -200,6 +200,19 @@ export interface Options { */ useAngularCompilationAPI?: boolean; + /** + ...
6
4
3
[{"id": "G0", "claim": "normalizeEmitterLookupId maps /@fs/C:/... ids to /C:/... while the outputFiles map is keyed by C:/..., so on Windows emit results and HMR updates are silently dropped; strip /@fs/ and return drive-letter paths as-is instead of prepending a slash.", "category": "correctness", "verdict": "supporte...
null
analogjs__analog__2295
analogjs/analog
2,295
defect
8383209ddbac73d244c766ead9bfbf1be45056df
a37d63f622f0481fb24f7bd53a859edf5333492d
fix(router): reset cached tViews between SSR requests for correct i18n locale switching
## PR Checklist Fixes three issues that prevented `provideI18n()` from switching locales correctly across SSR requests in a single Node process. Closes # ## Affected scope - Primary scope: router - Secondary scopes: platform ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase m...
diff --git a/package.json b/package.json index 7cb7ce0ec..74bcca5ea 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "@angular/compiler": "21.2.7", "@angular/core": "21.2.7", "@angular/forms": "21.2.7", + "@angular/localize": "21.2.7", "@angular/material": "21.2.5", "@angular/p...
4
1
1
[{"id": "G0", "claim": "Removing the I18N_CONFIG export from @analogjs/router is an intentional breaking change for external consumers who inject it directly, and the release notes should include a BREAKING CHANGE footer per CONTRIBUTING.md documenting the change and pointing to injectSwitchLocale() as the replacement....
null
analogjs__analog__2298
analogjs/analog
2,298
defect
b3e7f62a1ddf81c1b555ec5d68d2333d103f1d4c
7f033945d3dc4c092302853e83e7676bd7436369
fix(vite-plugin-angular): honor Vitest test.css semantics to skip CSS preprocessing
## PR Checklist `@analogjs/vite-plugin-angular` was calling `preprocessCSS` on every component style — inline `styles`, `styleUrl` external sheets, virtual style modules, and JIT inline styles — regardless of the user's Vitest `test.css` setting. In tests this surfaced SCSS deprecation warnings (e.g. `@import`, color-...
diff --git a/packages/vite-plugin-angular/src/lib/angular-jit-plugin.ts b/packages/vite-plugin-angular/src/lib/angular-jit-plugin.ts index 79786dae7e..63d240cc6f 100644 --- a/packages/vite-plugin-angular/src/lib/angular-jit-plugin.ts +++ b/packages/vite-plugin-angular/src/lib/angular-jit-plugin.ts @@ -36,6 +36,19 @@ ex...
3
2
1
[{"id": "G0", "claim": "When `useAnalogCompiler: true` is paired with `test.css: false`, the analog compiler plugin's `?inline` fallback handler (and its inline `styles: [...]` extraction path) still unconditionally calls `preprocessCSS`, reintroducing the SCSS deprecation warnings and performance cost the pull request...
null
analogjs__analog__230
analogjs/analog
230
defect
19beed10ea8fc7ec690c96e53b16290b53cebe0f
dfed3e3834dfe1fc57b09f7ec668191ea0048230
feat(router): add ability to provide meta tags via RouteMeta
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added ...
diff --git a/apps/blog-app/src/app/routes/blog.ts b/apps/blog-app/src/app/routes/blog.ts index bd2cb42f35..e16c028a3a 100644 --- a/apps/blog-app/src/app/routes/blog.ts +++ b/apps/blog-app/src/app/routes/blog.ts @@ -2,6 +2,19 @@ import { Component } from '@angular/core'; import { RouterLink, RouterOutlet } from '@angul...
2
1
0
[{"id": "G0", "claim": "Consider naming the new RouteMeta property `meta` (instead of `metaTags` or `metatags`), asking the maintainer for his preference.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When navigating from a route with meta tags to one w...
null
analogjs__analog__2300
analogjs/analog
2,300
defect
dcf064ca834915213c12a7d964d199d95c2f3d9a
07504a4ca4c0450c9cfffb48e1a5a29bfbe11096
fix(vite-plugin-nitro): update nitro to 3.0.260415-beta
## PR Checklist Closes # ## Affected scope - Primary scope: vite-plugin-nitro - Secondary scopes: none ## Recommended merge strategy for maintainer [optional] - [x] Squash merge - [ ] Rebase merge - [ ] Other ## Commit preservation note [optional] ## What is the new behavior? Updates Nitro from `3.0.260311-beta...
diff --git a/packages/vite-plugin-nitro/src/lib/build-server.ts b/packages/vite-plugin-nitro/src/lib/build-server.ts index a09411fed..046a639dd 100644 --- a/packages/vite-plugin-nitro/src/lib/build-server.ts +++ b/packages/vite-plugin-nitro/src/lib/build-server.ts @@ -6,150 +6,21 @@ import { prepare, prerender, ...
2
2
1
[{"id": "G0", "claim": "build-server.spec.ts still expects buildServer() to reject with the 'Nitro generated an empty Vercel build output config' error that the PR's removal of assertValidVercelBuildConfig no longer throws, so the test fails when pnpm test runs.", "category": "correctness", "verdict": "supported", "pri...
null
analogjs__analog__2323
analogjs/analog
2,323
defect
e610d77a03e1c9bdd5b368388a2336e674d6a502
c5f3b3e99b3e42bae799fc8963f921308e393079
feat(content): improve support for hierarchical content
## PR Checklist Closes #2318 ## Affected scope - Primary scope: content - Secondary scopes: vite-plugin-nitro, docs ## Recommended merge strategy for maintainer [optional] - [ ] Squash merge - [x] Rebase merge - [ ] Other ## Commit preservation note [optional] Each commit addresses a distinct part of the issue a...
diff --git a/apps/docs-app/docs/features/routing/content.md b/apps/docs-app/docs/features/routing/content.md index f8e0e7cc4f..dacb44e4ac 100644 --- a/apps/docs-app/docs/features/routing/content.md +++ b/apps/docs-app/docs/features/routing/content.md @@ -274,6 +274,8 @@ Hello World To get a list using the list of co...
5
1
1
[{"id": "G0", "claim": "Typing the `content` of `injectContentFiles` results as `never` is a TypeScript-level breaking change for external consumers, so the PR should flag it with a `BREAKING CHANGE:` commit footer per CONTRIBUTING.md and/or a doc/migration note with a before/after cast-workaround example.", "category"...
null