diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -93,7 +93,6 @@ export const generateExamplesFromJsonSchema = (schema: JSONSchema7): Example[] =
]
: [{ label: 'default', data: '' }];
} catch (e) {
- console.error(e);
return [{ label: '', data: `Example cannot be created for this schema\n${e}` }];
}
};
| chore(core): do not log example generation failures | null | stoplightio/elements | Apache License 2.0 | TypeScript |
@@ -40,12 +40,10 @@ const ItemContainer = styled.li`
`;
const Title = styled.h1`
- margin: 0;
color: rgba(12, 17, 43);
`;
-const Excerpt = styled.p`
- margin: 0;
+const Excerpt = styled.div`
line-height: 1.6em;
color: rgba(12, 17, 43, 0.8);
`;
| chore(mars-theme): fix dangerouslySetInnerHTML error | null | frontity/frontity | Apache License 2.0 | JavaScript |
@@ -159,13 +159,20 @@ impl HiveCatalog {
table_name: String,
) -> Result<Arc<dyn Table>> {
let mut client = client;
- // let table_meta = client .get_table(db_name.clone(), table_name.clone()) .map_err(from_thrift_error)?;
let table = client.get_table(db_name.clone(), table_name.clone());
let table_meta = match table {... | chore(hive): improve log if table not exist | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -4,6 +4,7 @@ import org.json.JSONArray;
import org.json.JSONException;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.List;
@@ -12,6 +13,10 @@ public class JSArray extends JSONArray {
super();
}
+ public JSArray(Collection copyFrom) {
+ super(copyFrom);
+ }
+
public JSArray(Object array) ... | chore(android): Add JSArray constructor to handle Collection types | null | ionic-team/capacitor | MIT License | Java |
@@ -103,7 +103,11 @@ public class Future<T> {
return Future.from(promise);
}
- static <R> Future<R> from(CompletionStage<R> other) {
+ /**
+ * Create a {@link Future} from an existing {@link CompletionStage}. Useful for interop with other
+ * libraries.
+ */
+ public static <R> Future<R> from(CompletionStage<R> other) ... | chore: expose the Future method to create from an existing CompletionStage | null | vertaai/modeldb | Apache License 2.0 | Java |
@@ -27,7 +27,6 @@ import (
"math"
"os"
"path/filepath"
- "sort"
"strconv"
"strings"
"sync"
@@ -1562,7 +1561,8 @@ func (t *TBtree) BulkInsert(kvs []*KV) error {
return ErrIllegalArguments
}
- sortedKVs := make([]*KV, len(kvs))
+ // validated immutable copy of input kv pairs
+ immutableKVs := make([]*KV, len(kvs))
for i,... | chore(embedded/tbtree): remove unnecessary kv sorting | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -264,72 +264,75 @@ extension ABI.Element.Function {
return Core.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
}
- public func decodeReturnData(_ data: Data) -> [String: Any]? {
- // the response size greater than equal 100 bytes, when read function aborted by "require" statement.
- // if "... | chore: decodeReturnData refactoring + documentation for it | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -7,6 +7,10 @@ export default class CookieScheme extends LocalScheme {
}
check () {
+ if (!super.check()) {
+ return false
+ }
+
const cookies = this.$auth.$storage.getCookies()
return Boolean(cookies[this.options.cookie.name])
}
| chore(cookie): check parent | null | nuxt-community/auth-module | MIT License | JavaScript |
@@ -90,7 +90,7 @@ abstract class OAuth
/**
* @param $scope
*
- * @return array
+ * @return $this
*/
protected function addScope(string $scope):OAuth{
// Add a scope to the scopes array if it isn't already present
| chore: corrected function doc | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -32,8 +32,6 @@ import {
makePromise,
ProtectedString,
protectStringArray,
- literal,
- assertNever,
} from '../../lib/lib'
import { ShowStyleBases, ShowStyleBase, ShowStyleBaseId } from '../../lib/collections/ShowStyleBases'
import { PeripheralDevices, PeripheralDevice, PeripheralDeviceId } from '../../lib/collectio... | chore: revert previous changes: don't restore data that doesn't belong to the rundown | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -13,6 +13,7 @@ import attr
from dbnd._core.current import in_tracking_run, is_orchestration_run
from dbnd._core.errors.base import DatabandWebserverNotReachableError
from dbnd._core.errors.errors_utils import log_exception
+from dbnd._core.log.external_exception_logging import log_exception_to_server
from dbnd._core... | chore: increase min timeout for async-tracking flushing to 5m | null | databand-ai/dbnd | Apache License 2.0 | Python |
@@ -43,32 +43,6 @@ fi
yarn install
-####################
-# daemon and cli #
-####################
-echo -e "\033[0;32mGrabbing Daemon and CLI\x1b[m"
-if $OSX; then
- OSNAME="macos"
-else
- OSNAME="linux"
-fi
-DAEMON_VER=$(node -e "console.log(require(\"$ROOT/package.json\").lbrySettings.lbrynetDaemonVersion)")
-DAEMON... | chore: remove daemon download from build.sh | null | lbryio/lbry-desktop | MIT License | Shell |
@@ -55,7 +55,9 @@ defmodule Extensions.Postgres do
max_record_bytes: poll_max_record_bytes
]
- Logger.info("Starting Extensions.Postgres, #{inspect(opts, pretty: true)}")
+ Logger.info(
+ "Starting Extensions.Postgres, #{inspect(Keyword.drop(opts, [:db_pass]), pretty: true)}"
+ )
{:ok, pid} =
DynamicSupervisor.start_ch... | chore: remove tenant db password from logs | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -38,111 +38,111 @@ const DefaultCompressionLevel = appendable.DefaultCompressionLevel
const MaxFileSize = 1 << 50 // 1 Pb
type Options struct {
- readOnly bool
- synced bool
- fileMode os.FileMode
+ ReadOnly bool
+ Synced bool
+ FileMode os.FileMode
- maxConcurrency int
- maxIOConcurrency int
- maxLinearProofLen int... | chore(embedded): expose store opts | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -38,6 +38,9 @@ internal enum PaymentMethodType: String {
case blik
case giftcard
case googlePay = "paywithgoogle"
+ case afterpay = "afterpay_default"
+ case androidPay = "androidpay"
+ case amazonPay = "amazonpay"
}
@@ -68,6 +71,9 @@ internal enum AnyPaymentMethodDecoder {
.weChatQR: UnsupportedPaymentMethodDecoder... | chore: Added payment methods to the blocked list that probably will never be implemented natively | null | adyen/adyen-ios | MIT License | Swift |
@@ -14,10 +14,10 @@ type Server struct {
jobs map[string]*asynq.Task
}
-func NewServer() *Server {
+func NewServer(redisOpt asynq.RedisClientOpt) *Server {
srv := &Server{
sche: asynq.NewScheduler(
- asynq.RedisClientOpt{Addr: "127.0.0.1:6379"},
+ redisOpt,
&asynq.SchedulerOpts{Location: time.Local},
),
}
| chore: add params | null | go-eagle/eagle | MIT License | Go |
@@ -281,8 +281,6 @@ impl VirtualDom {
pub fn mark_dirty(&mut self, id: ScopeId) {
let height = self.scopes[id.0].height;
- println!("marking scope {} dirty with height {}", id.0, height);
-
self.dirty_scopes.insert(DirtyScope { height, id });
}
| chore: dont print logs in core | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -100,6 +100,7 @@ static void ffmpeg_log_back(void *ptr, int level, const char *fmt, va_list vl)
static void ffmpeg_init_once()
{
+ AF_LOGI("Ffmpeg version %s", av_version_info());
av_lockmgr_register(lockmgr);
av_log_set_level(AV_LOG_INFO);
av_log_set_callback(ffmpeg_log_back);
| chore(ffmpeg): print ffmpeg version | null | alibaba/cicadaplayer | MIT License | C |
@@ -541,18 +541,6 @@ describe('scheduler', () => {
expect(count).toBe(5)
})
- test('should prevent duplicate queue', async () => {
- let count = 0
- const job = () => {
- count++
- }
- job.cb = true
- queueJob(job)
- queueJob(job)
- await nextTick()
- expect(count).toBe(1)
- })
-
// #1947 flushPostFlushCbs should handl... | chore(runtime-code): delete outdated test case | null | vuejs/vue-next | MIT License | TypeScript |
@@ -68,7 +68,7 @@ dependencies {
implementation("com.sedmelluq:jda-nas:1.1.0")
// https://bintray.com/sedmelluq/com.sedmelluq/lavaplayer
- implementation("com.github.ToxicMushroom:lavaplayer-test:a2cd883a06")
+ implementation("com.sedmelluq:lavaplayer:1.3.67")
// implementation("com.github.Melijn:lavaplayer:18000a1479"... | chore(deps): switch to stable lavaplayer, bump ktor | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -142,6 +142,7 @@ impl ServerManager {
mod tests {
use super::*;
use std::net::TcpStream;
+ use std::{thread, time};
#[test]
fn manager_should_start_and_shutdown_mock_server() {
@@ -165,6 +166,9 @@ mod tests {
// The tokio runtime is now out of tasks
drop(manager);
+ let ten_millis = time::Duration::from_millis(10);
... | chore: add a wait for test on Appveyor | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -547,8 +547,8 @@ pub(crate) fn required_relation_cannot_use_set_null(relation: InlineRelationWalk
if let Some(ReferentialAction::SetNull) = forward.explicit_on_delete() {
ctx.push_error(DatamodelError::new_attribute_validation_error(
- indoc! {"The `onDelete` referential action of a relation must not be set to `SetN... | chore: improve indoc! indentation in psl-core | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -64,3 +64,26 @@ describe('noPrependStageInUrl tests', () => {
expect(json.statusCode).toEqual(404)
})
})
+
+describe('prefix options', () => {
+ // init
+ beforeAll(() =>
+ setup({
+ servicePath: resolve(__dirname),
+ args: ['--prefix', 'someprefix'],
+ }),
+ )
+
+ // cleanup
+ afterAll(() => teardown())
+
+ describ... | chore(tests): Add integration test for prefix option | null | dherault/serverless-offline | MIT License | JavaScript |
@@ -57,7 +57,8 @@ if [[ -z "${MODULE_LIST}" ]]; then
else
modules=($(echo "${MODULE_LIST}" | tr ',' ' '))
fi
-excluded_modules=('gapic-libraries-bom' 'google-cloud-jar-parent' 'google-cloud-pom-parent')
+# TODO: Maps docs exclusion logic to be removed once we move to correct location on devsite. See b/262712184 and b/2... | chore: Remove publishing of maps modules | null | googleapis/google-cloud-java | Apache License 2.0 | Shell |
@@ -219,8 +219,7 @@ defmodule Ash.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
- # {:spark, "~> 0.1 and >= 0.1.9"},
- {:spark, path: "../spark"},
+ {:spark, "~> 0.1 and >= 0.1.9"},
{:ecto, "~> 3.7"},
{:ets, "~> 0.8.0"},
{:decimal, "~> 2.0"},
| chore: remove local dep | null | ash-project/ash | MIT License | Elixir |
@@ -33,8 +33,8 @@ extension Session: PartialPaymentDelegate {
private func handle(response: BalanceCheckResponse, completion: @escaping (Result<Balance, Error>) -> Void) {
guard let availableAmount = response.balance else {
let error = BalanceChecker.Error.zeroBalance
- finish(with: error)
completion(.failure(error))
+... | chore: call finish after completion block | null | adyen/adyen-ios | MIT License | Swift |
@@ -29,30 +29,30 @@ import software.amazon.smithy.codegen.core.SymbolDependencyContainer;
*/
public enum AwsDependency implements SymbolDependencyContainer {
- MIDDLEWARE_SIGNING(NORMAL_DEPENDENCY, "@aws-sdk/middleware-signing", "^1.0.0-alpha.1"),
- CREDENTIAL_PROVIDER_NODE(NORMAL_DEPENDENCY, "@aws-sdk/credential-provi... | chore: update aws codegen dependencies to beta | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
+package au.com.dius.pact.consumer.junit5
+
+import au.com.dius.pact.consumer.dsl.LambdaDsl.newJsonBody
+import au.com.dius.pact.consumer.dsl.PactBuilder
+import au.com.dius.pact.core.model.PactSpecVersion
+import au.com.dius.pact.core.model.V4Pact
+import au.com.dius.pact.core.model.annotations.Pact
+import org.hamcre... | chore: add Kotlin Junit5 message test | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/no-empty-function */
import { $TSAny } from 'amplify-cli-core';
-import { printer } from 'amplify-prompts';
+import { printer, prompter } from 'amplify-prompts';
import { deleteProject, getConfirmation } from '../../../extensio... | chore: fix delete project unit test for predictions prompter migration | null | aws-amplify/amplify-cli | Apache License 2.0 | TypeScript |
@@ -12,6 +12,7 @@ use maplit::*;
use super::PactSpecification;
use rand::prelude::*;
use rand::distributions::Alphanumeric;
+use rand::seq::SliceRandom;
use uuid::Uuid;
use crate::models::OptionalBody;
use crate::models::json_utils::{JsonToNum, json_to_string};
@@ -26,6 +27,7 @@ use regex_syntax;
use crate::models::con... | chore: handle edge cases in random_decimal_generator | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -18,7 +18,7 @@ set -u
cd /build
-wget https://shellcheck.storage.googleapis.com/shellcheck-v0.6.0.linux.x86_64.tar.xz
+wget https://github.com/koalaman/shellcheck/releases/download/v0.6.0/shellcheck-v0.6.0.linux.x86_64.tar.xz
tar -xf shellcheck-v0.6.0.linux.x86_64.tar.xz
install -o 0 -g 0 -m 0755 shellcheck-v0.6.0/s... | chore: Update install_shellcheck.sh | null | googlecloudplatform/cloud-foundation-toolkit | Apache License 2.0 | Shell |
@@ -109,9 +109,25 @@ class LodestoneCharacterController extends AbstractController
// -------------------------------------------
$rediskey = "lodestone_json_response_v6_" . $lodestoneId;
- $response = Redis::Cache()->get($rediskey, true);
+ $cachedCharacter = Redis::Cache()->get($rediskey, true);
- if (!$response || i... | chore: first try at fixing MIMO | null | xivapi/xivapi.com | MIT License | PHP |
@@ -49,6 +49,7 @@ export interface InlineBlocksProps {
export interface BlocksContainerProps {
innerRef: React.Ref<any>
className?: string
+ children?: React.ReactNode
}
const DefaultContainer = (props: BlocksContainerProps) => {
| chore(react-tinacms-inline): adds children to block container props | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -77,10 +77,6 @@ func (runner *TfJobRunner) StageJob(jobId string, workspace *wrapper.TerraformWo
if err != nil {
return err
}
- default:
- if err := runner.store.StoreTerraformDeployment(deployment); err != nil {
- return err
- }
}
workspaceString, err := workspace.Serialize()
@@ -90,7 +86,8 @@ func (runner *TfJobRu... | chore: remove unnecessary call to operationFinished | null | cloudfoundry-incubator/cloud-service-broker | Apache License 2.0 | Go |
@@ -27,7 +27,7 @@ const ComponentChartFolder = "component-chart"
// DevSpaceChartConfig is the config that holds the devspace chart information
var DevSpaceChartConfig = &latest.ChartConfig{
Name: "component-chart",
- Version: "0.8.1",
+ Version: "0.8.2",
RepoURL: "https://charts.devspace.sh",
}
| chore: update component chart | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -3,7 +3,7 @@ import sys
errors_encounter = 0
pattern = re.compile(r"_\(([\"']{,3})(?P<message>((?!\1).)*)\1(\s*,\s*context\s*=\s*([\"'])(?P<py_context>((?!\5).)*)\5)*(\s*,\s*(.)*?\s*(,\s*([\"'])(?P<js_context>((?!\11).)*)\11)*)*\)")
-start_pattern = re.compile(r"_{1,2}\([\"'`]{1,3}")
+start_pattern = re.compile(r"_{... | chore: Check existence of words in translation linter | null | frappe/frappe | MIT License | Python |
@@ -81,7 +81,7 @@ pub(super) fn scalar_field<'ast>(
.get(&(model_id, *field_id))
.and_then(|sf| sf.mapped_name)
{
- Some(name) if name != mapped_name => return,
+ Some(name) if name != mapped_name => {}
_ => ctx.push_error(DatamodelError::new_duplicate_field_error(
&ast_model.name.name,
&ast_field.name.name,
| chore: clippy fixes for | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -458,8 +458,8 @@ namespace Cicada {
/*
there are some bugs when reuse on iOS 14.x,eg h264 main profile to high profile
*/
-#if TARGET_OS_IPHONE
bool canReuse = true;
+#if TARGET_OS_IPHONE
if (Cicada::GetIosVersion() >= 14.0 && Cicada::GetIosVersion() < 15.0) {
if (meta->codec == AF_CODEC_ID_H264) {
canReuse = false;... | chore(videotoolbox): fix build eror on macOS | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -62,8 +62,7 @@ class RimeCorrectorTest : public ::testing::Test {
corrector_.reset(new rime::NearSearchCorrector);
}
- virtual void TearDown() {
- }
+ void TearDown() override {}
protected:
rime::map<rime::string, rime::SyllableId> syllable_id_;
| chore(corrector_test): fix a warning | null | rime/librime | BSD 3-Clause New or Revised License | C++ |
@@ -30,9 +30,9 @@ class AVFoundationNowPlayingServiceTests: QuickSpec {
nowPlayingService?.setItems(to: playerItem, with: options)
- let items = nowPlayingService?.nowPlayingBuilder?.build().flatMap{ $0.identifier } ?? []
+ let items = nowPlayingService?.nowPlayingBuilder?.build().compactMap{ $0.identifier } ?? []
let ... | chore: changing flatMap to compactMap | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -10,7 +10,7 @@ export const ModalHeader: React.FC<{
{hasLogo && <ArtsyLogoBlackIcon mb={1} />}
{title && (
- <Text variant="lg-display" my={2}>
+ <Text variant="lg-display" my={2} textAlign="center">
{title}
</Text>
)}
| chore: change navbar copy | null | artsy/force | MIT License | TypeScript |
package eu.cloudnetservice.cloudnet.node.service.defaults;
import com.google.common.base.Preconditions;
+import com.google.common.net.InetAddresses;
import eu.cloudnetservice.cloudnet.common.StringUtil;
import eu.cloudnetservice.cloudnet.common.document.gson.JsonDocument;
import eu.cloudnetservice.cloudnet.common.io.Fi... | chore: rewrite 0.0.0.0 listener hosts to 127.0.0.1 | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -179,7 +179,7 @@ func (i *RecipeInstaller) installRecipesWithPrompts(m *types.DiscoveryManifest,
}
if !ok {
- log.Infof("Skipping %s.", r.Name)
+ log.Debugf("skipping %s.", r.Name)
i.reportRecipeSkipped(execution.RecipeStatusEvent{
Recipe: r,
EntityGUID: entityGUID,
| chore(install): move skip message to debug | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -20,6 +20,7 @@ setup_github() {
git config --global user.name "cultureamp-ci"
git config --global user.password "$GH_TOKEN"
git config --global commit.gpgsign false
+ git config --global --add safe.directory /workspace
eval "$(ssh-agent -s)"
echo "$GH_SSH_KEY" | ssh-add -
| chore: Fix for lerna build issue | null | cultureamp/kaizen-design-system | MIT License | Shell |
int main(int argc, char **argv) {
using Replxx = replxx::Replxx;
+ using namespace std::placeholders;
+
+ std::cout << "Starting Replxx\n";
Replxx rx;
+ rx.install_window_change_handler();
+
+ // set the max number of hint rows to show
+ rx.set_max_hint_rows(3);
+ rx.bind_key(Replxx::KEY::UP, std::bind(&Replxx::invoke,... | chore: add more replxx usage to test_package | null | conan-io/conan-center-index | MIT License | C++ |
@@ -113,6 +113,7 @@ module.exports = {
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"@typescript-eslint/no-empty-function": "off",
+ "@typescript-eslint/consistent-type-imports": "error",
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
"babel/... | chore: set consistent-type-imports as error in eslint | null | kiwicom/orbit | MIT License | JavaScript |
@@ -99,7 +99,7 @@ const Footer = () => {
<Wrapper id="footer">
<LeftContainer>
<Text color="draculaForeground">
- Copyright © 2014-{new Date().getFullYear()} QuestDB
+ Copyright © {new Date().getFullYear()} QuestDB
</Text>
</LeftContainer>
<RightContainer>
| chore(ui): minor edit to UI footer | null | questdb/questdb | Apache License 2.0 | TypeScript |
@@ -163,6 +163,7 @@ type db struct {
txPool store.TxPool
followerStates map[uuid]*followerState
+ exportTxMutex sync.Mutex
}
// OpenDB Opens an existing Database from disk
@@ -1292,8 +1293,8 @@ func (d *db) mayUpdateFollowerState(committedTxID uint64, newFollowerState *sche
}
func (d *db) ExportTxByID(req *schema.Expor... | chore(pkg/database): sync exportTx | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -103,7 +103,7 @@ func (cl *commandline) database(cmd *cobra.Command) {
}
cc.Flags().Bool("exclude-commit-time", false,
"do not include server-side timestamps in commit checksums, useful when reproducibility is a desired feature")
- cc.Flags().BoolP("replication-enabled", "r", false, "set database as a replica")
+ cc... | chore(cmd/immuadmin): remove replication flag shortcut | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -368,8 +368,7 @@ public abstract class NodeUpdater implements FallibleCommand {
defaults.put("tsconfig-paths-webpack-plugin", "3.5.1");
defaults.put("webpack", "4.46.0");
- defaults.put("webpack-cli", "4.8.0");
- defaults.put("@webpack-cli/serve", "1.5.2");
+ defaults.put("webpack-cli", "4.9.0");
defaults.put("webpa... | chore: Update webpack-cli to next minor | null | vaadin/flow | Apache License 2.0 | Java |
@@ -10,7 +10,7 @@ LAST_RELEASE=$(git describe --tags $(git rev-list --tags --max-count=1))
echo "## Highlights"
echo
-echo "TODO: \`git diff ${LAST_RELEASE}:docs/api.md docs/api.md\`"
+echo "TODO: asked teammates for the highlights"
echo
echo "## Browser Versions"
echo
@@ -18,7 +18,7 @@ node ./print_versions.js
echo
ec... | chore: udpate scripts that generates release draft | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -409,7 +409,11 @@ func OpenWith(path string, vLogs []appendable.Appendable, txLog, cLog appendable
}
if err != nil {
txPool.Release(tx)
- return nil, fmt.Errorf("corrupted transaction log: could not read pre-committed transaction: %w", err)
+ return nil, fmt.Errorf("%w: while reading pre-committed transaction: %v", ... | chore(embedded/store): add integrity checks when reading precommitted txs | null | codenotary/immudb | Apache License 2.0 | Go |
+defmodule Logflare.SavedSearchesTest do
+ use Logflare.DataCase
+ alias Logflare.{SavedSearches, SavedSearch}
+
+ setup do
+ user = insert(:user)
+ source = insert(:source, user_id: user.id)
+ [source: source]
+ end
+
+ @valid_attrs %{lql_rules: [], querystring: "testing", saved_by_user: false, tailing: false}
+ test ... | chore: add partial unit testing for saved searches | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -17,8 +17,8 @@ type queueMetrics struct {
func newQueueMetrics(reg prometheus.Registerer, targetName, targetAddress string) *queueMetrics {
labels := prometheus.Labels{
- "targetName": targetName,
- "targetAddress": targetAddress,
+ "target_name": targetName,
+ "target_address": targetAddress,
}
q := &queueMetrics{r... | chore(remotewrite): use snake case for target_{name,address} | null | pyroscope-io/pyroscope | Apache License 2.0 | Go |
@@ -44,16 +44,18 @@ Slight differences between this and multi-ble.pl:
"""
import sys
import argparse
-from typing import List, Tuple, Union, Iterable, TextIO, Counter as CounterType
from operator import or_
from itertools import chain
from functools import reduce
from collections import Counter
+from typing import List... | chore: namedtuple in bleu | null | dpressel/mead-baseline | Apache License 2.0 | Python |
@@ -320,7 +320,7 @@ class ApiRequest
$tempban = Redis::cache()->get('temp_ban_' . ApiRequest::$idStatic);
if ($count > 200 && !$tempban) {
- Discord::mog()->sendMessage(null, "[1hr TempBan = 100+/sec/requests] `" . ApiRequest::$idStatic . "` -- `" . ($this->apikey ?: "--nokey--") . "`");
+ //Discord::mog()->sendMessage... | chore: diabling mog for now | null | xivapi/xivapi.com | MIT License | PHP |
@@ -12,7 +12,7 @@ public static class VRTK_Defines
/// <summary>
/// The current version of VRTK.
/// </summary>
- public static readonly Version CurrentVersion = new Version(3, 2, 1);
+ public static readonly Version CurrentVersion = new Version(3, 3, 0);
/// <summary>
/// The previously known versions of VRTK.
@@ -20... | chore(Defines): update to latest version number | null | extendrealityltd/vrtk | MIT License | C# |
@@ -8,10 +8,10 @@ class AwsSamCli < Formula
sha256 "b548512042eaca05eb46018a0f0f437c78219f66110918b9ffd1396009b5553f"
head "https://github.com/awslabs/aws-sam-cli.git", :branch => "develop"
bottle do
- root_url "https://github.com/awslabs/aws-sam-cli/releases/download/v0.35.0/"
+ root_url "https://github.com/awslabs/aw... | chore: update bottle for v0.36.0 | null | aws/homebrew-tap | Apache License 2.0 | Ruby |
this.input = this.masker.apply(value).value
this.model = this.config.emitFormatted
? this.masker.value
- : this.masker.original
+ : this.masker.getOriginal()
}
}"
x-init="function() {
| chore: change api use | null | wireui/wireui | MIT License | PHP |
@@ -215,6 +215,7 @@ class ReactExoplayerView extends FrameLayout implements
public void handleMessage(Message msg) {
switch (msg.what) {
case SHOW_PROGRESS:
+ if (player != null) {
long pos = player.getCurrentPosition();
long bufferedDuration = player.getBufferedPercentage() * player.getDuration() / 100;
long duration ... | chore(exoplayer): ensure no NPE happen | null | react-native-video/react-native-video | MIT License | Java |
@@ -279,7 +279,6 @@ JSValueRef JSNode::insertBefore(JSContextRef ctx, JSObjectRef function, JSObject
referenceNodeObjectRef = JSValueToObject(ctx, referenceNodeValueRef, exception);
referenceInstance = static_cast<NodeInstance *>(JSObjectGetPrivate(referenceNodeObjectRef));
} else if (!JSValueIsNull(ctx, referenceNodeV... | chore: remove assert | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -51,7 +51,7 @@ impl ExecutorTasksQueue {
/// # Safety
///
/// Method is thread unsafe and require thread safe call
- pub unsafe fn steal_task_to_context(&self, context: &mut ExecutorWorkerContext) {
+ pub fn steal_task_to_context(&self, context: &mut ExecutorWorkerContext) {
{
let mut workers_tasks = self.workers_ta... | chore: delete useless unsafe | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -4,11 +4,12 @@ import { RELAYER_PROVIDER_EVENTS } from "../../src";
export async function disconnectSocket(relayer: IRelayer, testName = "") {
if (relayer.connected) {
+ onsole.log("disconnect before", relayer.connected);
relayer.provider.events.emit(RELAYER_PROVIDER_EVENTS.disconnect);
await relayer.provider.discon... | chore: adds disconnect before/after | null | walletconnect/walletconnect-monorepo | Apache License 2.0 | TypeScript |
@@ -23,9 +23,9 @@ _EOF_
read_into_variable INSTALL_CPP_CMAKEFILES_FROM_SOURCE <<'_EOF_'
WORKDIR /var/tmp/build
-RUN wget -q https://github.com/googleapis/cpp-cmakefiles/archive/v0.1.5.tar.gz && \
- tar -xf v0.1.5.tar.gz && \
- cd cpp-cmakefiles-0.1.5 && \
+RUN wget -q https://github.com/googleapis/cpp-cmakefiles/archiv... | chore: upgrade to cpp-cmakefiles v0.4.1 (googleapis/google-cloud-cpp-common#164) | null | googleapis/google-cloud-cpp | Apache License 2.0 | Shell |
@@ -13,8 +13,8 @@ public typealias NoncePolicy = BlockNumber
/// Policies for resolving values like:
/// - gas required for transaction execution
/// - gas price
-/// - maximum fee per gas
-/// - maximum priority fee per gas
+/// - maximum fee per gas (see [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559))
+/// - max... | chore: added links to for max fee and max priority fee per gas | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -37,9 +37,8 @@ git clone https://github.com/argoproj/argo-cd.git
cd argo-cd
git checkout master
-minor_version=$(sed -E 's/\.[0-9]+$//g' VERSION)
-patch_num=$(git tag -l | grep "v$minor_version." | grep -o "[[:digit:]]*$" | sort -g | tail -n 1)
-version="v$minor_version.$patch_num"
+version=$(git tag -l | sort -g | ... | chore: Ignore VERSION file for Snyk scan | null | argoproj/argo-cd | Apache License 2.0 | Shell |
@@ -35,100 +35,87 @@ var TransferServerUsageSchema = []*schema.UsageItem{
// PopulateUsage parses the u schema.UsageData into the TransferServer.
// It uses the `infracost_usage` struct tags to populate data into the TransferServer.
-func (t *TransferServer) PopulateUsage(u *schema.UsageData) {
- resources.PopulateArgs... | chore(aws): refactor aws_transfer_server resource cost components | null | infracost/infracost | Apache License 2.0 | Go |
<div class="absolute inset-y-0 left-0 pl-2.5 flex items-center pointer-events-none
{{ $hasError ? 'text-red-500' : 'text-gray-400' }}">
@if ($icon)
- <x-wireui::icon :name="$icon" class="h-5 w-5" />
+ <x-icon :name="$icon" class="h-5 w-5" />
@elseif($prefix)
<span class="pl-1 flex items-center self-center">
{{ $prefix ... | chore: change input icon component | null | wireui/wireui | MIT License | PHP |
@@ -33,7 +33,7 @@ default_finalize_build () {
export PSH_URL_REPLACER_TARGET_FILE=$APP_VOLUME/sitemap.xml
node $PLATFORM_APP_DIR/node_modules/@bodiless/psh/lib/psh-url-replacer.js build
# ssi preparation
- export SSI_CONF=ssi/ssi_conf.json
+ export SSI_CONF_PATH=ssi/ssi_conf.json
export DOCUMENT_ROOT=$PLATFORM_DOCUMENT... | chore(platform.sh): Unify variable name for SSI configuration path | null | johnsonandjohnson/bodiless-js | Apache License 2.0 | Shell |
@@ -277,6 +277,14 @@ describe('toList', () => {
expect(food.byId(42)).toBeUndefined();
});
+ test('toList with single number N initializes list with length N', () => {
+ expect(toList(5)).toHaveLength(5);
+ expect(toList(5).first()).toBeUndefined();
+
+ expect(toList([5])).toHaveLength(5);
+ expect(toList([5]).first())... | chore(test): added test to record toList length behavior | null | thisisagile/easy | MIT License | TypeScript |
@@ -121,5 +121,3 @@ export function getTypography(size: TypographySize): string | undefined {
export function getAnimation(index: AnimationTiming): string | undefined {
return get(animationTokens, `timing[${index}].value`)
}
-
-// ...
| chore(DesignTokens): Clean up redundant comment | null | royal-navy/design-system | Apache License 2.0 | TypeScript |
@@ -14,8 +14,8 @@ from frappe.model.workflow import set_workflow_state_on_action
from frappe.utils.global_search import update_global_search
from frappe.integrations.doctype.webhook import run_webhooks
from frappe.desk.form.document_follow import follow_document
-from frappe.desk.utils import slug
from frappe.core.doct... | chore: Use get_absolute_url to doc.get_url | null | frappe/frappe | MIT License | Python |
@@ -435,7 +435,7 @@ func (aof *AppendableFile) readAt(bs []byte, off int64) (n int, err error) {
}
if off > aof.offset() {
- return 0, fmt.Errorf("%w: invalid offset", ErrIllegalArguments)
+ return 0, io.EOF
}
// boff is the offset to employ when reading from the buffer
| chore(embedded/appendable): return io.EOF when offset is out of range | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -24,7 +24,7 @@ use ioxd_querier::{create_querier_server_type, QuerierServerTypeArgs};
use ioxd_router::create_router_server_type;
use object_store::DynObjectStore;
use observability_deps::tracing::*;
-use std::{path::PathBuf, sync::Arc};
+use std::sync::Arc;
use thiserror::Error;
use trace_exporters::TracingConfig;
... | chore: Allow running all-in-one with external object store | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -54,7 +54,10 @@ internal final class WrapperViewController: UIViewController {
private func updateTopScrollViewInsets(keyboardHeight: CGFloat,
preferredContentSize: CGSize,
finalHeight: CGFloat) {
- guard keyboardHeight > 0 else { return }
+ guard keyboardHeight > 0 else {
+ topMostScrollView?.contentInset.bottom = ... | chore: reset the scroll view bottom inset in case keyboard is hidden | null | adyen/adyen-ios | MIT License | Swift |
import eu.cloudnetservice.cloudnet.node.command.annotation.Description;
import eu.cloudnetservice.cloudnet.node.command.source.CommandSource;
import java.lang.management.ManagementFactory;
-import java.util.Arrays;
+import java.util.List;
@CommandAlias("info")
@CommandPermission("cloudnet.command.me")
@Description("Dis... | chore(node): Add updater information to "me" command | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -6,6 +6,7 @@ const http = require('http')
const os = require('os')
const path = require('path')
const { table } = require('table')
+const { WritableStream } = require('stream/web')
const { Pool, Client, fetch, Agent, setGlobalDispatcher } = require('..')
| chore: fix import readablestream | null | nodejs/undici | MIT License | JavaScript |
@@ -36,7 +36,7 @@ enum MovieQuery {
year,
likesAsc,
likesDesc,
- score,
+ rated,
sciFi,
fantasy,
}
@@ -58,8 +58,8 @@ extension on Query<Movie> {
case MovieQuery.year:
return orderBy('year', descending: true);
- case MovieQuery.score:
- return orderBy('score', descending: true);
+ case MovieQuery.rated:
+ return orderBy... | chore(cloud_firestore): Fix Firestore example. Replaced "score" property with correct "rating" property | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
-package com.globo.clappr.playback
+package io.clappr.player.playback
import android.media.MediaPlayer
import android.os.Bundle
@@ -8,7 +8,6 @@ import io.clappr.player.base.Callback
import io.clappr.player.base.Event
import io.clappr.player.base.Options
import io.clappr.player.components.Playback
-import io.clappr.play... | chore(release): fix warnings | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -55,6 +55,7 @@ import org.hisp.dhis.period.PeriodType;
import org.hisp.dhis.test.integration.IntegrationTestBase;
import org.hisp.dhis.user.User;
import org.hisp.dhis.user.UserService;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autow... | chore: disable failing test while we investigate, since it blocks other unrelated work | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -61,31 +61,43 @@ class ActivityTrackerTests: XCTestCase {
}
func testApplicationStateChanged_shouldReportProperEvent() {
- NotificationCenter.default.post(Notification(name: Self.applicationDidMoveToBackgroundNotification))
- XCTAssertEqual(stateMachine.processedEvent, .applicationDidMoveToBackground)
+ stateMachine... | chore(Analytics): Fixing flaky ActivityTracker unit tests | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -112,7 +112,7 @@ def format_map_basic(m: Beatmap) -> dict[str, object]:
@router.get("/search")
async def api_search(
- search: Optional[str] = Query(None, alias="src"),
+ search: Optional[str] = Query(None, alias="q"),
db_conn: databases.core.Connection = Depends(acquire_db_conn),
):
"""Search for users on the serve... | chore: rename "src" parameter to "q" | null | osuakatsuki/bancho.py | MIT License | Python |
@@ -516,7 +516,9 @@ namespace Altinn.App.Services.Implementation
string fileName = null;
string app = instance.AppId.Split("/")[1];
- TextResourceElement titleText = textResource.Resources.Find(textResourceElement => textResourceElement.Id.Equals("ServiceName"));
+ TextResourceElement titleText =
+ textResource.Resourc... | chore: use new app name for pdf | null | altinn/altinn-studio | BSD 3-Clause New or Revised License | C# |
@@ -49,15 +49,8 @@ function hydrateBlocks() {
* @returns void
*/
function insertNewBlocks(html: string) {
- /**
- * TODO: We need to make the call to get new posts idempotent. As such, this
- * action needs to first remove any existing posts with ids the same as the
- * batch beforing inserting
- */
const latestBlock =... | chore: Removing this comment as it's no longer needed | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
@@ -47,8 +47,8 @@ fi
# Always use install. If that version is installed, it's the same as use and if
# it's not installed, you won't spend half an hour trying to figure out what
# exit code 3 is.
-nvm install 8.15.0
-npm install -g npm@6.4.1
+nvm install lts/carbon
+npm install -g npm@6
echo "##########################... | chore(run.sh): use LTS node, not a specific version | null | webex/webex-js-sdk | MIT License | Shell |
@@ -2,7 +2,7 @@ import FirebaseFirestore
import Firebase
public class FirestoreShardCounter {
- private let firestore: Firestore
+ private let db: Firestore
private let shardId = UUID().uuidString
private var shards = [String: Double]()
private let collectionId = "_counter_shards_"
@@ -13,45 +13,51 @@ public class Fire... | chore(firestore-counter): update as per PR | null | firebase/extensions | Apache License 2.0 | Swift |
@@ -269,7 +269,7 @@ module.exports = {
name: "Actions"
}),
generateSection({
- componentNames: ["Field", "Select", "TextInput", "QuantityInput", "PhoneNumberInput", "ErrorsBlock", "AddressForm"],
+ componentNames: ["AddressForm", "ErrorsBlock", "Field", "PhoneNumberInput", "QuantityInput", "Select", "TextInput"],
conte... | chore: alphabetize form table of content | null | reactioncommerce/reaction-component-library | Apache License 2.0 | JavaScript |
@@ -22,7 +22,7 @@ cd $TMPDIR
PUPPETEER_PRODUCT=firefox npm install --loglevel silent "${tarball}"
node --eval="require('puppeteer')"
rm "${tarball}"
-ls $TMPDIR/node_modules/puppeteer/.local-firefox/linux-79.0a1/firefox/firefox
+ls $TMPDIR/node_modules/puppeteer/.local-firefox/
# Again for puppeteer-core
cd $ROOTDIR
| chore: fix Firefox install checker | null | puppeteer/puppeteer | Apache License 2.0 | Shell |
@@ -619,7 +619,7 @@ pub async fn verify_provider_async<F: RequestFilterExecutor, S: ProviderStateExe
if !pending_errors.is_empty() {
println!("\nPending Failures:\n");
print_errors(&pending_errors);
- println!("\nThere were {} non-fatal pact failures on pending pacts or interactions (see docs.pact.io/pending for more)\... | chore: cleanup pedning output | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -24,14 +24,12 @@ const removePrefix = query => query.replace('@media ', '')
const createRenderer = () => {
const plugins = [
- ...webPreset,
- embedded(),
unit('px'),
placeholderPrefixer(),
friendlyPsuedo(),
...webPreset,
- namedMediaQuery(mediaQueries),
embedded(),
+ namedMediaQuery(mediaQueries),
]
const enhancers... | chore: Minor sync | null | robinweser/fela | MIT License | JavaScript |
@@ -25,11 +25,18 @@ package com.power.doc.utils;
import com.power.common.util.CollectionUtil;
import com.power.common.util.StringUtil;
import com.power.doc.constants.DocAnnotationConstants;
-import com.power.doc.constants.DocGlobalConstants;
import com.power.doc.constants.DocValidatorAnnotationEnum;
import com.power.do... | chore: merge fix 190 | null | smart-doc-group/smart-doc | Apache License 2.0 | Java |
@@ -231,13 +231,6 @@ export class ChromeTargetManager extends EventEmitter implements TargetManager {
const target = this.#targetFactory(event.targetInfo, undefined);
this.#attachedTargetsByTargetId.set(event.targetInfo.targetId, target);
}
-
- if (event.targetInfo.type === 'shared_worker') {
- // Special case (https:/... | chore: remove special handling for shared_worker | null | puppeteer/puppeteer | Apache License 2.0 | TypeScript |
@@ -13,7 +13,7 @@ status=0
check_looker
while [ $status -ne 200 ];
do
- RETRY_MSG="after $ATTEMPTS attempts: $MAX_RETRIES retries remaining."
+ RETRY_MSG="after $ATTEMPTS attempts: $(expr $MAX_RETRIES - $ATTEMPTS) retries remaining."
if [ $ATTEMPTS -ge $MAX_RETRIES ];
then
echo 'Looker took too long to start'
| chore: fix retries remaining message in wait_for_looker.sh | null | looker-open-source/sdk-codegen | MIT License | Shell |
@@ -13,17 +13,25 @@ import (
var (
discoveryManifest types.DiscoveryManifest = types.DiscoveryManifest{}
recipeCache []types.OpenInstallationRecipe = []types.OpenInstallationRecipe{}
+ repository *RecipeRepository = NewRecipeRepository(recipeLoader)
)
func Test_ShouldFindAll_Empty(t *testing.T) {
- repo := NewRecipeRep... | chore(refactor): adding test | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -58,11 +58,11 @@ function showColumn(codes, ch) {
var result = '';
var codeObject = codes[1];
var sliced = codeObject.code.slice(0, codeObject.col);
- var widthOfString = widthOfString(sliced);
- if (widthOfString <= 0) {
+ var width = widthOfString(sliced);
+ if (width <= 0) {
return "";
}
- var i = widthOfString -... | chore(pretty-error): rename variable name | null | textlint/textlint | MIT License | JavaScript |
@@ -24,7 +24,7 @@ build_nodes() {
--locked
cp \
$root_dir/target/release/circuit-collator \
- $root_dir/devnet/bin/circuit-collator
+ $root_dir/devnet/bin/devnet-circuit-collator
}
keygen() {
@@ -55,7 +55,7 @@ build_para_chain_specs() {
circuitb1_adrs=$(grep -oP '(?<=\(SS58\):\s)[^\n]+' $dir/specs/circuitb1.key)
circui... | chore: only kill devnet collators | null | t3rn/t3rn | Apache License 2.0 | Shell |
@@ -61,7 +61,8 @@ module.exports = {
'jest/no-jasmine-globals': 'warn',
'no-empty': 'warn',
'prefer-const': ['error', { destructuring: 'all' }],
- 'simple-import-sort/sort': 'error',
+ 'simple-import-sort/imports': 'error',
+ 'simple-import-sort/exports': 'error',
// import rules
'node/no-missing-import': [
'error',
| chore: change simple-import-sort/sort to simple-import-sort/imports | null | hubtype/botonic | MIT License | JavaScript |
@@ -114,9 +114,9 @@ C) Look for default key file "secret_key.txt"
d) Create "secret_key.txt" if it does not exist
"""
-if os.getenv("INVENTREE_SECRET_KEY"):
+if secret_key := os.getenv("INVENTREE_SECRET_KEY"):
# Secret key passed in directly
- SECRET_KEY = os.getenv("INVENTREE_SECRET_KEY").strip() # pragma: no cover
+ ... | chore: don't confuse type checker by fetching after the if | null | inventree/inventree | MIT License | Python |
@@ -1081,13 +1081,13 @@ func assertResourceActions(t *testing.T, appName string, successful bool) {
Name: &appName, ResourceName: "guestbook-ui", Namespace: DeploymentNamespace(), Version: "v1", Group: "apps", Kind: "Deployment"})
assertError(err, expectedError)
- _, err = cdClient.DeleteResource(context.Background(), ... | chore: fix flaky TestPermissions e2e test | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -29,7 +29,7 @@ open class AVFoundationPlayback: Playback {
fileprivate var playerLayer: AVPlayerLayer?
fileprivate var playerStatus: AVPlayerItemStatus = .unknown
- internal var currentState = PlaybackState.idle {
+ var currentState = PlaybackState.idle {
didSet {
switch currentState {
case .buffering:
| chore: remove unnecessary internal keyword | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.