Skip to content

Commit

Permalink
Merge branch 'main' into more-inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
cquiroz committed Nov 29, 2023
2 parents 0907f3c + 36cb5d3 commit 6d6929a
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,15 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
run: echo $PGP_SECRET | base64 -di | gpg --import
run: echo $PGP_SECRET | base64 -d -i - | gpg --import

- name: Import signing key and strip passphrase
if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE != ''
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
run: |
echo "$PGP_SECRET" | base64 -di > /tmp/signing-key.gpg
echo "$PGP_SECRET" | base64 -d -i - > /tmp/signing-key.gpg
echo "$PGP_PASSPHRASE" | gpg --pinentry-mode loopback --passphrase-fd 0 --import /tmp/signing-key.gpg
(echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1)
Expand Down
3 changes: 2 additions & 1 deletion .scalafmt-common.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
# this file by hand! Instead, if you wish to make changes, you should
# make a PR to sbt-lucuma.

version = "3.7.12"
version = "3.7.14"
style = default

runner.dialect = scala3
runner.optimizer.maxVisitsPerToken = 20000 # Avoids SearchStateExploded exceptions

maxColumn = 100
project.git = true
Expand Down
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.14"
version = "3.7.17"
include ".scalafmt-common.conf"
runner.dialect = scala3
fileOverride {
Expand Down
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
val circeVersion = "0.14.6"
val disciplineMUnitVersion = "1.0.9"
val fs2Version = "3.9.2"
val kittensVersion = "3.0.0"
val fs2Version = "3.9.3"
val kittensVersion = "3.1.0"
val munitVersion = "0.7.29"
val munitCatsEffectVersion = "1.0.7"
val lucumaCoreVersion = "0.88.0"
val lucumaODBSchema = "0.6.1"
val lucumaCoreVersion = "0.88.2"
val lucumaODBSchema = "0.7.0"

ThisBuild / tlBaseVersion := "0.63"
ThisBuild / tlBaseVersion := "0.64"
ThisBuild / tlCiReleaseBranches := Seq("main")
ThisBuild / crossScalaVersions := Seq("3.3.1")
ThisBuild / tlVersionIntroduced := Map("3" -> "0.29.0")
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1331,6 +1331,9 @@ type GmosNorthStepRecord implements StepRecord {
"""
stepConfig: StepConfig!

"""The observe class of this step."""
observeClass: ObserveClass!

"""Step QA state based on a combination of dataset QA states."""
stepQaState: StepQaState

Expand Down Expand Up @@ -1733,6 +1736,9 @@ type GmosSouthStepRecord implements StepRecord {
"""
stepConfig: StepConfig!

"""The observe class of this step."""
observeClass: ObserveClass!

"""Step QA state based on a combination of dataset QA states."""
stepQaState: StepQaState

Expand Down Expand Up @@ -2479,6 +2485,7 @@ input RecordGmosNorthStepInput {
atomId: AtomId!
instrument: GmosNorthDynamicInput!
stepConfig: StepConfigInput!
observeClass: ObserveClass!
}

"""The result of recording a GmosNorth step."""
Expand All @@ -2504,6 +2511,7 @@ input RecordGmosSouthStepInput {
atomId: AtomId!
instrument: GmosSouthDynamicInput!
stepConfig: StepConfigInput!
observeClass: ObserveClass!
}

"""The result of recording a GmosSouth step."""
Expand Down Expand Up @@ -2864,7 +2872,9 @@ input TargetEditInput {
}

input GroupEditInput {
"""Group ID"""
"""
Group ID, or Null to watch top-level group(s), or omit to watch all groups.
"""
groupId: GroupId

"""Program ID"""
Expand Down Expand Up @@ -2903,8 +2913,11 @@ type GroupEdit {
"""Type of edit"""
editType: EditType!

"""Edited object"""
value: Group!
"""Assocated program"""
program: Program!

"""Edited group, or null if it's the top-level group."""
value: Group
id: Long! @deprecated(reason: "id is no longer computed; a constant value is returned")
}

Expand Down Expand Up @@ -3786,6 +3799,9 @@ type DatasetEvent implements ExecutionEvent {
"""Event type."""
eventType: ExecutionEventType!

"""The associated step."""
step: StepRecord!

"""Dataset execution stage."""
datasetStage: DatasetStage!

Expand Down Expand Up @@ -3964,10 +3980,16 @@ type Exchange implements ProposalClass {
type Execution {
"""
Calculations dependent on the sequence, such as planned time and offsets.
If a sequence cannot be generated for this observation, `null` is returned
along with warning messages.
"""
digest: ExecutionDigest!
digest: ExecutionDigest

"""Full execution config, including acquisition and science sequences."""
"""
Full execution config, including acquisition and science sequences. If a
sequence cannot be generated for this observation, `null` is returned along
with warning messages.
"""
config(
"""
The maximum size (number of atoms) of the `possibleFuture` in the sequences.
Expand All @@ -3978,7 +4000,7 @@ type Execution {
projected atom count is available in the execution digest.
"""
futureLimit: NonNegInt = 25
): ExecutionConfig!
): ExecutionConfig

"""
Executed (or at least partially executed) atom records, across all visits.
Expand Down Expand Up @@ -5002,6 +5024,21 @@ type CreateGroupResult {
group: Group!
}

"""
A period of time showing which position angles have guide stars available during the period.
The position angles are tested every 10 degrees.
"""
type GuideAvailabilityPeriod {
"""The start time of the availability period."""
start: Timestamp!

"""Then end time of the availability period."""
end: Timestamp!

"""The position angles available during this period."""
posAngles: [Angle!]!
}

"""The guide star(s) and related information"""
type GuideEnvironment {
"""The position angle"""
Expand Down Expand Up @@ -6643,6 +6680,9 @@ interface StepRecord {
"""
stepConfig: StepConfig!

"""The observe class of this step."""
observeClass: ObserveClass!

"""Step QA state based on a combination of dataset QA states."""
stepQaState: StepQaState

Expand Down Expand Up @@ -6800,6 +6840,19 @@ type TargetEnvironment {
observationTime: Timestamp!
): [GuideEnvironment!]!

"""
Availability of guide stars during a specified time range.
There can be multiple `GuideAvailabilityPeriod`s returned if availability changes over the time
range. In this case, the `end` of one period will be the same as the `start` of the next period.
"""
guideAvailability(
"""The starting time of the time range of interest."""
start: Timestamp!

"""The ending time of the time range of interest."""
end: Timestamp!
): [GuideAvailabilityPeriod!]!

"""When set, overrides the default base position of the target group"""
explicitBase: Coordinates
}
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("edu.gemini" % "sbt-lucuma-lib" % "0.11.8")
addSbtPlugin("edu.gemini" % "sbt-clue" % "0.33.0")
addSbtPlugin("edu.gemini" % "sbt-lucuma-lib" % "0.11.9")
addSbtPlugin("edu.gemini" % "sbt-clue" % "0.34.1")

0 comments on commit 6d6929a

Please sign in to comment.