Good First Issues in Scala
Curated beginner tickets strictly indexed from verified Tier S, A, and B Scala repositories. Every listed issue has live maintainer telemetry confirming active review turnaround and high external PR landing rates.
Tickets are capped at 2–3 per repository to prevent farmable spam. If maintainers become inactive, their tickets are pruned automatically.
Snipe fresh Scala beginner issues
Beginner tickets in welcoming repos get claimed quickly. Get pinged the minute a maintainer opens a new issue.
Get this week's top welcoming repos + fresh Good First Issues for Scala
Free weekly email, scoped to Scala. No account needed - confirm once and unsubscribe anytime.
Live Available Issues (22)
Get structured logs with request IDs, an access log, health checks, metrics, plus OpenTelemetry on requests, queries, and live (UI) events.
Problem On Scala 3, the value-enum macro behind findValues (IntEnum, StringEnum, LongEnum, …) checks for -Yretain-trees by casting Quotes to the compiler's internal QuotesImpl and reading the setting from the compiler Context: enumeratum/macros/src/main/scala-3/enumeratum/ValueEnumMacros.scala Lines 121 to 127 in d85dd13 val ctx = q match { case quotesImpl: scala.quoted.runtime.impl.QuotesImpl => quotesImpl.ctx case other => report.errorAndAbort(s"[${other}] was not the expected class") } val yRetainTrees = ctx.settings.YretainTrees.valueIn(ctx.settingsState) val ctx = q match { case quotesImpl: scala.quoted.runtime.i
Small, independent cleanups. Each item is a good standalone PR. Scope Bulk response items: CreateBulkResponse, DeleteBulkResponse, IndexBulkResponse and UpdateBulkResponse are identical; consider a single type with an operation field. _version is decoded as Option[Int] but should be Long. Enum encoding: several types are encoded via toString.toLowerCase (ScoreMode, BoostMode, MultiValueMode, field value factor modifier, decay function type, Script.lang, ...). Renaming a case object would silently change the JSON sent to Elasticsearch; map each value to its Elasticsearch string explicitly. Index name / pattern validation duplicated per Scala version: the validation logic is copied between scala-2 (IndexNameValidation, IndexPatternValidation) and scala-3 (IndexNameValidator, IndexPatternValidator). Move the shared isValid logic to common sources and keep only the newtype wiring version-specific. File naming: query/ElasticIntervalRule.scala contains the IntervalRule ADT, while Elasti
Support two small queries: match_none parent_id with type, id and ignore_unmapped Good first issue: both follow the existing matchAll and hasParent queries closely. Tips Define the query in zio.elasticsearch.query.Queries and the public method in zio.elasticsearch.ElasticQuery, with scaladoc and website documentation Provide both type-safe (Field) and String field variants, consistent with existing queries, and respect the nested path Reuse traits from zio.elasticsearch.query.options (HasBoost, HasQueryName, HasAnalyzer, ...) Provide unit tests in zio.elasticsearch.ElasticQuerySpec and integration tests in the it module
Scala 3 adoption exceeds Scala 2.13 among otel4s users, based on download numbers. We can use Scala 3 as the default for examples and setup instructions. Update the docs to: Use Scala 3 syntax in code examples Default to Scala 3 in build configuration and getting-started instructions Include Scala 2.13 alternatives where the differences matter
Follow on to #29, which lists everything ported and released in sconfig 2.1.0, through lightbend/config #846. This issue should remain open until it is complete and released, or its remaining items move to the next list, as a reminder to periodically review commits and port them across. If you find a new PR/commit, please open a new issue to handle that commit. The first lightbend/config commit after the list in that issue is 8a928478, lightbend/config#847 (docs, skipped). Skip a PR if it only changes docs, versions, or the build and needs no port. GitHub numbers issues and PRs from one sequence, so some numbers are issues, not PRs. PR numbers are assigned when a PR is opened, not when it is merged. A PR with a lower number than the last one reviewed may be merged later, so find new work by merge date, not by PR number. List each PR by its lightbend/config number, in ascending order, with a link to the sconfig PR that ports it. A list may stay open across releases while it is small, l
I'm typically a opponent to default versions. The main reason is the fact, that those always run out of date, no matter how often you check, while raising the maintenance burden and raising the count of technically unneeded code updates, vcs commits and releases to bump these. To make Mill more convenient, we started to provide default versions for many modules. But it also raised maintenance burden. Being the only enduring maintainer of Mill, I'd really get rid of these versions and the version bumps. Even if these are partly automated via Scala Steward, our flaky CI setup makes it non-trivial to review and merge them. Our large PR backlog speaks for itself. I'd like to find some alternative way of assisting users with choosing good tool versions. Instead of maintaining an up-to-date tool version, I think we could just provide the minimal or ad-hoc version of the tool we used to build against, and complement it with a task that regularly checks and reports possible updates in the user
Our CI/CD pipeline didn't run correctly for a while, until #453. Some watch-tests don't succeed and without a proper Windows system, I can't debug it nor find the offending change. Hence, I will disable some tests under windows. This issue is a tracker to re-enable it again.
Context Conversation in modules/core/src/main/scala/org/llm4s/llmconnect/model/Conversation.scala is the type every LLMClient.complete call takes. Three of its public methods are never called by any test: addMessage(message) - appends one message and returns a new Conversation, leaving the original unchanged; addMessages(newMessages) - appends several, in order; filterByRole(role) - the messages with a given MessageRole (System, User, Assistant, Tool). ToolMessage.findToolCallName(contextMessages) in modules/core/src/main/scala/org/llm4s/llmconnect/model/Message.scala is untested too: it looks through every AssistantMessage in contextMessages for the ToolCall whose id equals the tool message's toolCallId, returns that call's name, and returns "unknown-tool" when none matches (for example after context pruning removed the assistant turn). ConversationConvenienceMethodsSpec (modules/core/src/test/scala/org/llm4s/llmconnect/model/ConversationConvenienceMethodsSpec.scala) already covers
Context Handoffs let one agent transfer a conversation to a specialist (modules/agent/src/main/scala/org/llm4s/agent/Handoff.scala, guide docs/guide/agents/handoffs.md). The model is offered each handoff as a tool named handoff_to_<id> with a required reason argument; calling it moves the conversation to the target agent, which stays active for the next turn until it hands off again. The three handoff samples in modules/samples/src/main/scala/org/llm4s/samples/handoff/ (SimpleTriageHandoffExample, MathSpecialistHandoffExample, ContextPreservationExample) all load a real provider with Llm4sConfig.defaultProvider(), so nobody can run them, or see what a handoff does, without a configured model. Whether a handoff happens also depends on what that model decides, so the output varies between runs. The cookbook already runs every recipe offline with a ScriptedClient (modules/samples/src/main/scala/org/llm4s/samples/cookbook/Recipe.scala), but no recipe uses handoffs. Task Add OfflineHandoffE
Context Three small public value types of the agent harness have setters and codecs that no test calls directly: TodoStatus, Todo and TodoList in modules/agent/src/main/scala/org/llm4s/agent/harness/Todo.scala. TodoStatus.wire gives pending, in_progress and done, TodoStatus.fromWire reads them back, and the upickle reader rejects any other name with unknown todo status '<name>'. Todo.withContent / withStatus and TodoList.withTodos / withNextId are never called in a test, nor is TodoStatus.fromWire. Skill in modules/agent/src/main/scala/org/llm4s/agent/harness/Skill.scala: withName, withDescription, withPath, withAllowedTools, both withLicense overloads and withMetadata. SkillFrontmatterSpec tests parsing a SKILL.md, not these setters. StoreLimits in modules/agent/src/main/scala/org/llm4s/agent/harness/LongTermStore.scala: apply checks its bounds with require, and withMaxItemBytes, withMaxItems and withMaxBytes rebuild the value. StoreBackendsSpec checks one bound of apply; the setters
What is the problem the feature request solves? The shuffle benches in native/shuffle/benches do not cover several shapes that the performance review in #5905 flagged, so changes to those paths cannot show a win or catch a regression. What exists today: shuffle_writer.rs (codecs None/LZ4/Snappy/Zstd, a high-partition group, partitioning placement, schema encoding, IPC context), shuffle_reader.rs (codecs none and lz4, dictionary blocks, schema parse) and row_columnar.rs (primitive, struct, list and map conversion). Describe the potential solution Add the missing cases, each as its own small PR: Writer: end-to-end wide schema (100+ columns); List, Struct and Map through interleave; a spill run under a memory limit; a compressed high-partition case (the existing high-partition group uses codec None). Reader: zstd and snappy blocks; List and Map blocks; a cached-schema variant against decode_block_uncached for nested schemas. Row to Arrow (row_columnar.rs): strings (plain and dictionary-e
What is the problem the feature request solves? native/spark-expr/src/hash_funcs/utils.rs hand-expands the same null-aware hashing loop in several places: Inside hash_list_with_primitive_elements!, the Utf8 and Binary arms repeat the null/no-null double loop that hash_list_primitive! already provides, once for the offsets variant (L334-L388, L389-L426) and once for the fixed-size variant (L433-L485, L486-L521). The Map arm (L1110-L1219) repeats a null-aware loop four times, for (Utf8, Int32), (Int32, Utf8), (Utf8, Utf8) and (Int32, Int32), differing only in the downcast type and .to_le_bytes() on the integer side. The copies are consistent today, but any change to null handling in hashing has to be made in eight or more places, and hash results must match Spark exactly. Describe the potential solution Call hash_list_primitive! for Utf8 and Binary elements (with an identity transform) in both the offsets and fixed-size variants, and delete the hand-written loops. For the Map arm, add
What is the problem the feature request solves? The same match that turns a (ColumnarValue, ColumnarValue) pair into two equal-length ArrayRefs is pasted into several math functions in native/spark-expr/src/math_funcs/: checked_arithmetic.rs checked_arithmetic_internal (L348-L359), plus a similar block at L186-L195 in the same file div.rs spark_decimal_div_internal (L87-L102) modulo_expr.rs checked_float_modulo (L91-L102) wide_decimal_binary_expr.rs WideDecimalBinaryExpr::evaluate (L196-L212) The copies are identical apart from variable names, so there is no drift today, but they all need to change together if scalar broadcasting behaviour changes. Describe the potential solution Replace the copies with ColumnarValue::values_to_arrays(&[left, right]) from DataFusion, or, if the scalar-scalar length-1 behaviour needs to stay explicit, a single broadcast_pair(l, r) -> Result<(ArrayRef, ArrayRef)> helper in math_funcs, and call it from each site. Additional context This is small and a g
Several implemented aggregations are missing parameters documented in the Elasticsearch aggregations reference. Pick an aggregation (or a single parameter), leave a comment, and open a PR referencing this issue. Metrics aggregations avg, max, min, sum, stats, extendedStats: format, script cardinality: precision_threshold, script percentiles: keyed, tdigest.compression, hdr.number_of_significant_value_digits, script percentileRanks: keyed, tdigest.compression, hdr.number_of_significant_value_digits, script valueCount: script weightedAvg: format, value_type, script for value and weight Bucket aggregations terms: missing, min_doc_count, shard_min_doc_count, shard_size, include, exclude, show_term_doc_count_error, execution_hint, collect_mode, value_type, script missing: withSubAgg Pipeline aggregations bucketSelector: gap_policy bucketSort: gap_policy Common missing is typed as Double (HasMissing), but Elasticsearch accepts any value matching the field type (e.g. strings
spark-3.4 is the lowest supported profile, so testWithMinSparkVersion(name, "3.4") is just test(name) with extra indirection. 57 call sites across 14 files, mostly in ScalarFunctionsValidateSuite, DeltaSuite and JsonFunctionsValidateSuite. testWithRangeSparkVersion and ignoreWithSpecifiedSparkVersion in GlutenQueryTest have no callers either. Gates on 3.5 / 4.0 / 4.1 are live and should stay. No behaviour change — the point is that every remaining version gate is then a real one. Best done after #12981. Follow-up to #12807.
eg: this triggers no alert afaik we have such alerts for deployments/stateful sets but I think jobs are not covered by them
Labels: documentation, bug, good first issue Difficulty: easy — a five-minute fix and a good first contribution. Problem The pin multiplexer table in docs/source/nonmetals/elemrv_h.rst (around line 184) disagrees with the RTL from pin 3 onwards. Every entry from there down is shifted by one. The RTL is authoritative — addPinmuxOption in hardware/scala/elemrv_h/ElemRV.scala:95-106: Pin Function 0 Function 1 Docs currently say 0-2 gpio0_0/pwm0_out_0, gpio0_1/pio0_0, gpio0_2/pio0_1 correct 3 uart0_tx gpio0_3 gpio0_3 / pio0_2 4 uart0_rx gpio0_4 uart0_tx / gpio0_4 5 uart0_cts gpio0_5 uart0_rx / gpio0_5 6 uart0_rts gpio0_6 uart0_cts / gpio0_6 7 gpio0_7 pwm0_comp_0 uart0_rts / gpio0_7 8 gpio0_8 i2c0_scl gpio0_8 / pwm0_comp_0 9 gpio0_9 i2c0_sda gpio0_9 / i2c0_scl 10 gpio0_10 i2c0_interrupt_0 gpio0_10 / i2c0_sda 11 gpio0_11 pio0_2 gpio0_11 / i2c0_interrupt_0 The board's own pinctrl definitions agree with the RTL, so it is only the table that is wrong — but it
Labels: documentation, good first issue Difficulty: easy — but only useful if done on a genuinely clean machine. Problem Nobody has confirmed that a newcomer can get from git clone to a running SoC without prior knowledge of the project. The flow involves Google's repo for the manifest, a podman container, task as the entry point, and a Renode emulation — each fine on its own, unusual in combination, and none of it obvious. The most valuable thing this project can offer a curious visitor is a running RISC-V SoC with a blinking LED in fifteen minutes, no FPGA required. That path exists — task baremetal:compile then task sim:emulate — but it is not written down as a single verified sequence, and it is not known whether it works from scratch. What to do On a machine (or fresh VM/container) with nothing installed: Follow the current README.rst and docs/source/installation.rst literally — no fixing things from memory, no steps from experience. Write down every point where you had
The following code compiles, but I'm not confident it should: def exVeritateQuodlibet[A](a: Any): A = a match {} This is likely an artefact of #1219. If I had to guess, it's an interplay between the Core generation for an empty match effekt/effekt/shared/src/main/scala/effekt/core/Transformer.scala Lines 381 to 385 in 34bbb3e // Empty match (matching on Nothing) case source.Match(List(sc), Nil, None, _) => val scrutinee: ValueVar = Context.bind(transformAsExpr(sc)) val tpe = transform(Context.inferredTypeOf(tree)) core.Match(scrutinee, tpe, Nil, None) and Any being declared as an empty type effekt/effekt/shared/src/main/scala/effekt/symbols/builtins.scala Lines 44 to 45
Problem Statement Currently kyo-sql-postgres does not support kerberos authentication for postgres Proposed Solution Add ability to configure and use kerberos authentication for postgres. This feature is important to us on the JVM platform. Alternative Solutions No response Current Workaround No response Additional Context currently using doobie with postgres jdbc driver. example configuration: //krb5.conf example [libdefaults] default_realm = YOURDOMAIN.COM dns_lookup_realm = false dns_lookup_kdc = false [realms] YOURDOMAIN.COM = { kdc = ://yourdomain.com admin_server = ://yourdomain.com } //etc //jaas.conf example pgjdbc { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/path/to/your.keytab" principal="[email protected]" storeKey=true useTicketCache=false; }; pass jvm flags -Djava.security.auth.login.config=/path/to/jaas.conf -Djava.security.krb5.conf=/path/to/krb5.conf specify jaasApplicat
Motivation Recently Scaladex has been receiving unusually many requests, which has caused unresponsiveness. These requests may come from legitimate users or AI assistants, but it may also be malicious scraper bots. Either way, there is a need to distribute server's resources fairly and evenly. Identified Obstacles The public API doesn't seem to have any authentication or rate limiting. Therefore, a carelessly written script can flood the server with requests completely by accident. Implementation Guideline I propose to implement rate limiting for the public API. An optional authentication by Github token may be worth considering. Expectations The rate limit would make accidental flooding very unlikely, and purposeful DoS attacks harder to orchestrate. Authenticated users could enjoy an increased rate limit; potentially it would be possible to identify the users which abuse the server.
Welcoming Scala Repositories (12)
Splice repository
sbt, the interactive build tool
Agentic and LLM Programming in Scala
A language with lexical effect handlers and lightweight effect polymorphism
Gluten is a middle layer responsible for offloading JVM-based SQL engines' execution to native engines.
An open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs