diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -38,7 +38,7 @@ public struct ApplePayDetails: PaymentMethodDetails {
/// - billingContact: The user-selected billing address for this transaction.
/// - shippingContact: The user-selected shipping address for this transaction.
/// - shippingMethod: The shipping method that the user chose.
- internal init(paymentMeth... | chore: make ApplePayDetails public | null | adyen/adyen-ios | MIT License | Swift |
@@ -9,10 +9,13 @@ import {customElement} from 'lit/decorators';
import {ifDefined} from 'lit/directives/if-defined';
import {fixture, simulateFormDataEvent, TestFixture} from '../../../../test/src/util/helpers';
-import {MdSwitch} from '../switch';
+
+import {Switch} from './switch';
@customElement('md-test-switch')
-c... | chore(switch): move unit tests next to the code under test | null | material-components/material-components-web-components | Apache License 2.0 | TypeScript |
set -o errexit
+KCOV=./kcov/usr/local/bin/kcov
+
function install_kcov_from_master() {
- if [ ! -d "kcov" ]; then
+ if [ ! -f "$KCOV" ]; then
wget https://github.com/SimonKagstrom/kcov/archive/master.zip &&
unzip master.zip &&
mkdir kcov-master/build &&
@@ -17,17 +19,15 @@ function install_kcov_from_master() {
}
functi... | chore(ci): check for kcov executable, not directory | null | toml-rs/toml | Apache License 2.0 | Shell |
package au.com.dius.pact.provider.spring
-import au.com.dius.pact.core.support.expressions.SystemPropertyResolver
import au.com.dius.pact.core.support.expressions.ValueResolver
+import au.com.dius.pact.core.support.isNotEmpty
import org.springframework.core.env.Environment
class SpringEnvironmentResolver(private val en... | chore: remove system property fallback from SpringEnvironmentResolver | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -46,13 +46,13 @@ for i in examples/*; do
cmake ..
cmake --build .
- if [[ "$OSTYPE" == "darwin"* ]]; then
- cp ../../../build/install/lib/*.dylib .
- fi
-
- echo Running example
+ echo "Running example $i"
if [[ "$OSTYPE" == "msys"* ]]; then
+ cp ../../../build/install/lib/*.dll Debug/
./Debug/example.exe
+ elif [[ ... | chore(CI): fix examples with cmake on Windows | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -94,7 +94,7 @@ bool matchImage(Uint8List imageA, List<int> imageB, String filename) {
newSnap.writeAsBytesSync(encodePng(diffImg));
}
- return (diff * 10e7) < 10;
+ return (diff * 10e7) < 20;
}
bool matchFile(List<int> left, List<int> right) {
| chore: turn up diff threshold | null | openkraken/kraken | Apache License 2.0 | Dart |
+#!/usr/bin/env bash
+# getter for gopass and secret yaml creation
+set -e
+[[ `uname` = "Linux" ]] && ENCODE="base64 --wrap=0" || ENCODE="base64"
+
+cat <<EOL
+apiVersion: v1
+data:
+ username: $(gopass caos-secrets/technical/boom/grafana-cloud/user | $ENCODE)
+ password: $(gopass caos-secrets/technical/boom/grafana-c... | chore: add grafana-cloud script | null | caos/orbos | Apache License 2.0 | Shell |
@@ -2,19 +2,17 @@ package cltest
import (
"fmt"
-
"testing"
"github.com/smartcontractkit/chainlink/core/internal/testutils/evmtest"
"github.com/smartcontractkit/chainlink/core/logger"
- "github.com/smartcontractkit/sqlx"
-
- uuid "github.com/satori/go.uuid"
"github.com/smartcontractkit/chainlink/core/services/job"
"git... | chore: sort imports to properly group them | null | smartcontractkit/chainlink | MIT License | Go |
@@ -18,14 +18,14 @@ public enum IERC1376DelegateMode: UInt {
}
public struct DirectDebitInfo {
- let amount: BigUInt
- let startTime: BigUInt
- let interval: BigUInt
+ public let amount: BigUInt
+ public let startTime: BigUInt
+ public let interval: BigUInt
}
public struct DirectDebit {
- let info: DirectDebitInfo
- le... | chore: DirectDebitInfo and DirectDebit fields made public - no purpose of having all fields as internal in a public model; | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -34,6 +34,7 @@ add_action('enqueue_block_editor_assets', function () {
add_action('after_setup_theme', function () {
/**
* Enable features from the Soil plugin if activated.
+ *
* @link https://roots.io/plugins/soil/
*/
add_theme_support('soil', [
@@ -52,6 +53,7 @@ add_action('after_setup_theme', function () {
/**
*... | chore(lint): run pint | null | roots/sage | MIT License | PHP |
@@ -398,10 +398,6 @@ export default {
this.__update('size', this.size)
this.__update('space', this.onLayout)
this.__update('offset', this.offset)
-
- this.$nextTick(() => {
- this.animateOverlay = true
- })
},
mounted () {
if (this.showing) {
| chore: Remove obsolete code from Drawer | null | quasarframework/quasar | MIT License | JavaScript |
@@ -44,6 +44,8 @@ namespace Cicada {
return false;
}
+#ifdef NDEBUG
+
if (codec == AF_CODEC_ID_HEVC) {
#if TARGET_OS_IPHONE
@@ -58,7 +60,9 @@ namespace Cicada {
}
}
+#else
return true;
+#endif
}
int AFVTBDecoder::init_decoder_internal()
| chore(VideoToolBox): fix enable hevc in debug build | null | alibaba/cicadaplayer | MIT License | C++ |
-""" smoak tests to check that all registered background jobs execute without error.
-
-Note: Filename is intentional to run this test roughly at end. Don't change."""
-
-import time
-
-import frappe
-from frappe.core.doctype.rq_job.rq_job import RQJob, remove_failed_jobs
-from frappe.tests.utils import FrappeTestCase,... | chore: disable flaky test | null | frappe/frappe | MIT License | Python |
@@ -396,7 +396,7 @@ public abstract class NodeUpdater implements FallibleCommand {
defaults.put("workbox-build", WORKBOX_VERSION);
} else {
// Webpack plugins and helpers
- defaults.put("esbuild-loader", "2.15.1");
+ defaults.put("esbuild-loader", "2.19.0");
defaults.put("html-webpack-plugin", "4.5.1");
defaults.put("f... | chore: Upgrade to latest esbuild-loader | null | vaadin/flow | Apache License 2.0 | Java |
@@ -141,6 +141,7 @@ METADATA = dict(
"requests",
"pyjwt[crypto] >= 1.7",
],
+ python_requires=">=3.5",
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
| chore(setup): add python_requires | null | pennersr/django-allauth | MIT License | Python |
@@ -882,7 +882,10 @@ const main = async () => {
* packages depend on previous ones to be released first.
*/
- const exceptions = [];
+ const exceptions = [
+ 'packages/parser-webpack-config',
+ 'packages/rule-webpack-config'
+ ];
if (process.platform !== 'win32') {
exceptions.push('packages/connector-edge');
| chore: Exclude webpack parser and rules from the release script | null | webhintio/hint | Apache License 2.0 | TypeScript |
@@ -16,6 +16,7 @@ public class ThreadSchedulingMonitor {
.setUnit("ms")
.build();
+ Thread monitoringThread =
new Thread(
() -> {
while (true) {
@@ -32,7 +33,8 @@ public class ThreadSchedulingMonitor {
break;
}
}
- })
- .start();
+ });
+ monitoringThread.setDaemon(true);
+ monitoringThread.start();
}
}
| chore: make sure the overload monitor is in a daemon thread | null | vertaai/modeldb | Apache License 2.0 | Java |
@@ -832,7 +832,7 @@ mod tests {
// update this test whenever there's a new sol
// version. that's ok! good reminder to check the
// patch notes.
- (">=0.5.0", "0.8.16"),
+ (">=0.5.0", "0.8.17"),
// range
(">=0.4.0 <0.5.0", "0.4.26"),
]
| chore: bump max solc 0.8.17 | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -34,6 +34,12 @@ import com.ibm.watson.developer_cloud.util.Validator;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
+import java.io.ByteArrayInputStream;
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.util.HashMap;
+import java.util.Map;
+
/**
* IBM Watson™ Natural Langua... | chore(natural language classifier): Add manual tweaks | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -26,10 +26,10 @@ export default class Select extends PureComponent<SelectProps, SelectState> {
prefixCls: 'za-select',
dataSource: [],
valueMember: 'value',
- itemRender: data => data.label,
+ itemRender: data => data && data.label,
cols: Infinity,
maskClosable: true,
- displayRender: selected => selected.map(item =... | chore: enhance props | null | zhongantech/zarm | MIT License | TypeScript |
@@ -21,7 +21,7 @@ class Application
*
* @var string
*/
- const VERSION = '1.6.1';
+ const VERSION = '1.7.0-dev';
/**
* The IoC container for the Flarum application.
| chore: set flarum version to 1.7.0 for dev | null | flarum/core | MIT License | PHP |
@@ -25,6 +25,9 @@ public class NavmapView : MonoBehaviour
MinimapMetadata mapMetadata;
bool cursorLockedBeforeOpening = true;
+ // TODO: remove this bool and its usage once the feature is ready to be shippped.
+ bool enableInProduction = false;
+
public static bool isOpen
{
private set;
@@ -59,6 +62,10 @@ internal void... | chore: disable navmap in production | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -336,7 +336,8 @@ func (mgr *Mgr) extractHeartBeatResponses(txRes *sdk.TxResponse) ([]tss.HeartBea
}
if len(heartbeatRes) == 0 {
- return nil, fmt.Errorf("handler goroutine: failure to retrieve heartbeat reply")
+ jsonResp := mgr.cliCtx.Codec.MustMarshalJSON(txRes)
+ return nil, fmt.Errorf("handler goroutine: failure... | chore(vald): add additional diagnostic data to heartbeat error | null | axelarnetwork/axelar-core | Apache License 2.0 | Go |
@@ -20,7 +20,7 @@ use near_vm_logic::mocks::mock_external::Receipt;
/// about the VM to configure parameters not directly related to the transaction being executed.
/// - `fee_config`(optional): [`RuntimeFeesConfig`] which configures the
/// fees for execution and storage of transactions.
-/// - `validator`(optional): ... | chore: update validator variable name to plural | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -56,8 +56,8 @@ describe('Interactivity', function () {
cy.get('[data-cy=mostviewed-footer]').should('not.exist');
// Scroll to bottom to trigger hydration
cy.scrollTo('bottom', { duration: 300 });
- cy.wait('@getMostReadGeo');
- cy.wait('@getMostRead');
+ cy.wait('@getMostReadGeo', { timeout: 15000 });
+ cy.wait('@g... | chore: Added a wait here to address some flakiness | null | guardian/dotcom-rendering | Apache License 2.0 | JavaScript |
@@ -273,5 +273,5 @@ func (s *ServerMock) DescribeTable(ctx context.Context, req *schema.Table) (*sch
}
func (s *ServerMock) VerifiableSQLGet(ctx context.Context, req *schema.VerifiableSQLGetRequest) (*schema.VerifiableSQLEntry, error) {
- return s.srv.VerifiableSQLGet(ctx, req)
+ return s.Srv.VerifiableSQLGet(ctx, req)... | chore(pkg/server): renamed server reference | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -164,13 +164,14 @@ pub(super) fn referential_actions(field: RelationFieldWalker<'_>, ctx: &mut Cont
let additional_info = match action {
ReferentialAction::NoAction => {
+ // we don't want to suggest the users to use Restrict instead, if the connector doesn't support it
if ctx
.connector
.emulated_referential_action... | chore: addressed PR suggestions on zoom | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -115,6 +115,11 @@ class LineTcpConnectionContext implements IOContext, Mutable {
if (peerDisconnected) {
// Peer disconnected, we have now finished disconnect our end
+ if (recvBufPos != recvBufStart) {
+ LOG.info().$('[').$(fd).$("] peer disconnected with partial measurement, ").$(recvBufPos - recvBufStart).$(" unp... | chore(cutlass): Fix logging on disconnect in TCP ILP | null | questdb/questdb | Apache License 2.0 | Java |
@@ -515,26 +515,26 @@ defmodule Ash.Actions.PaginationTest do
end
test "pagination more? is false when there are no more records using `before`" do
- # page =
- # User
- # |> Ash.Query.filter(count_of_posts == 5)
- # |> Ash.Query.sort(:name)
- # |> Api.read!(page: [limit: 1])
-
- # keyset = Enum.at(page.results, 0).__m... | chore: add in commented test | null | ash-project/ash | MIT License | Elixir |
@@ -37,7 +37,6 @@ import org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest;
import org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse;
import org.elasticsearch.action.support.IndicesOptions;
import org.elasticsearch.cluster.health.ClusterHealthStatus;
-import org.elasticsearch.... | chore(index): organize imports | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -48,7 +48,9 @@ const (
MetaFileSize = "FILE_SIZE"
)
-const cLogEntrySize = 12 // data offset and size
+const cLogEntrySize = offsetSize + szSize
+const offsetSize = 8
+const szSize = 4
//AHtree stands for Appendable Hash Tree
type AHtree struct {
@@ -181,7 +183,7 @@ func OpenWith(pLog, dLog, cLog appendable.Appendab... | chore: use constants for field len | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -22,6 +22,7 @@ limitations under the License.
package v1alpha1
import (
+ "github.com/containers/common/pkg/seccomp"
"k8s.io/api/admissionregistration/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -56,6 +57,11 @@ func (in *SPODSpec) DeepCopyInto(out *SPODSpec) {
*out = make([]strin... | chore: regeneate the spod copy | null | kubernetes-sigs/security-profiles-operator | Apache License 2.0 | Go |
@@ -63,8 +63,7 @@ internal final class WrapperViewController: UIViewController {
}
private lazy var topMostScrollView: KeyboardAvoidingView? = {
- guard let view = child.viewIfLoaded else { return nil }
- return view.adyen.getTopMostView()
+ child.viewIfLoaded.flatMap { $0.adyen.getTopMostView() }
}()
fileprivate func ... | chore: small fix in WrapperViewController | null | adyen/adyen-ios | MIT License | Swift |
@@ -41,7 +41,7 @@ testHint(hintPath,
severity: Severity.warning
},
{
- message: `'details' is not supported by Edge, Internet Explorer.`,
+ message: `'details' is not supported by Edge < 79, Internet Explorer.`,
position: { match: 'details' },
severity: Severity.warning
}
| chore: Update compat tests to account for Edge 79+ | null | webhintio/hint | Apache License 2.0 | TypeScript |
@@ -23,6 +23,38 @@ class Colour(commands.Cog):
with open(pathlib.Path("bot/resources/utilities/ryanzec_colours.json")) as f:
self.COLOUR_MAPPING = json.load(f)
+ async def send_colour_response(self, ctx: commands.Context, rgb: list[int]) -> None:
+ """Function to create and send embed from colour information."""
+ r, g... | chore: move send_colour_response to top of class | null | python-discord/sir-lancebot | MIT License | Python |
npm run lint && \
npm run dist && \
-LIB_DIR=dist npm run test:web && \
+LIB_DIR=dist npm run test:web -- --no-cache && \
npm run compile && \
-LIB_DIR=lib npm run test:web && \
-LIB_DIR=lib npm run test:rn && \
-LIB_DIR=es npm run test:web && \
-LIB_DIR=es npm run test:rn && \
-npm run test:web && \
-npm run test:rn
+... | chore: fix test:all test with no-cache, close | null | ant-design/ant-design-mobile | MIT License | Shell |
@@ -120,6 +120,10 @@ export const AddressUDTItemPanel = styled.a`
width: 260px;
height: 56px;
+ @media (max-width: 750px) {
+ width: calc(100% - 30px);
+ }
+
pointer-events: ${(props: { isLink: boolean }) => (props.isLink ? 'auto' : 'none')};
.address__udt__item__icon {
@@ -132,10 +136,19 @@ export const AddressUDTItem... | chore: Set nft name single line | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -72,46 +72,6 @@ mod tests {
}
}
- #[test]
- fn walk_link_with_dot() {
- let cid = Cid::try_from("QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n").unwrap();
- let doc = make_ipld!(cid.clone());
- let path = "bafyreielwgy762ox5ndmhx6kpi6go6il3gzahz3ngagb7xw3bj3aazeita/./foobar";
-
- let p = IpfsPath::try_from(path).un... | chore: delete already migrated resolving test | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -21,7 +21,7 @@ defmodule Ash.Test.Sort.SortTest do
end
attributes do
- attribute :id, :uuid, primary_key?: true, default: &Ecto.UUID.generate/0
+ uuid_primary_key :id
attribute :title, :string
attribute :contents, :string
attribute :points, :integer, private?: true
| chore: use uuid_primary_key in sort_test | null | ash-project/ash | MIT License | Elixir |
@@ -25,7 +25,7 @@ use common_fuse_meta::meta::BlockMeta;
use common_planner::Expression;
use serde_json::json;
-use crate::io::MetaReaders;
+use crate::io::SegmentsIO;
use crate::sessions::TableContext;
use crate::FuseTable;
use crate::Table;
@@ -44,6 +44,18 @@ struct ClusteringStatistics {
block_depth_histogram: Varia... | chore: tidy up clustering_information | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -303,16 +303,11 @@ const desktopSerpHandlers: Record<string, SerpHandler> = {
innerTargets:
'.YwonT, [data-content-feature], .Z26q7c, .IsZvec, .kno-fb-ctx, .ZE0LJd, .S1FAPd, .g, .F9rcV, .hMJ0yc',
},
- // AutoPagerize
- {
- target: '.autopagerize_page_info ~ div',
- innerTargets: '[data-content-feature], .Z26q7c, .Is... | chore: unify code for AutoPagerize and continuous scrolling | null | iorate/ublacklist | MIT License | TypeScript |
@@ -299,8 +299,8 @@ public class SynthesizeOptions extends GenericModel {
* strings of the input text. Specify `words` as the element of the array to request word timing
* information. The service returns the start and end time of each word of the input. Specify an
* empty array or omit the parameter to receive no word... | chore(text-to-speech-v1): format code | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -27,7 +27,7 @@ func FromConfigMap(ctx context.Context, clientSet kubernetes.Interface, namespac
config, err := clientSet.CoreV1().ConfigMaps(namespace).Get(ctx, configMapName, metav1.GetOptions{})
if err != nil {
if k8errors.IsNotFound(err) {
- glog.Infof("cannot find launcher configmap: name=%q namespace=%q", confi... | chore: make the log message as an explicit non-error message | null | kubeflow/pipelines | Apache License 2.0 | Go |
import createDebug from 'debug';
+import { TlsOptions } from 'tls';
import { Server as HTTPSServer, createServer as httpsCreateServer } from 'https';
import {
Server as HTTPServer,
@@ -52,7 +53,7 @@ export class WebhookTransport {
next = defaultNextHandler
}: {
path?: string;
- tls?: object;
+ tls?: TlsOptions;
host?: ... | chore(updates): add types for tls option | null | negezor/vk-io | MIT License | TypeScript |
@@ -131,7 +131,7 @@ export const BaseMenubar = ({
document.readyState !== 'complete'
? window.addEventListener('load', calculateOffset)
- : calculateOffset()
+ : setTimeout(calculateOffset, 10) // handles slight discrepancy with load event in chrome
window.addEventListener('scroll', handleScrollStart)
window.addEventLi... | chore(react-tinacms-editor): adjust offset calculation timing for chrome load evt | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -13,7 +13,7 @@ class myClass {
return 'testMethod OK!';
}
- function helper2($arg) {
+ static function helper2($arg) {
return is_array($arg) ? '=Array=' : "=$arg=";
}
@@ -25,7 +25,7 @@ class myClass {
class foo {
public $prop = 'Yes!';
- function bar() {
+ static function bar() {
return 'OK!';
}
}
| chore: refine some tests for php8 | null | zordius/lightncandy | MIT License | PHP |
@@ -87,12 +87,18 @@ function deploy_zip {
else
echo "It appears $lambda_zip_file does not contain package @instana/aws-lambda, so I'll add the \"instana-nodejs\" Lambda layer to the function."
+ if [[ -z $LAYER_VERSION || -z $LAYER_ARN ]]; then
+ echo "No layer ARN and version specified, will ask for the latest Instana... | chore(lambda): minor improvements for deploy script for test Lambdas | null | instana/nodejs-sensor | MIT License | Shell |
@@ -20,8 +20,8 @@ readonly PKG_ROOT="$(git rev-parse --show-toplevel)"
function get_image_from_helm_chart() {
local -r image_name="${1}"
- image_repository="$(cat ${PKG_ROOT}/charts/latest/azurefile-csi-driver/values.yaml | yq -r .image.${image_name}.repository)"
- image_tag="$(cat ${PKG_ROOT}/charts/latest/azurefile-c... | chore: add the snapshot image check | null | kubernetes-sigs/azurefile-csi-driver | Apache License 2.0 | Shell |
@@ -41,8 +41,8 @@ TEST_COMMAND = 'npm test -- --package %s --node'
SKIP_PACKAGES = [
'@webex/bin-sauce-connect', # needs Sauce started
- '@webex/plugin-meetings', # no tests
- '@webex/test-helper-server' # no tests
+ # '@webex/plugin-meetings', # no tests
+ # '@webex/test-helper-server' # no tests
]
def should_include_... | chore(test.py): add some skipped tests back | null | webex/webex-js-sdk | MIT License | Python |
@@ -31,13 +31,13 @@ internal enum ConfigurationConstants {
static let apiContext = APIContext(environment: componentsEnvironment, clientKey: clientKey)
- static let clientKey = "test_L6HTEOAXQBCZJHKNU4NLN6EI7IE6VRRW"
+ static let clientKey = "{YOUR_CLIENT_KEY}"
- static let demoServerAPIKey = "AQEthmfxKo7MbhFLw0m/n3Q5q... | chore: reverted the credentials in configuration.swift | null | adyen/adyen-ios | MIT License | Swift |
@@ -18,6 +18,14 @@ limitations under the License.
#include "falco_utils.h"
#include <sys/stat.h>
+#ifndef CPPPATH_SEP
+#ifdef _MSC_VER
+#define CPPPATH_SEP "\\"
+#else
+#define CPPPATH_SEP "/"
+#endif
+#endif
+
using namespace falco::app;
application::run_result application::create_requested_paths()
@@ -91,8 +99,8 @@ i... | chore(userspace/falco): be somewhat more portable, avoiding assuming that '/' is the path delim | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -110,6 +110,9 @@ module ChefUtils
# The server's configuration utility
SERVER_CTL = "chef-server-ctl"
+
+ # The server`s docs URL
+ SERVER_DOCS = "https://docs.chef.io/server/"
end
class Solo
| chore: added constant with Server`s docs url | null | chef/chef | Apache License 2.0 | Ruby |
@@ -115,14 +115,14 @@ class SearchFragment : DaggerFragment() {
}
private fun showSpinner() {
- Timber.w("Showing Spinner")
+ Timber.d("Showing Spinner")
searchConfirmButton.text = ""
searchConfirmButton.isClickable = false
searchProgress.show()
}
private fun hideSpinner() {
- Timber.w("Hiding Spinner")
+ Timber.d("Hid... | chore: change ui log messages to be debug instead of warn | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -5,8 +5,7 @@ echo "Deploy new Databend(standalone)"
ulimit -n 65535
nohup bin/databend-meta --config-file=configs/databend-meta.toml 2>&1 >meta.log &
sleep 3
-cat meta.log
# export STORAGE_S3_ENABLE_VIRTUAL_HOST_STYLE=true
nohup bin/databend-query --config-file=configs/databend-query.toml 2>&1 >query.log &
sleep 3
-... | chore(start.sh): apply review comments | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -115,8 +115,13 @@ class BrowserTestCase extends BaseTestCase
__DIR__ . '/views',
resource_path('views'),
]);
-
$app['config']->set('app.key', 'base64:Hupx3yAySikrM2/edkZQNQHslgDWYfiBfCuSThJ5SK8=');
+ $app['config']->set('database.default', 'testbench');
+ $app['config']->set('database.connections.testbench', [
+ 'dr... | chore: add database to test case | null | wireui/wireui | MIT License | PHP |
@@ -47,7 +47,7 @@ export default class VuexMigrations {
apply () {
this.migrations.forEach(migration => {
if (process.env.NODE_ENV !== 'test') {
- logger.info(`Appliying migration ${migration.version}: ${migration.title}`)
+ logger.info(`Applying migration ${migration.version}: ${migration.title}`)
}
migration.handler(... | chore: correct typo Applying | null | arkecosystem/desktop-wallet | MIT License | JavaScript |
@@ -431,8 +431,8 @@ ActiveRecord::Schema.define(version: 2021_08_21_030941) do
t.boolean "allow_partial_submission", default: false
t.integer "randomization"
t.boolean "show_mcq_answer", default: true
- t.boolean "block_student_viewing_after_submitted", default: false
t.boolean "show_mcq_mrq_solution", default: true
+ ... | chore: update schema.rb | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -41,7 +41,6 @@ internal final class VoucherNavBar: UIView, AnyNavigationBar {
backgroundColor = model.style.backgroundColor
let stackView = UIStackView()
- stackView.translatesAutoresizingMaskIntoConstraints = false
addSubview(stackView)
stackView.adyen.anchor(inside: self)
| chore: Unnecessary mask translation for voucher nav's stack view | null | adyen/adyen-ios | MIT License | Swift |
@@ -380,18 +380,8 @@ func Open(opt Options) (db *DB, err error) {
_ = db.flushMemtable(db.closers.memtable) // Need levels controller to be up.
}()
}
-
- headKey := y.KeyWithTs(head, math.MaxUint64)
- // Need to pass with timestamp, lsm get removes the last 8 bytes and compares key
- vs, err := db.get(headKey)
- if err... | chore(head): Dump all heads keys on open | null | dgraph-io/badger | Apache License 2.0 | Go |
@@ -1121,6 +1121,9 @@ func (s *ImmuStore) LinearProof(sourceTxID, targetTxID uint64) (*LinearProof, er
}
func (s *ImmuStore) txOffsetAndSize(txID uint64) (int64, int, error) {
+ s.txLogMutex.Lock()
+ defer s.txLogMutex.Unlock()
+
if txID == 0 {
return 0, 0, ErrIllegalArguments
}
@@ -1151,14 +1154,14 @@ func (s *ImmuSto... | chore(embedded/store): sync access to commit and tx logs | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -325,21 +325,21 @@ impl<T: Config> Pallet<T> {
.checked_sub(&fee_wrapped)
.ok_or(Error::<T>::ArithmeticUnderflow)?;
+ // this can overflow for small requested values. As such return AmountBelowDustAmount when this happens
+ let user_to_be_received_btc = vault_to_be_burned_tokens
+ .checked_sub(&inclusion_fee)
+ .ok_... | chore: Remove checked math from integration tests | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -411,22 +411,19 @@ fn testnet_genesis(
vault_registry: kintsugi_runtime::VaultRegistryConfig {
minimum_collateral_vault: vec![(CurrencyId::KSM, 0)],
punishment_delay: kintsugi_runtime::DAYS,
- system_collateral_ceiling: vec![(
- default_pair_kintsugi(CurrencyId::KSM),
- 1000 * CurrencyId::KSM.one(),
- )],
+ system_c... | chore: Lower collateral thresholds | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -24,7 +24,7 @@ const ldirname = dirname(fileURLToPath(import.meta.url));
let timeout;
class Worker {
- static #activeHydrations = [];
+ #activeHydrations = [];
constructor() {
logger.info(`forceHydrate: ${forceHydrate}`);
| chore: rescope worker hydrations | null | wfcd/genesis | Apache License 2.0 | JavaScript |
@@ -110,12 +110,17 @@ pub type Result<T, E = Error> = std::result::Result<T, E>;
#[cfg(feature = "jaeger")]
fn jaeger_exporter(config: &TracingConfig) -> Result<Arc<dyn TraceCollector>> {
+ use observability_deps::tracing::info;
+
let agent_endpoint = format!(
"{}:{}",
config.traces_exporter_jaeger_agent_host.trim(),
c... | chore: log tracing config | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -300,7 +300,7 @@ def docfx(session):
session.install("-e", ".")
session.install(
- "sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
+ "sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml==0.2.0"
)
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
| chore: pin sphinx plugin version to working one | null | googleapis/python-bigquery | Apache License 2.0 | Python |
@@ -119,10 +119,12 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
}
private func setupMediaControlLayer() {
+ #if os(iOS)
let mediaControl = plugins.first { $0 is MediaControl } as? MediaControl
if let mediaControlView = mediaControl?.view {
layerComposer.attachMediaControl(mediaControlView)
}
+ #endif
}
o... | chore: limit setupMediaControlLayer to iOS versions | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -21,6 +21,7 @@ import (
"bytes"
"fmt"
"io"
+ "io/ioutil"
"os"
"strconv"
@@ -34,8 +35,25 @@ import (
"github.com/codenotary/immudb/pkg/schema"
)
+var marshaller = proto.TextMarshaler{}
+
+func printItem(key []byte, value []byte, message interface{}) {
+ var index uint64
+ switch m := message.(type) {
+ case *schema.G... | chore(immu): improve printing | null | codenotary/immudb | Apache License 2.0 | Go |
import { expect, test } from '@jest/globals';
import 'reflect-metadata';
-import { http, HttpKernel, JSONResponse, RouteParameterResolverContext, RouteParameterResolverTag } from '@deepkit/http';
+import { http, HttpKernel, JSONResponse, RouteParameterResolverContext } from '@deepkit/http';
import { Application } from ... | chore: adjust test for changed parameter resolver API | null | deepkit/deepkit-framework | MIT License | TypeScript |
@@ -12,17 +12,15 @@ public final class FormTextInputItemView: FormTextItemView<FormTextInputItem> {
// MARK: - Initializers
+ /// Initializes the text item view.
+ /// - Parameter item: The item represented by the view.
public required init(item: FormTextInputItem) {
super.init(item: item)
- // TODO: - Refactor with ri... | chore: Add docs to FromTextInputItemView initializer | null | adyen/adyen-ios | MIT License | Swift |
@@ -17,10 +17,6 @@ public let kMediaControlAlwaysVisible = "mediaControlAlwaysVisible"
// List of MediaControl Plugins
public let kMediaControlPlugins = "mediaControlPlugins"
-
-// Disable default plugins
-public let kDisableDefaultPlugins = "disableDefaultPlugins"
-
public let kLoop = "loop"
public let kMetaData = "me... | chore: removing unnecessary option | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -62,11 +62,13 @@ public class TelemetryMultipleEnginesTest {
@ClassRule
public static ProcessEngineBootstrapRule secondEngineRule = new ProcessEngineBootstrapRule(config ->
- config.setProcessEngineBootstrapCommand(new NoInitMessageBootstrapEngineCommand()));
+ config.setTelemetryEndpoint(TELEMETRY_ENDPOINT)
+ .setP... | chore(tests): adjust telemetry test to be configuration independent | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -5,7 +5,6 @@ use futures::FutureExt;
use influxdb_iox_client::write_info::generated_types::{
GetWriteInfoResponse, KafkaPartitionStatus,
};
-use observability_deps::tracing::info;
use test_helpers::timeout::FutureTimeout;
use test_helpers_end_to_end_ng::{
all_readable, combined_token_info, maybe_skip_integration, Mi... | chore: add some logging to flaky end to end test | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -58,11 +58,6 @@ class WTFTripletLoss(TripletLoss):
per_fold : int, optional
If provided, sample triplets from groups of `per_fold` speakers at a
time. Defaults to sample triplets from the whole speaker set.
- trim : float, optional
- Do not use speech segments that are that close to the beginning/end of
- the annota... | chore: remove "trim" parameter | null | pyannote/pyannote-audio | MIT License | Python |
@@ -127,14 +127,23 @@ pub enum Sessions {
/// Run a command in a new pane
#[clap(visible_alias = "r")]
Run {
+ /// Command to run
#[clap(last(true), required(true))]
command: Vec<String>,
+
+ /// Direction to open the new pane in
#[clap(short, long, value_parser, conflicts_with("floating"))]
direction: Option<Direction... | chore: add help to cli options | null | zellij-org/zellij | MIT License | Rust |
@@ -50,12 +50,12 @@ public interface ApplicationConfiguration extends AbstractConfiguration {
if (lookup == null) {
throw new IllegalStateException("The application "
+ Lookup.class.getSimpleName()
- + " instance is not found in the " + VaadinContext.class
- + " instance. It means that "
- + "the container has not exec... | chore: Improve the error message when the deployment is broken | null | vaadin/flow | Apache License 2.0 | Java |
@@ -7,11 +7,7 @@ import Tweet from '~components/common/tweet'
const DailyTweet = () => {
const data = useStaticQuery(graphql`
{
- allTweets(
- filter: { is_pinned: { eq: true } }
- sort: { fields: date, order: DESC }
- limit: 1
- ) {
+ allTweets(filter: { is_pinned: { eq: true } }, limit: 1) {
nodes {
id_str
created_at... | chore: Sort tweet by only pinned status | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -42,7 +42,7 @@ cat << EOF > /etc/telegraf/telegraf.conf
json_time_key = "time"
json_time_format = "unix"
tag_keys = [
- "i_type"
+ "i_type",
"query_format"
]
EOF
@@ -117,7 +117,7 @@ for scale in 50 100 500; do
# run ingest tests
cat ${DATASET_DIR}/$data_fname | $GOPATH/bin/bulk_load_influx $load_opts | jq ". += {bra... | chore: perftests should use API instead of influx cli | null | influxdata/influxdb | MIT License | Shell |
+import React from 'react'
+import {
+ HoursPerWeek,
+ Availability,
+} from '../../components/pages/contact/volunteer-options'
+
+import {
+ Form,
+ FormInput,
+ FormGroup,
+ FormGroupChild,
+} from '../../components/common/form'
+
+import VolunteerFormExample from '../../components/pages/contact/volunteer-form'
+
+ex... | chore(storybook): added form documentation | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -72,8 +72,8 @@ class Bitbucket extends OAuth
{
$user = $this->getUser($accessToken);
- if (isset($user['uuid'])) {
- return $user['uuid'];
+ if (isset($user['account_id'])) {
+ return $user['account_id'];
}
return '';
@@ -124,8 +124,6 @@ class Bitbucket extends OAuth
$email = $this->request('GET', 'https://api.bitbu... | chore: use account_id instead of uuid | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -7,7 +7,9 @@ import com.chesire.malime.core.room.MalimeDao
import io.reactivex.Completable
import io.reactivex.Observable
import io.reactivex.Single
+import io.reactivex.rxkotlin.subscribeBy
import io.reactivex.schedulers.Schedulers
+import timber.log.Timber
import javax.inject.Inject
class Library @Inject construct... | chore: add logging errors to rxjava completables | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -29,6 +29,7 @@ import org.camunda.bpm.engine.test.util.ProcessEngineTestRule;
import org.camunda.bpm.engine.test.util.ProvidedProcessEngineRule;
import org.junit.AfterClass;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
@@ -... | chore(engine/test): ignore failing test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -51,14 +51,12 @@ defmodule Logflare.BackendsTest do
{:ok, source: source}
end
- test "gets cached to recent logs", %{source: source} do
- assert :ok = Backends.ingest_logs([@valid_event], source)
+ test "correctly retains the 100 items", %{source: source} do
+ events = for n <- 1..105, do: %{n: n}
+ assert :ok = Bac... | chore: refine recent logs ingestion cache test | null | logflare/logflare | Apache License 2.0 | Elixir |
+export const jointWindow = <Window>{
+ addEventListener: (...args: Parameters<Window['addEventListener']>) => {
+ window.addEventListener(...args)
+ window.parent.addEventListener(...args)
+ },
+ removeEventListener: (...args: Parameters<Window['removeEventListener']>) => {
+ window.removeEventListener(...args)
+ wind... | chore(docs): mock window | null | vueuse/vueuse | MIT License | TypeScript |
*/
package com.power.doc.template;
-import com.power.common.util.*;
+import com.power.common.util.CollectionUtil;
+import com.power.common.util.RandomUtil;
+import com.power.common.util.StringUtil;
+import com.power.common.util.UrlUtil;
+import com.power.common.util.ValidateUtil;
import com.power.doc.builder.ProjectDoc... | chore: JAX-RS support request body | null | smart-doc-group/smart-doc | Apache License 2.0 | Java |
@@ -487,7 +487,7 @@ trait Auditable
if ($incompatibilities = array_diff_key($modified, $this->getAttributes())) {
throw new AuditableTransitionException(sprintf(
'Incompatibility between [%s:%s] and [%s:%s]',
- get_class($this),
+ $this->getMorphClass(),
$this->getKey(),
get_class($audit),
$audit->getKey()
| chore(Auditable): use the morph class instead of the FQCN | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -29,7 +29,7 @@ var (
"1.4.0": true, "1.5.0": true, "1.6.0": true, "1.7.0": true,
"1.8.0": true, "1.9.0": true, "1.10.0": true, "1.11.0": true,
"1.12.0": true, "2.0.0": true, "2.1.0": true, "2.2.0": true,
- "2.3.0": true,
+ "2.3.0": true, "2.4.0": true,
}
validDesiredVersion = strings.Split(version.GetVersion(), "-")... | chore(version): add 2.4.0 to upgrade matrix | null | openebs/maya | Apache License 2.0 | Go |
@@ -28,7 +28,6 @@ import io.questdb.log.Log;
import io.questdb.log.LogFactory;
import io.questdb.std.LongList;
import io.questdb.std.Numbers;
-import io.questdb.std.Os;
import io.questdb.std.Rnd;
import org.junit.Assert;
import org.junit.Test;
@@ -144,7 +143,8 @@ public class ConcurrentTest {
pingPong.add(pingCursor);
... | chore(test): remove testOneToParallelSubscriber test | null | questdb/questdb | Apache License 2.0 | Java |
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
+#include "mojo/public/cpp/bindings/callback_helpers.h"
#include "shell/common/gin_helper/locker.h"
#include "third_party/blink/public/common/associated_interfaces/as... | chore: wrap cb with default invocation | null | electron/electron | MIT License | C++ |
@@ -8,15 +8,33 @@ set -e
SUITE_START_TIME=$(date +%s)
+trap 'onExit' EXIT
+
+function log {
+ OUT="${PACKAGE}: "
+ if [ -n "${SUITE_ITERATION}" ]; then
+ OUT="${OUT}Suite Attempt ${SUITE_ITERATION}: "
+ fi
+ if [ -n "${SC_ITERATION}" ]; then
+ OUT="${OUT}SC Attempt ${SC_ITERATION} "
+ fi
+ echo "${OUT}${1}"
+}
+
functi... | chore(tooling): combine traps and simplify logging | null | webex/webex-js-sdk | MIT License | Shell |
#! /bin/bash
+# reset potential changes in sizes
+git checkout scripts/rollup/results.json
+
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish prerelease \
--canary \
--conventional-prerelease \
| chore: Reset results.json before lerna release | null | sap/ui5-webcomponents-react | Apache License 2.0 | Shell |
@@ -353,7 +353,7 @@ impl FromStr for Chain {
"kovan" => Chain::Kovan,
"xdai" => Chain::XDai,
"polygon" => Chain::Polygon,
- "polygon-mumbai" => Chain::PolygonMumbai,
+ "mumbai" | "polygon-mumbai" => Chain::PolygonMumbai,
"avalanche" => Chain::Avalanche,
"avalanche-fuji" => Chain::AvalancheFuji,
"sepolia" => Chain::Sepo... | chore: match standalone mumbai for chain | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -47,13 +47,18 @@ export -f package_name
export -f package_exists_on_npm
export -f dirs_to_existing_names
-
if ! ${SKIP_DOWNLOAD:-false}; then
echo "Filtering on existing packages on NPM..." >&2
# In parallel
existing_names=$(echo "$jsii_package_dirs" | xargs -n1 -P4 -I {} bash -c 'dirs_to_existing_names "$@"' _ {})
... | chore: use current package versions to check api compatibility | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -112,9 +112,35 @@ public class VisualRecognition {
do {
let json = try JSONDecoder().decode([String: JSON].self, from: data)
metadata = [:]
+ switch statusCode {
+ case 403:
+ // ErrorAuthentication
+ if case let .some(.string(status)) = json["status"],
+ case let .some(.string(statusInfo)) = json["statusInfo"] {
+ ... | chore(VisualRecognitionV3): Undo unwanted generated changes | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -340,7 +340,7 @@ storiesOf('TimeSeriesCard (Experimental)', module)
</div>
);
})
- .add('medium / single line - years', () => {
+ .add('medium / single line - interval year (Two data point)', () => {
const size = select('size', Object.keys(CARD_SIZES), CARD_SIZES.MEDIUM);
return (
<div style={{ width: `${getCardMinS... | chore(chart): stories updatees | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -25,6 +25,7 @@ lerna version \
--create-release github \
-m "chore(publish): latest" \
--ignore-changes '**/*.md' '**/*.test.tsx?' '**/package-lock.json' '**/tsconfig.json'
+ --no-granular-pathspec
# 5. Publish to NPM
lerna publish from-package --yes
| chore: pass --no-granular-pathspec to version cmd | null | tinacms/tinacms | Apache License 2.0 | Shell |
@@ -6,8 +6,8 @@ set -e
cat <<EOL
apiVersion: v1
data:
- username: $(echo "${1}" | $ENCODE)
- password: $(echo "${2}" | $ENCODE)
+ username: $(echo -n "${1}" | $ENCODE)
+ password: $(echo -n "${2}" | $ENCODE)
kind: Secret
metadata:
name: grafana-cloud
| chore: exclude newlines in secret data | null | caos/orbos | Apache License 2.0 | Shell |
@@ -6,7 +6,7 @@ import OHHTTPStubs
class UIImageViewTests: QuickSpec {
override func spec() {
- describe("#UIImageViewTests") {
+ describe(".UIImageViewTests") {
describe("get image from url") {
beforeEach {
OHHTTPStubs.removeAllStubs()
| chore: adjusting naming to conform with test rules | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -8,7 +8,7 @@ using NUnit.Framework;
namespace PeanutButter.RandomGenerators.Tests
{
[TestFixture]
- public class TestGenericBuilderLocator
+ public class TestGenericBuilderLocator: AssertionHelper
{
[OneTimeSetUp]
public void OneTimeSetUp()
@@ -35,7 +35,7 @@ namespace PeanutButter.RandomGenerators.Tests
var result =... | chore: convert to Expect- syntax | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -30,7 +30,7 @@ fn create_test_files(path: &Path, partial: bool) -> Result<String> {
.collect();
for name in &names {
- File::create(path.join(name.to_string()))?;
+ File::create(path.join(name))?;
}
// Only return the last 5 lines if partial output is requested.
| chore: Fix new clippy issue | null | nukesor/pueue | MIT License | Rust |
"""
Lambda Function configuration data required by the runtime
"""
-import ast
-
from samcli.commands.local.cli_common.user_exceptions import InvalidSamTemplateException
from .env_vars import EnvironmentVariables
@@ -51,13 +49,9 @@ class FunctionConfig:
if not isinstance(self.timeout, int):
try:
- self.timeout = ast.li... | chore: Simplify how timeouts are casted to an int | null | aws/aws-sam-cli | Apache License 2.0 | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.