diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
+import * as web3 from '@solana/web3.js';
+
+(async () => {
+ // Connect to cluster
+ var connection = new web3.Connection(
+ web3.clusterApiUrl('devnet'),
+ 'confirmed',
+ );
+
+ // Generate a new wallet keypair and airdrop SOL
+ var wallet = web3.Keypair.generate();
+ var airdropSignature = await connection.requestAi... | chore: add get_account_info example | null | solana-labs/solana-web3.js | MIT License | JavaScript |
/// <reference path="./node_modules/@nativescript/core/global-types.d.ts" />
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios.d.ts" />
-/// <reference path="./node_modules/@nativescript/types-android/lib/android/android-platform-29.d.ts" />
-/// <reference path="./node_modules/@nativescript/types-and... | chore: typings update | null | nativescript-community/ui-material-components | Apache License 2.0 | TypeScript |
-'use strict';
-const p = require('./package.json');
-const _ = require('lodash');
-
-const result = _.map(p.browserDependencies, function(v, k) {
- return k + '@' + v;
-});
-
-console.log(result.join(' '));
| chore: delete obsolete file | null | automattic/mongoose | MIT License | JavaScript |
@@ -114,10 +114,8 @@ func (c *Config) setLogger() {
switch level := strings.ToUpper(c.LogLevel); level {
case "TRACE":
log.SetLevel(log.TraceLevel)
- log.SetReportCaller(true)
case "DEBUG":
log.SetLevel(log.DebugLevel)
- log.SetReportCaller(true)
case "WARN":
log.SetLevel(log.WarnLevel)
case "ERROR":
| chore(logger): remove caller information from debug logs | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -123,9 +123,11 @@ impl<I: InputFormatPipe> Processor for Aligner<I> {
let eof = read_batch.is_none();
let row_batches = state.align(read_batch)?;
for b in row_batches.into_iter() {
+ if b.size() > 0 {
process_values.rows += b.rows();
self.row_batches.push_back(b);
}
+ }
if eof {
assert!(self.is_flushing_split);
}
| chore(format): aligner not pass empty row batch to deserializer | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -10,8 +10,7 @@ main() {
cd "$(dirname "${0}")/../.."
cd lib/vscode
- yarn gulp compile-build
- yarn gulp compile-extensions-build
+ yarn gulp compile-build compile-extensions-build
yarn gulp optimize --gulpfile ./coder.js
if [[ $MINIFY ]]; then
yarn gulp minify --gulpfile ./coder.js
| chore(build): compile vscode+extensions in parallel | null | cdr/code-server | MIT License | Shell |
@@ -33,13 +33,16 @@ import com.vaadin.flow.uitest.ui.dependencies.TestVersion;
*
* @since 1.0
*/
+@NpmPackage(value = "@vaadin/vaadin-themable-mixin", version = TestVersion.VAADIN)
+@NpmPackage(value = "@vaadin/polymer-legacy-adapter", version = TestVersion.VAADIN)
+@JsModule("@vaadin/polymer-legacy-adapter/style-modul... | chore: Sync test Lumo class with the real Lumo class | null | vaadin/flow | Apache License 2.0 | Java |
@@ -15,6 +15,7 @@ import (
log "github.com/sirupsen/logrus"
+ "github.com/argoproj/argo-cd/v2/common"
"github.com/argoproj/argo-cd/v2/util/errors"
)
@@ -83,7 +84,9 @@ func NewDexHTTPReverseProxy(serverAddr string, baseHRef string, tlsConfig *DexTL
if err != nil {
return err
}
- log.Errorf("received error from dex: %s",... | chore: Add security logging for Dex errors | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -57,7 +57,7 @@ public abstract class AbstractCockpitPluginTest {
}
@Rule
- public ProcessEngineRule processEngineRule = new ProcessEngineRule();
+ public ProcessEngineRule processEngineRule = new ProcessEngineRule(true);
@BeforeClass
public static void beforeClass() {
| chore(test): Use db clean check for Cockpit plugin tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -15,10 +15,7 @@ def register(module, name=None):
if name is None:
name = module.__name__
if name in blocked_plugins:
- print(
- "Requested registration of plugin {} but this plugin is "
- "blocked".format(name)
- )
+ print("Requested registration of plugin {name} but this plugin is blocked")
return
plugins[name] = m... | chore: warn and say why when a plugin is blocked | null | addok/addok | MIT License | Python |
@@ -72,11 +72,11 @@ hits_statements=(
"SELECT '====== SQL30 ======';"
"SELECT SUM(ResolutionWidth), SUM(ResolutionWidth + 1), SUM(ResolutionWidth + 2), SUM(ResolutionWidth + 3), SUM(ResolutionWidth + 4), SUM(ResolutionWidth + 5), SUM(ResolutionWidth + 6), SUM(ResolutionWidth + 7), SUM(ResolutionWidth + 8), SUM(Resoluti... | chore(test): fixes flake stateful test | null | datafuselabs/databend | Apache License 2.0 | Shell |
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
-import UIKit
import Adyen
+import UIKit
extension CardViewController {
@@ -50,7 +50,7 @@ extension CardViewController {
style: formStyle.addressStyle,
localizationParameters: localizationParameters)
item.style.backg... | chore: Update billing address item identifier | null | adyen/adyen-ios | MIT License | Swift |
@@ -34,7 +34,7 @@ const HHSHospitalization = ({ data }) => {
<Snippet slug="hhs-facilities-intro" />
</LongContent>
</Container>
- <HHSFacilitiesMap center={[-97, 38]} zoom={4} />
+ <HHSFacilitiesMap center={[-97, 38]} zoom={3.5} />
<Container centered>
<LongContent>
<Snippet slug="hhs-facilities-closure" />
| chore: Zoom out US map | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -12,7 +12,7 @@ var Controller = [
'basePath',
'variable',
'$translate',
- '$browser',
+ '$cookies',
function(
$modalInstance,
$scope,
@@ -21,7 +21,7 @@ var Controller = [
basePath,
variable,
$translate,
- $browser
+ $cookies
) {
var BEFORE_UPLOAD = 'beforeUpload',
@@ -101,7 +101,7 @@ var Controller = [
xhr.addEventL... | chore(webapps): replace $browser with $cookies | null | camunda/camunda-bpm-platform | Apache License 2.0 | JavaScript |
@@ -49,8 +49,7 @@ extension IntegrationExample {
configuration.actionComponent.threeDS.requestorAppURL = URL(string: ConfigurationConstants.returnUrl)
configuration.payment = payment
- configuration.card.billingAddress.mode = .full
- configuration.card.billingAddress.optionalForBrands = [.bcmc]
+ configuration.card.bil... | chore: reset example code | null | adyen/adyen-ios | MIT License | Swift |
@@ -245,7 +245,7 @@ export function useStyleProps<T extends StyleProps>(
if (otherProps.className) {
console.warn(
'The className prop is unsafe and is unsupported in React Spectrum v3. ' +
- 'Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must to something custom. ' +
+ 'Please u... | chore: Added a tiny typo fix | null | adobe/react-spectrum | Apache License 2.0 | TypeScript |
@@ -94,8 +94,8 @@ public class ExecutionResourceImpl implements ExecutionResource {
Incident newIncident = null;
try {
- newIncident = engine.getRuntimeService().createIncident(createIncidentDto.getIncidentType(), executionId, createIncidentDto.getActivityId(),
- createIncidentDto.getConfiguration(), createIncidentDto.... | chore(rest): fix compile failure | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -463,7 +463,7 @@ trait Auditable
*/
public function transitionTo(Contracts\Audit $audit, bool $old = false): Contracts\Auditable
{
- // The Audit must be for this Auditable model of this type
+ // The Audit must be for an Auditable model of this type
if ($this->getMorphClass() !== $audit->auditable_type) {
throw new... | chore(Auditable): wording | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -204,7 +204,7 @@ class Search
} else if (in_array($op, ['|='])) {
$this->query->filterTerms($column, explode(';', $value));
} else {
- throw new \Exception("Invalid operand provided: {$op}, please provide either: >, >=, <, <=, or =");
+ throw new \Exception("Invalid operand provided: {$op}, please provide either: >,... | chore: small change in invalid operator error message | null | xivapi/xivapi.com | MIT License | PHP |
@@ -24,6 +24,7 @@ class EscapeHatchTests: XCTestCase {
/// - I should get back user pool and identity pool clients
///
func testEscapeHatchWithUserPoolAndIdentityPool() throws {
+ throw XCTSkip("TODO: Update this test")
let plugin = AWSCognitoAuthPlugin()
try Amplify.add(plugin: plugin)
@@ -67,6 +68,7 @@ class EscapeHa... | chore(auth): skip broken escape hatch tests | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -138,7 +138,7 @@ export const ResearchComments = ({ comments, update }: IProps) => {
marginBottom={viewComments ? '20px' : '0'}
>
{(user || (comments && comments.length > 0)) && (
- <ButtonMain
+ <Button
variant="subtle"
sx={{
fontSize: '14px',
@@ -151,7 +151,7 @@ export const ResearchComments = ({ comments, update ... | chore: fix button import | null | onearmy/community-platform | MIT License | TypeScript |
@@ -4,7 +4,6 @@ import { CollectStream, ICollectStreamOptions } from './stream';
import { LIMITS_METHODS } from './limits';
import { API } from '../api';
-import { Chain } from './chain';
export interface ICollectStreamGroup {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
| chore(collect): delete useless import | null | negezor/vk-io | MIT License | TypeScript |
@@ -51,6 +51,7 @@ import org.camunda.bpm.engine.rest.MessageRestService;
import org.camunda.bpm.engine.rest.MetricsRestService;
import org.camunda.bpm.engine.rest.MigrationRestService;
import org.camunda.bpm.engine.rest.ModificationRestService;
+import org.camunda.bpm.engine.rest.PasswordPolicyRestService;
import org.c... | chore(rest): password policy endpoint does not support named engine | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -50,19 +50,19 @@ const Legend = ({ mapLayer, setLayer }) => (
</div>
<div>
<div />
- {'<'}10%
+ {'<'}15%
</div>
<div>
<div />
- 10-20%
+ 15-30%
</div>
<div>
<div />
- 20-30%
+ 30-45%
</div>
<div>
<div />
- {'>'}30%
+ {'>'}45%
</div>
</div>
<div className={legendStyles.label}>
| chore: Change legend scale | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -60,6 +60,7 @@ defmodule Realtime.Adapters.Postgres.EpgsqlImplementation do
name when is_binary(name) ->
# Simple query for replication mode so no prepared statements are supported
escaped_name = String.downcase(String.replace(name, "'", "\\'"))
+
query =
"SELECT COUNT(*) >= 1 FROM pg_replication_slots WHERE slot_na... | chore: filter EpgsqlImplementation | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -325,6 +325,12 @@ public class PactDslJsonBodyTest {
.booleanType("bulbIncluded", false)
.decimalType("voltage", 10.10)
.decimalType("wattage", 10.10);
+ PactDslJsonBody dimensions = new PactDslJsonBody()
+ .decimalType("length", 10.10)
+ .decimalType("width", 10.10)
+ .decimalType("height", 10.10)
+ .decimalType("p... | chore: split out more objects from large test - failing on JDK 10 | null | pact-foundation/pact-jvm | Apache License 2.0 | Java |
@@ -14,7 +14,7 @@ internal protocol BACSDirectDebitRouterProtocol: AnyObject {
}
/// A component that provides a form for BACS Direct Debit payments.
-public final class BACSDirectDebitComponent: PaymentComponent, PresentableComponent, TrackableComponent {
+public final class BACSDirectDebitComponent: PaymentComponent,... | chore: Remove conformance to TrackableComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -58,9 +58,8 @@ public struct EventFilter {
}
}
- public init() { }
-
- public init(fromBlock: Block?, toBlock: Block?,
+ public init(fromBlock: Block? = nil,
+ toBlock: Block? = nil,
addresses: [EthereumAddress]? = nil,
parameterFilters: [[EventFilterable]?]? = nil) {
self.fromBlock = fromBlock
| chore: EventFilter initializers combined; | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -88,6 +88,8 @@ func trimDocs(docs []string) []string {
}
// makeStructures generates go structure definition representations.
+//
+// nolint:gocognit,gocyclo // TODO(ernado): simplify
func (g *Generator) makeStructures() error {
for _, sd := range g.schema.Definitions {
var (
| chore(lint): temporarily ignore {gocognit,gocyclo} makeStructures | null | gotd/td | MIT License | Go |
@@ -24,8 +24,17 @@ import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.SQLException;
import java.text.ParseException;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Date;
+import java.util.HashMap;
+import java.u... | chore(engine): refactor star imports in ProcessEngineConfigurationImpl | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -14,7 +14,7 @@ extern "C" {
* @see Read `log.c` <a href="https://github.com/rxi/log.c#usage">documentation</a>
* @{ */
/**
- * @enum log_Level
+ * @var log_Level
* @struct log_Logger
* @struct log_Callback
* @struct log_Event
| chore(cee-utils): update to latest to document log_Level | null | cee-studio/orca | MIT License | C |
@@ -54,7 +54,7 @@ val scrimage = "4.2.0.94-SNAPSHOT"
dependencies {
// https://ci.dv8tion.net/job/JDA/
- implementation("net.dv8tion:JDA:4.3.0_289") {
+ implementation("net.dv8tion:JDA:4.3.0_291") {
exclude("opus-java")
}
| chore: deps bump jda to fix permissions upsert ect | null | toxicmushroom/melijn | MIT License | Kotlin |
#!/usr/bin/env bash
osascript -e 'launch application "Simulator"'
-xcrun simctl launch --console booted com.bugsnag.iOSTestApp \
+xcrun simctl launch booted com.bugsnag.iOSTestApp \
"EVENT_TYPE=$EVENT_TYPE" \
"EVENT_DELAY=$EVENT_DELAY" \
"BUGSNAG_API_KEY=$BUGSNAG_API_KEY" \
| chore(maze): Disable logging to the console from simulators | null | bugsnag/bugsnag-cocoa | MIT License | Shell |
@@ -2377,4 +2377,41 @@ mod tests {
expect!(body3.len()).to(be_equal_to(json.len()));
expect!(interaction3.request.metadata.get("contentType").unwrap().to_string()).to(be_equal_to("\"application/json\""));
}
+
+ #[test]
+ fn process_json_with_nested_rules() {
+ let mut rules = MatchingRules::default();
+ let mut categor... | chore(FFI): add test with nested matching rules | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -106,7 +106,6 @@ const traverseFields = (args: Arguments): void => {
}
}
- // if (field.type === 'relationship' && field.hasMany && (data[field.name] === '' || data[field.name] === 'none' || data[field.name] === 'null')) {
if (field.type === 'relationship' && field.hasMany && (data[field.name] === '' || data[field.n... | chore: cleans up comments | null | payloadcms/payload | MIT License | TypeScript |
@@ -41,8 +41,8 @@ class MalimeApplication : DaggerApplication() {
private fun startStrictMode() {
StrictMode.setThreadPolicy(
StrictMode.ThreadPolicy.Builder()
- // .detectDiskReads() // This should be restored once some optimisation has been run
- // .detectDiskWrites() // This should be restored once some optimisatio... | chore(strictmode): add disk read/write strictmode | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -45,7 +45,7 @@ const UpdateInfo: React.FC<{
}}
>
{(versions.major || versions.minor || versions.patch) && (
- <Box sx={{ margin: "4px" }}>
+ <Box sx={{ margin: "0px 4px 4px 4px" }}>
{/* This is not semantic */}
{(versions.major || versions.minor) && (
<Text
@@ -91,7 +91,7 @@ const UpdateInfo: React.FC<{
sx={{
fontSi... | chore: update, faffifng about with margins | null | prismicio/slice-machine | Apache License 2.0 | TypeScript |
/*
- * Copyright 2011-2018 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,6 @@ import static org.assertj.core.api.Asser... | chore(cleanup): remove obsolete test | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -40,7 +40,7 @@ public class DailyReport {
String clientId = getClientId(entityService);
// initialize MixPanel instance and message builder
- mixpanel = new MixpanelAPI();
+ mixpanel = new MixpanelAPI("https://track.datahubproject.io/mp/track", "https://track.datahubproject.io/mp/engage");
mixpanelBuilder = new Mess... | chore: update server-side telemetry endpoint | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -360,8 +360,10 @@ impl NodeMan {
addr
);
- // TODO: Should we check if Address is LOCAL?
let addr = Address::from(addr.as_ref());
+ if !addr.is_local() {
+ return Ok(Response::bad_request(req.id()));
+ }
let identity = self
.identity
| chore(rust): check if `Address` is local while create secure channel | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -171,7 +171,7 @@ class JsBundleFactory {
banner: getAbsolutePath('/packages/mdc-banner/index.ts'),
base: getAbsolutePath('/packages/mdc-base/index.ts'),
checkbox: getAbsolutePath('/packages/mdc-checkbox/index.ts'),
- chips: getAbsolutePath('/packages/mdc-chips/deprecated/index.ts'),
+ chips: getAbsolutePath('/packag... | chore: Fix js-bundle-factory for chips | null | material-components/material-components-web | MIT License | JavaScript |
@@ -14,6 +14,8 @@ import (
"github.com/cloudfoundry/cloud-service-broker/internal/brokerpak/platform"
"github.com/onsi/gomega/gexec"
"gopkg.in/yaml.v3"
+
+ cp "github.com/otiai10/copy"
)
func BuildTestInstance(brokerPackDir string, provider TerraformMock, logger io.Writer) (*TestInstance, error) {
@@ -45,7 +47,7 @@ fun... | chore: copy files rather than symlink files in test | null | cloudfoundry-incubator/cloud-service-broker | Apache License 2.0 | Go |
set -e # exit with nonzero exit code if anything fails
-# exit with an error if the build fails
-if [[ ${TRAVIS_TEST_RESULT=0} == 1 ]]; then
- exit 1;
-fi
+echo "hi"
-if [[ $TRAVIS_BRANCH == "master" ]]; then
+if [[ $GITHUB_REF =~ "master" ]]; then
# graduate the relase with --conventional-graduate
lerna version --conv... | chore: fix publish to use github env vars instead of travis vars | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | Shell |
@@ -17,9 +17,9 @@ then
# Signing App
if [ "$CIRCLE_BRANCH" == "$PUBLISH_BRANCH" ]; then
echo "Push to master branch detected, signing the app..."
- cp susi-release.apk susi-release-unaligned.apk
+ \cp susi-release.apk susi-release-unaligned.apk
jarsigner -verbose -tsa http://timestamp.comodoca.com/rfc3161 -sigalg SHA1w... | chore: Force copy and align apks while signing | null | fossasia/susi_android | Apache License 2.0 | Shell |
import XCTest
import CryptoSwift
import BigInt
-import Core
+@testable import Core
@testable import web3swift
class UncategorizedTests: XCTestCase {
@@ -126,5 +126,16 @@ class UncategorizedTests: XCTestCase {
print(allMethods)
}
+ func testBloomFilterPerformance() throws {
+ var uuids = [Data]()
+ for _ in 0..<4000 {
+... | chore: EthereumBloomFilter improvement - added docs, structured code a bit better, some refactoring with at least 10% improvement in calculation of a filter | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -55,7 +55,7 @@ export const HomeHeaderItemPanel = styled.div`
.blockchain__item__top_name {
color: ${props => props.theme.primary};
font-size: 14px;
- font-weight: 450;
+ font-weight: 600;
@media (max-width: 1000px) {
font-size: 12px;
@@ -91,7 +91,7 @@ export const HomeHeaderItemPanel = styled.div`
.blockchain__item... | chore: update home statistic font weight | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -163,20 +163,28 @@ impl Debug for VNode<'_> {
fn fmt(&self, s: &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error> {
match &self {
VNode::Element(el) => s
- .debug_struct("VNode::VElement")
+ .debug_struct("VNode::Element")
.field("name", &el.tag)
.field("key", &el.key)
.field("attrs", &el.attributes)
.f... | chore: add additional debugging to VNode fields | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -63,9 +63,11 @@ class Twig implements RendererInterface
// internationalisation
if (extension_loaded('intl')) {
$this->twig->addExtension(new \Twig_Extensions_Extension_Intl());
+ $builder->getLogger()->debug('Intl extension is loaded');
}
if (extension_loaded('gettext')) {
$this->twig->addExtension(new \Twig_Extens... | chore: add debug messages | null | cecilapp/cecil | MIT License | PHP |
@@ -44,10 +44,7 @@ import org.camunda.bpm.engine.repository.ProcessDefinition;
import org.camunda.bpm.engine.repository.ProcessDefinitionQuery;
import org.camunda.bpm.engine.test.ProcessEngineRule;
import org.camunda.bpm.engine.test.util.ProvidedProcessEngineRule;
-import org.junit.After;
-import org.junit.Before;
-imp... | chore(engine): add failing test case | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -25,8 +25,8 @@ use ruma::{
ToDeviceEvent,
},
serde::Raw,
- DeviceId, EventId, MilliSecondsSinceUnixEpoch, OwnedDeviceId, OwnedUserId, RoomId,
- TransactionId, UserId,
+ uint, DeviceId, EventId, MilliSecondsSinceUnixEpoch, OwnedDeviceId, OwnedUserId, RoomId,
+ TransactionId, UInt, UserId,
};
use tracing::{info, trace... | chore(sdk): Merge local import with file-level imports | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -21,43 +21,26 @@ const preventDefaultedAction = decorateAction([
]);
const mocks = [
- {
- request: {
- query: addTypenameToDocument(authorProfileQuery),
- variables: {
- slug: "fiona-hamilton",
- first: 3,
- skip: 0,
- imageRatio: "3:2"
- }
- },
- result: example
- },
- {
+ { first: 3, skip: 0 },
+ { first: 6, skip... | chore: fix storybook mock limitation | null | newsuk/times-components | BSD 3-Clause New or Revised License | JavaScript |
@@ -57,6 +57,7 @@ mixin CSSOverflowMixin on ElementBase {
/// All the children whose position is sticky to this element
List<Element> stickyChildren = [];
+ // House content which can be scrolled.
RenderLayoutBox scrollingLayoutBox;
void updateRenderOverflow(RenderBoxModel renderBoxModel, Element element, ScrollListene... | chore: add annoation and rename vars | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -16,6 +16,7 @@ pub fn construct() -> App<'static, 'static> {
.arg(
Arg::with_name("message-gas-limit")
.help(UserMessage::ReplicaMessageGasLimit.to_str())
+ .hidden(true)
.long("message-gas-limit")
.takes_value(true),
)
@@ -28,6 +29,7 @@ pub fn construct() -> App<'static, 'static> {
.arg(
Arg::with_name("round-gas-l... | chore: hide gas limit arguments for `dfx replica` | null | dfinity/sdk | Apache License 2.0 | Rust |
@@ -362,14 +362,18 @@ public abstract class NodeUpdater implements FallibleCommand {
static Map<String, String> getDefaultDevDependencies() {
Map<String, String> defaults = new HashMap<>();
- defaults.put("html-webpack-plugin", "4.5.1");
defaults.put("typescript", "4.4.3");
- defaults.put("esbuild-loader", "2.15.1");
-... | chore: Do not install webpack devdeps when using Vite | null | vaadin/flow | Apache License 2.0 | Java |
@@ -59,7 +59,7 @@ import java.util.concurrent.TimeUnit;
* performing various operations.
*/
public final class SynchronousAuth {
- private static final long AUTH_OPERATION_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(5);
+ private static final long AUTH_OPERATION_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(10);
private final Auth... | chore: increase test timeout in SynchronousAuth | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
@@ -63,9 +63,10 @@ Environment variables:
setupFlags(cmd, gw.DefaultOptions(), client.DefaultMTLsOptions())
- if err := bindFlags(cmd); err != nil {
+ if err := viper.BindPFlags(cmd.Flags()); err != nil {
c.QuitToStdErr(err)
}
+
setupDefaults(gw.DefaultOptions(), client.DefaultMTLsOptions())
cmd.AddCommand(man.Generate... | chore(cmd/immugw/command): use general viper.BindPFlags binding instead of a verbose bindFlags solution | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -14,101 +14,101 @@ const (
)
func TestGetString(t *testing.T) {
- var properties Map = Map{Foo: expected}
+ var properties = Map{Foo: expected}
value := properties.GetString(Foo, "err")
assert.Equal(t, expected, value)
}
func TestGetStringNoEntry(t *testing.T) {
- var properties Map = Map{}
+ var properties = Map{}
... | chore(linter): adjust initialization for revive | null | jandedobbeleer/oh-my-posh | MIT License | Go |
@@ -432,13 +432,25 @@ create_or_update_lesson(
lesson_position += 1
create_or_update_lesson(
- title: 'Data Structures and Algorithms',
- title_url: 'Data Structures and Algorithms'.parameterize,
- description: "If you're scratching your head a bit on how to apply algorithmic thinking, here's a couple of exercises that... | chore: Get Ruby Course Ready For Submissions Feature | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -312,7 +312,7 @@ def log(msg):
debug_log.append(as_unicode(msg))
-def msgprint(msg, title=None, raise_exception=0, as_table=False, indicator=None, alert=False, primary_action=None, is_minimizable=None, wide=None):
+def msgprint(msg, title=None, raise_exception=0, as_table=False, as_list=False, indicator=None, alert=... | chore: add as_list parameter to msgprint | null | frappe/frappe | MIT License | Python |
@@ -12,13 +12,6 @@ import Foundation
/// Contains the details provided by the card component.
public struct CardDetails: PaymentMethodDetails, ShopperInformation {
- public var shopperName: ShopperName?
-
- public var emailAddress: String?
-
- public var telephoneNumber: String?
-
- public var socialSecurityNumber: Str... | chore: Remove not needed fields from CardDetails | null | adyen/adyen-ios | MIT License | Swift |
import { compile, CompileOptions } from 'https://deno.land/x/aleph@v0.2.28/tsc/compile.ts'
import { colors, createHash, path, walk } from '../deps.ts'
-import { transform } from './mod.ts'
+import { initWasm } from './mod.ts'
+import { transformSync } from './dist/wasm-pack.js'
function tsc(source: string, opts: any) {... | chore: improve benchmark script | null | alephjs/aleph.js | MIT License | TypeScript |
@@ -30,6 +30,7 @@ import org.camunda.bpm.engine.impl.el.StartProcessVariableScope;
import org.camunda.bpm.engine.impl.form.FormDataImpl;
import org.camunda.bpm.engine.impl.form.FormFieldImpl;
import org.camunda.bpm.engine.impl.form.type.AbstractFormFieldType;
+import org.camunda.bpm.engine.impl.form.validator.FormField... | chore(engine): make exception include the name of the variable if FormFieldHandler.createFormField fails | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -18,7 +18,7 @@ limitations under the License.
import * as React from 'react'
import { FormRenderProps } from 'react-final-form'
-import { FormBuilder, Form } from 'tinacms'
+import { FormBuilder, Form, useCMS } from 'tinacms'
import { Dismissible } from 'react-dismissible'
export interface InlineFormProps {
@@ -44,6... | chore(react-tinacms-inline): add event-based focus remove | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -148,7 +148,7 @@ mixin CSSOverflowMixin on ElementBase {
void _createScrollingLayoutBox(Element element) {
int shadowElementTargetId = 0 - element.targetId;
- if (shadowElementTargetId > 0) {
+ if (element.targetId == BODY_ID || element.targetId == DOCUMENT_ID) {
shadowElementTargetId = shadowElementTargetId - 1024;... | chore: more readable code | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -161,7 +161,8 @@ class LodestoneCharacterController extends AbstractController
$response->Character->ActiveClassJob = null;
}
- Redis::cache()->set($rediskey, $response, 300, true);
+ // 8h cache except if it's asking for Bio
+ Redis::cache()->set($rediskey, $response, 3600 * 8, true);
} else {
$response = (object)$... | chore: aggressive cache for Lodestone to prevent 429 spam | null | xivapi/xivapi.com | MIT License | PHP |
@@ -124,7 +124,7 @@ class TextNode extends Node {
} else {
parentRenderLayoutBox = (_parentElement.renderBoxModel as RenderLayoutBox?)!;
}
- _setTextSizeType(parentRenderLayoutBox!.widthSizeType, parentRenderLayoutBox.heightSizeType);
+ _setTextSizeType(parentRenderLayoutBox.widthSizeType, parentRenderLayoutBox.heightS... | chore: unnecessary_non_null_assertion | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -179,7 +179,7 @@ func (b *cmdPkgBuilder) cmdPkgApply() *cobra.Command {
b.registerPkgFileFlags(cmd)
b.registerPkgPrintOpts(cmd)
cmd.Flags().BoolVarP(&b.quiet, "quiet", "q", false, "Disable output printing")
- cmd.Flags().StringVar(&b.applyOpts.force, "force", "", `TTY input, if package will have destructive changes,... | chore(influx): replace all mentions of packages with templates in the CLI | null | influxdata/influxdb | MIT License | Go |
@@ -12,6 +12,8 @@ https://docs.djangoproject.com/en/1.11/ref/settings/
import os
+from django.core.management import utils
+
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -20,7 +22,7 @@ BASE_DIR = os.path.dirname(os.path... | chore(bench): Generate django secret on-demand | null | falconry/falcon | Apache License 2.0 | Python |
@@ -139,9 +139,7 @@ impl<I: InputFormatPipe> Processor for Aligner<I> {
self.state = Some(I::AligningState::try_create(&self.ctx, &split.info)?);
self.batch_rx = Some(split.rx);
self.received_end_batch_of_split = false;
- tracing::debug!(
- "aligner recv new split {}", &split.info
- );
+ tracing::debug!("aligner recv n... | chore: polish log | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -65,6 +65,7 @@ public final class BLIKComponent: PaymentComponent, PresentableComponent, Locali
formViewController.append(hintLabelItem.addingDefaultMargins())
formViewController.append(FormSpacerItem())
formViewController.append(codeItem)
+ formViewController.append(FormSpacerItem())
formViewController.append(butto... | chore: Add top spacing to pay button in BLIK component | null | adyen/adyen-ios | MIT License | Swift |
@@ -14,12 +14,10 @@ const NO_CONTEXT_STATE = {
},
}
-type ChildProps<OuterProps> = OuterProps & {router: HOCRouter}
-
-export default function withRouterHOC<OuterProps>(
- Component: ComponentType<ChildProps<OuterProps>>
+export default function withRouterHOC<Props>(
+ Component: ComponentType<Props & {router: HOCRoute... | chore(state-router): cleanup wonky typings in withRouter HOC | null | sanity-io/sanity | MIT License | TypeScript |
@@ -2667,6 +2667,43 @@ public class TableReaderTest extends AbstractCairoTest {
});
}
+ @Test
+ public void testLong256WriterReOpen() throws Exception {
+ // we had a bug where size of LONG256 column was incorrectly defined
+ // this caused TableWriter to incorrectly calculate append position in constructor
+ // subseq... | chore(griffin): test long256 size consistency. Fixed | null | questdb/questdb | Apache License 2.0 | Java |
import { swalClasses } from '../../classes.js'
import * as dom from '../../dom/index.js'
+function handleButtonsStyling (confirmButton, cancelButton, params) {
+ dom.addClass([confirmButton, cancelButton], swalClasses.styled)
+
+ // Buttons background colors
+ if (params.confirmButtonColor) {
+ confirmButton.style.back... | chore: Reduced complexity of renderActions() | null | sweetalert2/sweetalert2 | MIT License | JavaScript |
@@ -598,16 +598,16 @@ function string2byteString(str) {
}
/** @typedef {{
- anonymous: boolean
- blobbed: boolean
- cb: function(Object)
- chunked: boolean
- coreId: number
- eventsToNotify: string[]
- id: number
- noNativeCookie: boolean
- responseHeaders: string
- storeId: string
- tabId: number
- xhr: XMLHttpRequest... | chore: fix jsdoc comment | null | violentmonkey/violentmonkey | MIT License | JavaScript |
-import path from 'path';
import dotenv from 'dotenv';
+import { existsSync } from 'fs';
+import { resolve } from 'path';
import prettyFormat from 'pretty-format';
+import yargs from 'yargs';
+
+const envFile = existsSync(resolve(__dirname, '.env.test')) ? '.env.test' : '.env';
dotenv.config({
- path: path.resolve(__di... | chore(jest): custom db dialect option | null | nocobase/nocobase | Apache License 2.0 | TypeScript |
@@ -165,7 +165,9 @@ final class Reflection
$arguments = [];
foreach ($parameters as $parameter) {
- $arguments[$parameter->getName()] = ($parameter->hasType()) ? (string) $parameter->getType() : 'mixed';
+ /** @var ReflectionNamedType|null $type */
+ $type = ($parameter->hasType()) ? $parameter->getType() : null;
+ $ar... | chore: static analysis adjustments - deprecation RE: ReflectionType::__toString | null | pestphp/pest | MIT License | PHP |
@@ -12,8 +12,6 @@ Vue.use(Router)
// /^[a-z]{2,3}|[a-z]{2,3}-[a-zA-Z]{4}|[a-z]{2,3}-[A-Z]{2,3}$/
const languageRegex = /^\/([a-z]{2,3}|[a-z]{2,3}-[a-zA-Z]{4}|[a-z]{2,3}-[A-Z]{2,3})(?:\/.*)?$/
-const release = process.env.RELEASE
-
function getLanguageCookie () {
if (typeof document === 'undefined') return
return new Ma... | chore(router): remove env reference | null | vuetifyjs/vuetify | MIT License | JavaScript |
@@ -206,9 +206,7 @@ export function CortexResources(
const storageBackend = target === "gcp" ? "gcs" : "s3";
// can use `state.tenants.list.tenants` if we'd like to.
- // Note(JP): Is this just the initial state? This is used in a configmap
- // data value below. Will the controller overwrite this configmap again
- // ... | chore: remove questions from code comments that have answers | null | opstrace/opstrace | Apache License 2.0 | TypeScript |
@@ -4,15 +4,26 @@ set -e
yarn global add grunt-cli@1.2.0
-mkdir -p $LOGS_DIR
+mkdir -p "$LOGS_DIR"
-if [ $JOB != "ci-checks" ]; then
+if [ "$JOB" != "ci-checks" ]; then
echo "start_browser_provider"
./scripts/travis/start_browser_provider.sh
fi
-if [ $JOB != "ci-checks" ]; then
+# ci-checks and unit tests do not run ag... | chore(travis): don't build package for the "unit" job | null | angular/angular.js | MIT License | Shell |
@@ -103,6 +103,7 @@ pub struct Trace {
#[serde(rename = "type")]
pub action_type: ActionType,
/// Error
+ #[serde(default, skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
}
| chore: skip none trace error | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -167,4 +167,50 @@ class QiwiWalletComponentTests: XCTestCase {
XCTAssertEqual(sut.requiresModalPresentation, true)
}
+ func testSubmit() {
+ let phoneExtensions = [PhoneExtension(value: "+3", countryCode: "UK")]
+ let method = QiwiWalletPaymentMethod(type: "test_type", name: "test_name", phoneExtensions: phoneExtens... | chore: increased QiwiWalletComponentTests coverage | null | adyen/adyen-ios | MIT License | Swift |
@@ -98,7 +98,7 @@ export class PromptSession {
actionChoices.push("Add component");
}
if (framework.getCustomTemplates().length > 0) {
- actionChoices.push("Add template");
+ actionChoices.push("Add view");
}
const action = await inquirer.prompt({
type: "list",
@@ -164,7 +164,7 @@ export class PromptSession {
}
await t... | chore: change "add template" to "add view" | null | igniteui/igniteui-cli | MIT License | TypeScript |
@@ -29,7 +29,7 @@ export const BackupDatabase = async () => {
]
// Export all collections specified except for user revision history (can be very large, needs rethinking)
const collectionIds = [...activeCollections, ...uniqueSubcollections].filter(
- (id) => id === 'revisions',
+ (id) => id !== 'revisions',
)
const pro... | chore: fix export collection ids | null | onearmy/community-platform | MIT License | TypeScript |
@@ -32,7 +32,11 @@ var procData = {
maxQps: 0,
maxAllQps: 0,
maxRss: memUsage.rss,
- maxCpu: 0
+ maxCpu: 0,
+ maxQpsTime: now,
+ maxAllQpsTime: now,
+ maxRssTime: now,
+ maxCpuTime: now
};
var startTime = typeof process.hrtime === 'function' && process.hrtime();
var startUsage = typeof process.cpuUsage === 'function' &... | chore: add timestamp | null | avwo/whistle | MIT License | JavaScript |
@@ -227,6 +227,10 @@ async fn run_compactor(compactor: Arc<Compactor>, shutdown: CancellationToken) {
}
let compactions_run = handles.len();
+ debug!(
+ ?compactions_run,
+ "Number of concurrent partitions are being compacted in this cycle"
+ );
let _ = futures::future::join_all(handles).await;
| chore: add debug info to see how many concurrent partitions being compacted in each cycle | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -83,8 +83,9 @@ public class ExternalTaskClientBuilderImpl implements ExternalTaskClientBuilder
this.maxTasks = 10;
this.asyncResponseTimeout = null;
this.lockDuration = 20_000;
- this.isAutoFetchingEnabled = true;
this.interceptors = new ArrayList<>();
+ this.isAutoFetchingEnabled = true;
+ this.backoffStrategy = nu... | chore(client): tiny code clean-up | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -17,7 +17,7 @@ import (
type contextKey int
const (
- defaultMaxAttempts = 20
+ defaultMaxAttempts = 24
defaultInterval = 5 * time.Second
TestIdentifierKey contextKey = iota
)
| chore(validation): increase polling validation timeout by 20 seconds | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -170,12 +170,7 @@ async function buildProjectGraphUsingContext(
}
function jsPluginConfig(nxJson: any) {
- if (
- nxJson &&
- nxJson &&
- nxJson?.pluginsConfig &&
- nxJson?.pluginsConfig['@nrwl/js']
- ) {
+ if (nxJson?.pluginsConfig?.['@nrwl/js']) {
return nxJson?.pluginsConfig['@nrwl/js'];
} else {
return {};
| chore(core): use optional chaining for reading js plugin config | null | nrwl/nx | MIT License | TypeScript |
@@ -348,9 +348,6 @@ pub extern fn pactffi_cleanup_mock_server(mock_server_port: i32) -> bool {
/// Returns 0 if the pact file was successfully written. Returns a positive code if the file can
/// not be written, or there is no mock server running on that port or the function panics.
///
-/// **NOTE:** This function doe... | chore: remove note from pactffi_write_pact_file | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -9,7 +9,6 @@ NODE_ARTIFACTS_PATH="${NODE_BINDINGS_PATH}/node-artifacts"
NPM_CACHE_DIR="${NODE_ARTIFACTS_PATH}/npm"
NPM_TMP_DIR="${NODE_ARTIFACTS_PATH}/tmp"
BIN_DIR="$(pwd)/bin"
-MONGOCRYPTD_PATH="https://s3.amazonaws.com/mciuploads/mongodb-mongo-v4.2/enterprise-ubuntu1604-64/f92115cad9d2a4c2ddcf3c2c65092dda2fd7147a/... | chore: don't install mongocryptd for CI test runs | null | mongodb/libmongocrypt | Apache License 2.0 | Shell |
@@ -263,7 +263,7 @@ class CanvasRenderingContext2D extends BindingObject {
getBindingProperty(String key) {
switch (key) {
case 'fillStyle': return CSSColor.convertToHex(fillStyle);
- case 'direction': return direction.toString();
+ case 'direction': return _textDirectionInString;
case 'font': return font;
case 'stroke... | chore: direction in string | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -49,7 +49,7 @@ public class ApiException extends Exception {
} else if ("NOT_FOUND".equals(status)) {
return new NotFoundException(errorMessage);
} else if ("OVER_QUERY_LIMIT".equals(status)) {
- if ("You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify you... | chore: Update ApiException.java with link(#711) | null | googlemaps/google-maps-services-java | Apache License 2.0 | Java |
@@ -91,7 +91,7 @@ func (u *Uploader) uploadSmall(ctx context.Context, upload *Upload) (tg.InputFil
ID: upload.id,
Parts: int(upload.sentParts.Load()),
Name: upload.name,
- Md5Checksum: hex.EncodeToString(h.Sum(nil)),
+ MD5Checksum: hex.EncodeToString(h.Sum(nil)),
}, nil
}
| chore(uploader): fix conflict | null | gotd/td | MIT License | Go |
@@ -8,6 +8,8 @@ interface DatePickerProps {
maxDate?: any;
onChange?: (x: any) => void;
onValueChange?: (vals: any, index: number) => void;
+ visible?: boolean;
+ onDismiss?: () => void;
locale?: any;
minuteStep?: number;
disabled?: boolean;
| chore(DatePicker): add missing ts props | null | ant-design/ant-design-mobile | MIT License | TypeScript |
@@ -63,6 +63,7 @@ setuptools.setup(
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
| chore: update Trove to include py3.8 | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
@@ -2,6 +2,6 @@ module React
module Rails
# If you change this, make sure to update VERSIONS.md
# and republish the UJS by updating package.json and `bundle exec rake ujs:publish`
- VERSION = '2.4.3'
+ VERSION = '2.4.4.pre'
end
end
| chore(version): touch for prerelease of gem | null | reactjs/react-rails | Apache License 2.0 | Ruby |
@@ -7,7 +7,7 @@ import { Accordion } from '.';
describe('AccordionItem', () => {
test('that it conditionally loads', () => {
- const { getByTestId } = render(
+ const { container, getByTestId } = render(
<Accordion>
<AccordionItem id="a" title="Title one">
<p>This content</p>
@@ -15,7 +15,10 @@ describe('AccordionItem'... | chore(accordionitem): add test to be sure only header toggles | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -6,4 +6,4 @@ if [ "$#" -ne 1 ]; then
fi
TEST_PATH=$1
-find $TEST_PATH -type f \( -iname "*_tests.js" ! -iname "*atlas*" ! -path "*node-next*" \) -exec npx mocha {} \;
+find $TEST_PATH -type f \( -iname "*.test.js" ! -iname "*atlas*" ! -path "*node-next*" \) -exec npx mocha {} \;
| chore: use correct test suffix for `run_each_test` | null | mongodb/node-mongodb-native | Apache License 2.0 | Shell |
@@ -45,7 +45,6 @@ public class DeserializableVariableTest extends AbstractFoxPlatformIntegrationTe
TestContainer.addContainerSpecificResources(webArchive);
return webArchive;
-
}
@Test
@@ -62,18 +61,13 @@ public class DeserializableVariableTest extends AbstractFoxPlatformIntegrationTe
.execute();
// then
+
// Since the... | chore(qa): simplify integration test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -3,6 +3,7 @@ pub mod ockam_commands {
use ockam_message::message::*;
use std::thread;
+ #[derive(Debug)]
pub enum OckamCommand {
Transport(TransportCommand),
Router(RouterCommand),
@@ -12,6 +13,7 @@ pub mod ockam_commands {
// Transport commands - these can
// be sent to the transport_tx
+ #[derive(Debug)]
pub enum ... | chore(rust): derive debug on ockam commands and variant types | null | ockam-network/ockam | Apache License 2.0 | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.